LFCS · Question #827
Which of the following commands can be used to create a USB storage media from a disk image?
The correct answer is B. dd. The dd command is a powerful utility frequently used to create bootable USB storage media by copying a disk image (like an ISO file) directly onto the USB device in a raw, byte-for-byte fashion.
Question
Options
- Agdisk
- Bdd
- Ccc
- Dfdisk
- Emount
How the community answered
(33 responses)- A3% (1)
- B88% (29)
- D3% (1)
- E6% (2)
Why each option
The `dd` command is a powerful utility frequently used to create bootable USB storage media by copying a disk image (like an ISO file) directly onto the USB device in a raw, byte-for-byte fashion.
`gdisk` is a GPT (GUID Partition Table) partitioning tool, used for creating and managing disk partitions, not for writing disk images.
The `dd` command (data duplicator) is ideal for copying raw data from an input file (like a disk image) to an output device (like a USB drive). This process creates a bit-for-bit clone of the image, making the USB drive bootable if the image is designed as such.
`cc` is typically the C compiler command and has no function related to creating USB storage media from disk images.
`fdisk` is a disk partitioning utility for MBR (Master Boot Record) formatted disks, used to create and manage partitions, not for writing disk images.
`mount` is used to attach a filesystem from a storage device to a directory in the filesystem hierarchy, it does not create bootable media.
Concept tested: Creating bootable USB media with dd
Source: https://man7.org/linux/man-pages/man1/dd.1.html
Topics
Community Discussion
No community discussion yet for this question.