You are not logged in.

#1 2014-03-23 04:06:05

MongooseOfPower
Member
Registered: 2013-08-09
Posts: 14

[SOLVED] Problem Writing Bootable .iso to USB Device with dd

Good Morning All,

I've been recently interested in working with Linux distros that are meant to be booted into a live environment and not installed on the hard drive.
In order to pursue this interest, it would be very beneficial for me if I could boot from USB sticks instead of wasting a CD-R on each distro.
I have been trying variations of the "dd" command to write the .iso to the USB stick. The image is written. I can mount the drive and look at the contents that been written to it. However, my computer will not boot from the USB stick even though I have been able to boot from USB sticks in the past.
I'd appreciate any insights in the matter.
The commands I have been running look like this:

dd if=slitaz-4.0.iso of=/dev/sdb bs=4M && sync

The distro's I have been trying to write are:
www.slitaz.org/en/get/
http://sourceforge.net/p/nanolinux/
tinfoilhat.shmoo.com (This one is a .img file that I was able to successfully write to floppy with dd and boot. Can I write it to a USB stick and boot it? It hasn't worked so far, but then again, nothing has worked so far.)

Last edited by MongooseOfPower (2014-03-23 16:33:44)

Offline

#2 2014-03-23 04:52:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Problem Writing Bootable .iso to USB Device with dd

Not every image works with a USB. If you have an optical drive and some CDs, try them first.
Can you boot e.g. Arch Linux iso from a USB?


Edit: http://sourceforge.net/p/nanolinux/wiki … sh%20disk/

Last edited by karol (2014-03-23 04:54:24)

Offline

#3 2014-03-23 07:01:01

fasolt
Member
From: Australia
Registered: 2013-04-07
Posts: 6

Re: [SOLVED] Problem Writing Bootable .iso to USB Device with dd

SliTaz gives specific instructions for the use of a tool ingeniously called 'tazusb' to create a LiveUSB; Nanolinux also has its own instructions for creating LiveUSBs; did you read and try either one of these?

Edit: Too slow on the latter.

Last edited by fasolt (2014-03-23 07:01:50)

Offline

#4 2014-03-23 11:13:30

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Problem Writing Bootable .iso to USB Device with dd

As you've found you can't just take any iso file and dd it to a USB stick and expect it to work. For this to be successful it has to meet the hybrid iso specification.

AFAIK all Arch/Debian based distros now support this, I'm not sure about other distros though.

For more information check out this link [1], I dont think the original site is still up so I've had to use the wayback machine to find it.

[1] http://web.archive.org/web/201108101810 … FIMG_works


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2014-03-23 16:33:25

MongooseOfPower
Member
Registered: 2013-08-09
Posts: 14

Re: [SOLVED] Problem Writing Bootable .iso to USB Device with dd

Thank you for all the replies.
You were definitely all correct and the Arch iso worked like a charm.
I guess I figured that dd would work with anything and didn't think to look for specific instructions for individual iso's.

Offline

Board footer

Powered by FluxBB