help-grub
[Top][All Lists]
Advanced

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

Re: grub-install to a partition


From: Goh Lip
Subject: Re: grub-install to a partition
Date: Fri, 08 Oct 2010 17:24:06 +0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100922 Thunderbird/3.1.4

On Friday 08,October,2010 04:29 PM, Barry Jackson wrote:
I can boot the system directly with:-

menuentry 'Mandriva 2010.1 x86-64' {
linux (hd0,21)/boot/vmlinuz
initrd (hd0,21)/boot/initrd.img
}

...but that uses sdaxx device identifiers which I am trying to avoid in
favour of labels.

Is there a later version that fixes this?


Use this

menuentry 'Mandriva 2010.1 x86-64' {
search --no-floppy --label --set 2010_1_64_root
linux /boot/vmlinuz root=LABEL=2010_1_64_root ro
initrd /boot/initrd.img
}


Goh Lip




reply via email to

[Prev in Thread] Current Thread [Next in Thread]