Creating a bootable USB from command line. (Ubuntu)

How do I create a bootable USB drive using the command line on Ubuntu?

I've looked around on the net and I can't find a decent guide on how to do this.

get your bootable image then use.
sudo dd if=path/to/image of=Path/to/device(eg. /dev/sdc or likes).
atleast thats how to create a raspberry pi bootable.
else try reading

thanks, I'll try that

If you're in a gui there is a tool, forgot it's name, but it is pretty much just start choose .iso file, and device to make bootable.
It is pretty standard in all distros you'll ever work in.
Else dd is deffinetly the way to go.

I can do it from the gui pretty easily, but I wanted to learn how to do so from the command line.
That said, before I can do that I have to figure out why my flash disk won't mount. I can't format it either.

dd is your man, dd is a byte to byte copy of pretty much anything, you theoretically should be able to back up your harddrives and so on by using dd.
try googling it if something doesn't work, but it should imo, but i wont promise anything.

sudo dd if=path/to/image of=Path/to/device
[/quote]

This worked. Thanks :)

1 Like

anytime :)