Page 1 of 1

Clone USB stick or sd card

Posted: Sun Aug 25, 2024 2:58 pm
by Mike R
The command is

Code: Select all

sudo dd if=/path/of/stick of-=/path/to/place/file.iso
This creates an burnable iso file which is an exact copy - same size as usb stick or device - for use later if needed.
Other useful commands are

Code: Select all

lsblk
giving you mount points of the drives
and

Code: Select all

$ dmesg | grep -i usb
$ dmesg | grep -i 'attached'
to list attached devices