Re: Migrating DVD ISO image to USB - SOLUTION

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux