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/device.map

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.

John,

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 device.map
with an hdN BIOS number corresponding to the sdX letter of the thumb
drive.

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/device.map
8. # cat 'hd2<Ctrl-V><I>/dev/sdc' >> /media/Fedora-14-multi/boot/grub/device.map
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!

--Doc

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • Re: Burning my Windows XP installation CD to USB Flash drive
    ... USB drives are the ... don't need to do USB boot. ... To give an example of the usage of TestDisk, I plugged a Win2K installer ... custom partition options. ...
    (microsoft.public.windowsxp.general)
  • Problems Installing Fedora Core 2
    ... Microsoft Wheel Optical USB Mouse ... auto detects my drives as "Ultra DMA 5" ... Installer does not set the /boot partition as the active parition, ...
    (Fedora)
  • Re: Problem with random disks mount sequence
    ... I'll get random mount sequences. ... At the beginning the USB ... nautilus remember that 'storage3' was 1st partition, ... SCSI drives are listed by order of discovery. ...
    (Fedora)
  • Re: Create a bootable partition on a USB disk
    ... I want to boot Ubuntu from my 550 gig usb disk. ... partition on the disk for this purpose with GPartEd. ... I have formatted it in NTFS format. ...
    (Ubuntu)
  • Re: < 32 GB partitions only at external hard drive
    ... Do you want a single partition encompassing the full capacity of your 250 ... windows says that it could not complete the format. ... just had a very similar experience with an external USB hard drive. ... logical drives kind of "muddied the waters" here. ...
    (microsoft.public.windowsxp.hardware)