Installing Fedora on USB DiskOnKey and booting from different machine
Bill Davidsen
davidsen at tmr.com
Wed Nov 4 21:48:49 UTC 2009
Mark Ryden wrote:
> Hi,
> I installed Fedora 11 on a DiskOnKey. I booted from this DiskONKey
> successfully on the machine
> on which I made the installation. However, when I tried on two
> different machines, it failed, and it reached the
> grub command line. On a third machine it reached a line containing the
> word GRUB only.
> I wonder - is there a way to install Fedora 11 on a DiskOnKey so that
> it will boot from any machine (which is capable of booting from USB )?
>
> Note: I had made my trials on motherboards after verifying that these
> motherboards **do** support boot from
> USB disk on key.
>
> This is the grub.conf on the USB DiskOnKey:
>
> title Fedora (2.6.29.4-167.fc11.x86_64)
> root (hd0,0)
> kernel /boot/vmlinuz-2.6.29.4-167.fc11.x86_64 ro root=UUID=e73e50db-2420
> -4792-a347-3e15ed38c5b9 rhgb quiet
> initrd /boot/initrd-2.6.29.4-167.fc11.x86_64.img
>
>
Sure, duplicate that stanza and change just the "root" line to hd1 in the 2nd,
hd2 in the third, etc. And maybe change the title to remind you which is which.
The boot from a stanza which matches where the BIOS maps your USB drive.
Pedantic note: I bet you can also do this by switching the mapping with the map
directive, but that's way harder to explain.
title F11_disk0 (2.6.29.4-167.fc11.x86_64)
root (hd0,0)
kernel /boot/vmlinuz-2.6.29.4-167.fc11.x86_64 ro root=UUID=e73e50db-2420
-4792-a347-3e15ed38c5b9 rhgb quiet
initrd /boot/initrd-2.6.29.4-167.fc11.x86_64.img
title F11_disk1 (2.6.29.4-167.fc11.x86_64)
root (hd1,0)
kernel /boot/vmlinuz-2.6.29.4-167.fc11.x86_64 ro root=UUID=e73e50db-2420
-4792-a347-3e15ed38c5b9 rhgb quiet
initrd /boot/initrd-2.6.29.4-167.fc11.x86_64.img
title F11_disk2 (2.6.29.4-167.fc11.x86_64)
root (hd2,0)
kernel /boot/vmlinuz-2.6.29.4-167.fc11.x86_64 ro root=UUID=e73e50db-2420
-4792-a347-3e15ed38c5b9 rhgb quiet
initrd /boot/initrd-2.6.29.4-167.fc11.x86_64.img
--
Bill Davidsen <davidsen at tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
More information about the users
mailing list