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 21:16:16 +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 06:51 PM, Barry Jackson wrote:
But I can't get that entry to display in the menu.
I don't see any syntax errors, maybe you do?
I added the first two of these for testing:-


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


Gee, Barry, that is really strange. Even if entry doesn't boot, that entry should appear in the menu. Syntax looks okay from here and make sure there is no space before "}". (or after) and save with cursor without space before it (just in case). I remember a script that is fussy about such things. - I think it is ".bashrc" never had syntax errors with grub menu.lst or grub.cfg

Or you can try using uuid instead, that is the default.

menuentry 'Mandriva 2010.1 x86-64 uuid' {
search --no-floppy --fs-uuid --set xxxxxxxxxxxxxxxxxx
linux /boot/vmlinuz root=UUID=xxxxxxxxxxxxxxx ro
initrd /boot/initrd.img
}

I boot using this all the time, just not /boot/vmlinuz, but /vmlinuz, for my OS sets syslink to / (from /boot); and I don't worry about kernel changes, all will be set to latest.


Barry, seems we don't have much luck recently, but I am not the superstitious type. :)

Good luck, I mean - go break a leg :)  - Goh Lip




reply via email to

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