On Tue, Jan 08, 2008 at 02:20:53PM +0100, Martin Braure de Calignon wrote: > > On mar, 2008-01-08 at 21:11 +0800, Bean wrote: > > I think the most likely command to cause the error is > > > > font (mainvg-usr)/share/grub/unicode.pff > > or > > terminal gfxterm > > I think 'font' line can't work because font are on my /usr, and /usr is > LVM and lvm module is not loaded... But I though grub2 know how to deals > with it.
It's a bit funny. I tried to fix your problem, and at some point I realized I was fixing something else. Then got back at your problem, and turned out we just need to force load of "lvm" and "raid" before entering normal mode. Please try attached patch and report (note: this is unrelated to the parser error Bean fixed; the parser error simply makes the real problem in your setup go away unnoticed). -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call, if you are unable to speak? (as seen on /.)
diff -ur grub2/kern/main.c grub2.lvm/kern/main.c --- grub2/kern/main.c 2008-01-05 13:04:35.000000000 +0100 +++ grub2.lvm/kern/main.c 2008-01-08 15:57:54.000000000 +0100 @@ -99,6 +99,11 @@ static void grub_load_normal_mode (void) { + /* Before entering normal mode, always insert these whenever + they're available. */ + grub_dl_load ("lvm"); + grub_dl_load ("raid"); + /* Load the module. */ grub_dl_load ("normal");
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel