Final answer:
Option 2: dd if=/home/sam/image.img of=/dev/sdb2 bs=4096 conv=notrunc,noerror
Step-by-step explanation:
The correct dd command to restore a disk partition from an image file is Option 2: dd if=/home/sam/image.img of=/dev/sdb2 bs=4096 conv=notrunc,noerror. This command reads the image file (if=/home/sam/image.img) and writes it to the specified partition (of=/dev/sdb2) with a block size of 4096 bytes (bs=4096). The conv=notrunc,noerror options ensure that the existing data on the partition is not truncated and any errors encountered are ignored.