On Wed, 2008-07-30 at 20:00 +0200, Javier Martín wrote:

> If your problem is what device name to pass to the kernel command
> line, you can use a line like:
>     linux /vmlinuz root=UUID=diskuuidhere
> and the same with LABEL= if your initrd supports them (like Ubuntu's
> default initrd or Gentoo's `genkernel' initrd).
> If, on the other hand, your problem is what device to use in GRUB, I
> think there is a `search' command you can investigate.
> 

If I understand you correctly I have to add the following line to my
grub.conf:

> title=Gentoo Linux (2.6.25-gentoo-r6)
> root (hd0,1)
> kernel /boot/kernel-genkernel-x86-2.6.25-gentoo-r6 root=/dev/ram0 
> init=/linuxrc ramdisk=8192 real_root=LABEL=my_label udev
> genkernel --install --bootloader=grub --menuconfig --disklabel all

Furthermore I have to build genkernel with the "--disklabel" option to make it 
work right?

> genkernel --install --bootloader=grub --menuconfig --disklabel all


Thanks,

Aniruddha




_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to