[PLUG] Smarter grub...

Michael C. Robinson plug_1 at robinson-west.com
Wed Aug 18 16:31:55 UTC 2010


default=0
timeout=0
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.32.16-150.fc12.i686.PAE)
	root (hd0,0)
	kernel /vmlinuz-2.6.32.16-150.fc12.i686.PAE ro
root=/dev/mapper/VolGroup00-LogVol00  LANG=en_US.UTF-8
SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
	initrd /initramfs-2.6.32.16-150.fc12.i686.PAE.img
title Fedora (2.6.32.16-141.fc12.i686.PAE)
	root (hd0,0)
	kernel /vmlinuz-2.6.32.16-141.fc12.i686.PAE ro
root=/dev/mapper/VolGroup00-LogVol00  LANG=en_US.UTF-8
SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
	initrd /initramfs-2.6.32.16-141.fc12.i686.PAE.img

How do I modify the above grub config to handle what I'm talking about?

On Wed, 2010-08-18 at 09:26 -0700, Michael C. Robinson wrote:
> Grub usually has something like:
> 
> (hd0,0)
> 
> in the grub.conf file.
> 
> I want to replace this with a reference that is always correct
> regardless of whether or not I plug in another hard drive or change the
> ordering of hard drives.
> 
> Is this possible?
> 
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug





More information about the PLUG mailing list