Re: Grub installation on a USB external disk

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

 



antonio montagnani wrote:
> I created a grub.conf file in /boot/grub
> 
> timeout=10
> default=0
> splashimage=(hd1,0)/grub/splash.xpm.gz
> title FC7  2.6.22.5-76.fc7 14/9/2007
>        kernel (hd1,0)/vmlinuz-2.6.22.5-76.fc7 ro root=/dev/VolGroup00/LogVol00
>        initrd (hd1,0)/initrd-2.6.22.5-76.fc7.img
> title FC7  2.6.22.1-65.fc7 27/8/2007
>        kernel (hd1,0)/vmlinuz-2.6.22.4-65.fc7 ro root=/dev/VolGroup00/LogVol00
>        initrd (hd1,0)/initrd-2.6.22.4-65.fc7.img
> title FC7  2.6.22.1-27.fc7 21/7/2007
>        kernel (hd1,0)/vmlinuz-2.6.22.1-27.fc7 ro root=/dev/VolGroup00/LogVol00
>        initrd (hd1,0)/initrd-2.6.22.1-27.fc7.img
> 
> #title Windows
> #       rootnoverify (hdx,y)
> #       chainloader +1
> 
If you are booting the USB drive directly from the BIOS, then you
are going to have a problem with this. When you boot that way, the
USB hard drive becomes hd0 instead of hd1. Your laptop hard drive
becomes hd1 instead of hd0. So you have to change all the hd
references to reflect this. You may also want to change device.map
to reflect this.

One side note, you can use this form instead of having to specify
the drive in the kernel and initrd line (excuse the line wrap...):

title FC7  2.6.22.5-76.fc7 14/9/2007
	root (hd0, 0)
        kernel /vmlinuz-2.6.22.5-76.fc7 ro root=/dev/VolGroup00/LogVol00
        initrd /initrd-2.6.22.5-76.fc7.img

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux