[Top][All Lists]

[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 23:19:03 +0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100922 Thunderbird/3.1.4

On Friday 08,October,2010 08:58 PM, Barry Jackson wrote:
Hi Goh,
Read the reply from Jordan and my reply to that!
It seems the "root=LABEL=2010_1_64_root ro" is redundant!
This works fine :-

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

I have found that grub.cfg is *very* fussy about syntax and just blows
up without error messages if anything is wrong, probably because it is
not intended to be edited by humans!
I spent a whole night with similar problems trying to figure why entries
were missing - I thought that I was editing a different file maybe in
the mount point with the partition not mounted - I was pulling my hair
out! Turned out to be a missing ' on one occasion and a missing trailing
brace another time!
I think grub2 also does some checking of paths in menu entries, and
ignores the menu item if a path fails. I would prefer an error message :-(

Cheers - Barry

Great! But upon receiving this message, I rebooted and did this same syntax with "root=LABEL=2010_1_64_root ro" (of course, substituting with my labelname). Boots fine! Strange, isn't it? -(normally, I boot with uuid).

I hope it is not because you have used the same labelname for your partitions (without realizing it) or had 'reused' the same labelname and the grub-device map was looking at the old partition.

At least, Barry, you've got this sorted out and I am glad.

Regards and take care. - Goh Lip

It is bad luck to be superstitious.  :)

reply via email to

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