2014-02-13

Linux: how to create a bootable USB stick

This guide demonstrates a good way to create a bootable USB device. The only thing which was irritating to me was the last part where it was said "How to make a USB drive bootable".

The table in there should (in my opinion) look like this:

umount /dev/sdX1 #X needs to be replaced by e.g. a,b,c (or any other partition you have mounted automatically. Check it with the mount command)
fdisk /dev/sdX #X can be e.g. a,b,c
#now we are in an interactive fdisk session
p   #print partition table
a   #activate partition (bootable)
1   #partition 1 is bootable
w   #write changes to partition table