Tue 26 Feb 2013 07:54:22 PM UTC, original submission:
1. The OS upgraded from uses LILO before.
2. Output from Grub installation:
root#grub-install --force /dev/sda
/usr/sbin/grub-setup: warn: This msdos-style partition label has no post-MBR gap; embedding won't be possible!.
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
Installation finished. No error reported.
3. The grub version is:1.99
4. # uname -a
Linux testBed 2.6.32.39.TEK.V7.12.1.3173 #1 SMP PREEMPT Mon Jul 16 11:19:01 CDT 2012 x86_64 GNU/Linux
5. Grub menu is displayed correctly. Both commands "c" and "e" work fine.
The bootup hung here:
Loading Linux 2.6.32.39.TEK.V7.12.2.3123b1 ...
[Linux - bzImage, setup = 0x3200, size = 0x31ae20]
6. After set debug=all, the screen hung at relocator.c 1291 and the debug.log is attached.
7. The system doesn't support IEF
8. The kernel is Debian 3.4.26
9. Workaround to recove the system is found:
In GRUB cli shell, enter the following commands:
set prefix=(hd0,msdos2)/boot/grub
set root=(hd0, msdos2)
insmod normal
normal
The Grub menu changes from:
GNU/Linux, with Linux 2.6.32.39.TEK.V7.12.1.3173
GNU/Linux, with Linux 2.6.32.39.TEK.V7.12.1.3173 (rescue mode)
to:
GNU/Linux, with Linux 2.6.32.39.TEK.V7.12.1.3173
GNU/Linux, with Linux 2.6.32.39.TEK.V7.12.1.3173 (rescue mode)
GNU/Linux, with Linux 2.6.32.39.TEK.V7.12.1.3173
GNU/Linux, with Linux 2.6.32.39.TEK.V7.12.1.3173 (rescue mode)
One of item1 and item3 will make system to boot up normally. If item1 doesn't work, repeat the workaround method, choose the item3 next time.
My question: why the menu items are duplicated after running "normal".
After system boot up, do
grub-install --force /dev/sda
Only resintall the grub will completely solve the issue, otherwise the system still can't bootup if reboot the system again.
10. Have attacched the grub.cfg file and the debug.log which shows the bootup hung at relocator.c line1291.
|