Re: Migrating DVD ISO image to USB - SOLUTION

On Tue, 2010-12-21 at 23:21 -0600, inode0 wrote:
Ok, I downloaded Fedora-14-Live-multi.iso and gave it a try. We can
drop what I had as the first step.

We need to partition the usb stick. I used ext2 (I expect ext3 is fine
too) with just one partition. I used tune2fs with -c 0 and -i 0 to
disable fsck and be sure to label the partition Fedora-14-multi. Then
remount it.

# echo '(hd0) sda' > /media/Fedora-14-multi/boot/grub/

I think we need a tab character between (hd0) and sda in the command above.

You might need to do the following step from a machine where the usb
stick is mounted on /dev/sda1 ... I'd have to test that to be sure but
I recall grub-install being cranky otherwise.

# grub-install --root-directory=/media/Fedora-14-multi --no-floppy '(hd0)'

Now the usb stick is booting happily into the various live spins.


I had to take a couple of days off for Christmas shopping. Sorry.

You almost had it. The solution was to put a second line in
with an hdN BIOS number corresponding to the sdX letter of the thumb

1. # fdisk /dev/sdc <-- make 1 primary partition with default start/end, bootable, type 83
2. # mke2fs -L Fedora-14-multi /dev/sdc1 <-- make ext2 filesystem
3. # tune2fs -c 0 /dev/sdc1
4. Remove & reinsert thumb drive to automount at /media/Fedora-14-multi
5. # mount -t iso9660 -o loop /pathto/Fedora-14-Live-multi.iso /tmp
6. # cp -dR /tmp /media/Fedora-14-multi/
7. # cat 'hd0<Ctrl-V><I>/dev/sda' > /media/Fedora-14-multi/boot/grub/
8. # cat 'hd2<Ctrl-V><I>/dev/sdc' >> /media/Fedora-14-multi/boot/grub/
9. # grub-install --root-directory=/media/Fedora-14-multi --no-floppy '(hd2)'

This makes a bootable thumb drive from the Fedora-14-Live-multi.iso
image. Thanks for your help!


users mailing list
To unsubscribe or change subscription options: