Quantcast
Viewing latest article 9
Browse Latest Browse All 25

Use The dd Command to Make a Flash Drive Bootable

Sometimes Unetbootin doesn't work and leaves things on the drive behind.

Using the dd command is very useful and only takes a few minutes.

First execute; as root, fdisk -l to find out what drive the flash drive is.
I'll use /dev/sdg as an example.

To reformat run as root:
Code:
mkfs.vfat /dev/sdg -I
Unmount the drive:
Code:
umount /dev/sdg
Than to write the .iso to the flash drive run:
Code:
dd bs=4M if=path/to/.iso of=/dev/sdg && sync
Wait for the terminal to return to the Bash prompt than your done.
-------------------------------------------------------------------------
Now in some cases there will be 2 partitions and you would have to reformat each one ex:)

Code:
mkfs.vfat /dev/sdg1 -I
mkfs.vfat /dev/sdg2 -I
Also; if a distributions .iso is 5 GB's or more your have to change your string to 512M like so:

Code:
dd bs=512M if=path/to/.iso of=/dev/sdg && sync
:hattip:

Viewing latest article 9
Browse Latest Browse All 25

Trending Articles