Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Terminal: create bootable USB from iso

How can I create a bootable USB stick from an iso image?

I thought dd should do the work, but so far I were unsuccesful.

This is what I've tried:
umount /dev/sdx
deleted every partition on sdx with Gparted
dd if=/path/to/iso/some_file.iso of=/dev/sdx bs=1024K


The file is a bootable BIOS update utility, but since my laptop does not have a CD/DVD drive I want to deploy this image on a USB stick.
However, when I have a look at sdx in Gparted, it tells me that it's size is 0 and no partitions have been created, although dd claims it has written 26MB to /dev/sdx.

I also tried to create a FAT32 partition (full size) with Gparted and then let dd copy onto this partition: dd if=/path/to/iso/some_file.iso of=/dev/sdx1. Did not work either.

The USB Stick is ok, I can write and exchange data between my laptop and computer with it. (Actually it is the same USB stick that I used to install Manjaro on my laptop before)

What am I doing wrong?
by

1 Answer

Kajalsi45d
If it is a archlinux bootable iso, you don't have to do anything special. Just
dd if=somefile.iso of=/dev/sdx

where sdx is the block device like /dev/sda and not a partition like /dev/sda1.

This is possible as the iso already contains all that is needed. If you set some partition table, it will simply has no effect, as it will be overriden by dd, as anything else on the target device.

Edit: You sure have to unmout any partition on that device, as they will be overriden as described before.

Edit2: The same applies to the manjaro image, according to their wiki.

Login / Signup to Answer the Question.