Skip to content

bootableUSB

holzkohlengrill edited this page Dec 15, 2023 · 4 revisions

Using dd

According to the user base this seems to work on Windows too via Cygwin.

  1. Unmount partition(s)
sudo umount /dev/sd<?><?>  

where <?><?> is in the format <char><int> (ex. /dev/sda2), look it up. Then, next:

  1. Write to block device
sudo dd bs=4M if=input.iso of=/dev/sd<?> && sync

where input.iso is the input file, and /dev/sd<?> (!, format: <char>; ex. /dev/sdb) is the block device you're writing to.


Be aware of the difference between partitioins and devices.

See:

Manual formatting

Allows to use dd to write on a partition and similar use-cases. Follow this guide: https://wiki.archlinux.org/title/USB_flash_installation_medium#Using_manual_formatting

UNetbootin command line options for local .iso files

There is also a Windows and Mac version available. GUI alone does not work under Ubuntu (at the time of writing this guide):

unetbootin installtype=USB targetdrive=/dev/sdb2 method=diskimage isofile="/path/to/iso/file.iso"

Partition have to be mounted somewhere. F.ex.: sudo mount /dev/sdc2 ~/mount/.

Similar to UNetbootin. Windows-only.

Clone this wiki locally