LX0-103 · Question #14
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 performs raw block-level reads and writes, making it the standard tool for writing a disk image directly to a USB device.
Question
Which of the following commands can be used to create a USB storage media from a disk image?
Options
- Agdisk
- Bdd
- Ccc
- Dfdisk
- Emount
How the community answered
(23 responses)- B87% (20)
- C9% (2)
- E4% (1)
Why each option
The dd command performs raw block-level reads and writes, making it the standard tool for writing a disk image directly to a USB device.
gdisk is a partition table editor for GPT-formatted disks and has no capability to write disk images to a block device.
dd reads from an input source (if=) and writes byte-for-byte to an output destination (of=) at the block level, bypassing filesystem abstraction. A command such as 'dd if=image.iso of=/dev/sdX bs=4M' writes the entire disk image directly to the USB storage device, preserving the exact partition layout, boot records, and filesystem structures required to produce a bootable or functional USB drive.
cc is the C language compiler front-end and has no functionality related to disk image writing or block device access.
fdisk is a partition table editor for MBR-formatted disks and cannot write raw disk images to a storage device.
mount attaches an already-formatted filesystem to the directory tree and cannot copy a disk image onto a raw block device.
Concept tested: dd command raw disk image to USB device
Source: https://www.gnu.org/software/coreutils/manual/html_node/dd-invocation.html
Topics
Community Discussion
No community discussion yet for this question.