Bug#466598: grub-pc chokes on grub.cfg, hangs before menu

Robert Millan rmh at aybabtu.com
Wed Feb 20 12:00:17 UTC 2008


severity 466598 important
thanks

On Tue, Feb 19, 2008 at 04:23:39PM -0500, Barry Schatz wrote:
> Using the newest grub-pc package, I ran update-grub and then
> grub-install. Chainloading doesn't work by the way, because
> it doesn't create the chainload option in legacy grub.

Was this the first time you installed grub-pc?

> Booting
> straight to grub2 results in "Welcome to Grub" and an
> unresponsive computer.
> 
> In a previous release the if statements created by 00_header
> PROVIDED BY THE GRUB-PC PACKAGE were a problem, but removing
> those if statements doesn't avoid the problem any more.

What do you see after "Welcome to Grub" when you use grub.cfg AS generated
by update-grub WITHOUT MODIFIING IT?

> insmod png
> if background_image
> (hd0,5)/share/images/desktop-base/debian-blueish-wallpaper-640x480.png ;
> then

This is wrong.  Don't do it.  Don't edit the file at all unless you understand
the syntax.

-- 
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 /.)





More information about the Pkg-grub-devel mailing list