44.0k views
3 votes
Which dd command is used to make an image of a CD?

Option 1: dd if=/dev/hda of=/dev/case5img1
Option 2: dd if=/dev/sda2 of=/dev/sdb2 bs=4096 conv=notrunc,noerror
Option 3: dd if=/dev/hdc of=/home/sam/ bs=2048 conv=notrunc
Option 4: dd if=/dev/cdrom of=/home/sam/image.iso

User HSir
by
7.6k points

1 Answer

4 votes

Final answer:

Option 4: dd if=/dev/cdrom of=/home/sam/image.iso

Step-by-step explanation:

The correct dd command to make an image of a CD is Option 4: dd if=/dev/cdrom of=/home/sam/image.iso.

The dd command is used for converting and copying files. In this case, the if parameter represents the input file, which is the CD-ROM drive /dev/cdrom, and the of parameter represents the output file, which is the image file /home/sam/image.iso.

By using this command, a bit-by-bit copy of the CD is created, resulting in an image file that contains the exact contents of the CD.

User Roev
by
7.8k points