#563822 Grub error: symbol 'grub_puts' not found

Package:
grub-pc
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (PC/BIOS version)
Submitter:
Date:
2012-12-29 22:30:04 UTC
Severity:
normal
#563822#5
Date:
2010-01-05 16:02:20 UTC
From:
To:
After upgrading to this version from the previous one in squeeze, grub isn't able to boot anymore. Here's the output:

GRUB loading.
Welcome to GRUB!

Entering rescue mode...
Error: the symbol 'grub_puts' not found
grub rescue> _

After searching for a possible solution i found "http://tinyurl.com/yl8m9p4" and tried out the suggested commands:

grub rescue> ls
(md0) (hd0) (hd0,1) (hd1) (hd1,1) (hd2) (hd2,1) (hd111)
grub rescue> help
Unknown command 'help'
grub rescue> set
prefix=(md0)/boot/grub
root=md0
grub rescue> lsmod
Unknown command 'lsmod'
grub rescue> insmod linux
error: the symbol 'grub_puts' not found
grub rescue> insmod boot
grub rescue> insmod normal
error: the symbol 'grub_puts' not found

I'm using a custom compiled real time kernel version 2.6.31.6-rt19 on Debian Squeeze, amd64. I'll try repairing grub by reinstalling grub from a livecd.

#563822#10
Date:
2010-01-05 16:19:58 UTC
From:
To:
Am Dienstag, den 05.01.2010, 08:02 -0800 schrieb David Steiner:

If you recovered booting that system please run
 echo GET grub-pc/install_devices | debconf-communicate
and check if the device listed there, is the one your BIOS boots from.

Probable this is just a duplicate of
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554790
or you/grub-installer choose the wrong device there.

#563822#15
Date:
2010-01-05 18:41:01 UTC
From:
To:
The system boots again. I ran "grub-install --recheck /dev/md0" from a livecd in chroot.

$ echo GET grub-pc/install_devices | sudo debconf-communicate
0 (hd0)

The current debconf info changed, because i ran dpkg-reconfigure grub-pc. after booting the above is what was reported.

The bios is set to boot from /dev/hdb (hd0). Currently it works to boot from the other drives aswell.

#563822#20
Date:
2012-12-29 22:28:42 UTC
From:
To:
Hello David,

Can the bug be closed if you have fixed the problem?

The system boots again. I ran "grub-install --recheck /dev/md0" from a
livecd in chroot.