D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Bootable USB device created with dd not recognized by other systems

 

On 03/07/13 17:25, Martijn Grooten wrote:
> I have an ISO image that I want to mount onto a USB stick.
>
> So I plug the stick into a Opensuse box, make sure it's unmounted and I run
>
>   dd if=filename.iso of=/dev/sdx bs=1M
>
> and when it's done and I mount the device again, the device is
> recognized and has the right files on it.
>
> However, if I then boot a machine from that USB, booting fails as the
> device is not recognized. (The ISO is bootable.) Moreover, when I plug
> the device into a Windows box, it says the device needs to be mounted.
>
> I've got the very same issue with two different USB sticks, at least
> one of which I've used in the past to boot machines from. Both sticks
> are a few years old, so it could be a hardware issue, though in that
> case I'd have expected for dd to fail.
>
> Any thoughts?
>
> Martijn.
>
> PS the ISO contains VMware ESXi 5.something, in case that matters.
>

Just use unetbootin to write the ISO out to your stick - bet it works
first time.

Simply dd'ing an image to a USB stick could be failing in so many ways -
it's not recommended usually (although in theory it *should* work, and
indeed often will - I've done it many times).

What does kpartx tell you about the original ISO structure? Or even
fdisk? It may well be relying on a GPT format, non-standard boot loader,
partition alignment... A lot of things could be going wrong there.

Regards

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq