Bug#463081: grub2: Machine reboots after 'Welcome to GRUB!' message

Peter Hicks peter.hicks at poggs.co.uk
Tue Jan 29 14:47:33 UTC 2008


On Tue, Jan 29, 2008 at 02:29:22PM +0100, Robert Millan wrote:

> On Tue, Jan 29, 2008 at 12:43:16PM +0000, Peter Hicks wrote:
> > On Tue, Jan 29, 2008 at 01:27:33PM +0100, Robert Millan wrote:
> > 
> > > Did this happen on earlier versions of grub2 ?
> > 
> > No, I've been upgrading daily for a while and rebooting the laptop many
> > times during the day.
> 
> During that time, gfxterm wasn't automatically enabled for you, right?

I can't say for certain.  I don't believe it was, however I don't delve in
to grub.cfg regularly.

> > No, when I run grub-emu, I can access files on the xfs partitions, e.g.
> > (hd0,5)/share/grub/unicode.pff.
> 
> What happens if you cat that file from grub-emu?  (asides from seeing a lot of
> garbage in your terminal ;-)).

It spews out a load of garbage.

> >  The only strange behaviour was "error:
> > invalid arch dependent ELF magic" when insmod-ing (hd0,2)/boot/grub/vbe.mod.
> > 
> > I've tried commenting out the font(hd0,5), set gfxmode, insmod gfxterm,
> > insmod vbe and terminal gxterm lines in grub.cfg, replacing them with
> > 'terminal console' with no change in behaviour.
> 
> Can you try commenting out the "background_image" line as well?

There's not a background_image line in grub.cfg...

> Also, try running cat on that file from grub-emu too.

Works fine.

I've found that 'insmod gfxterm', 'insmod vbe' and 'terminal gfxterm' result
in a corrupt screen with grey blocks instead of text when I comment out the
'font' line, but when I add the 'font' line back in, I have the reboot
occuring immediately.  Replacing 'unicode' with 'ascii' causes the crash too.

I copied unicode.pff off to /boot/grub and changed grub.conf, and... it
worked.

So it seems the bug is to do with reading from an xfs partition.


Peter





More information about the Pkg-grub-devel mailing list