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. :) _______________________________________________ Help-grub mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-grub
