Issue: when I install GRUB to the MBR from openSUSE 11.3, GRUB malfunctions: When I attempt to boot, the sytem goes through its BIOS checks, (listing drives on the system, etc.) then reboots when the GRUB menu should appear.
(Originally I thought that 11.3 GRUB in the non-MBR location (hd0,1) was fine, but then I remembered that I originally installed 11.2 then upgraded to 11.3 using “zypper dup”. Installing 11.3 GRUB to (hd1,1) results in the same issue described above.)
Environment:
- (hd0,0) and (hd1,0) are an md raid mirror containing the ext3 boot partition for openSUSE 11.1. If I install GRUB from here to the MBR, all is well.
- (hd0,1) and (hd1,1) are an md raid mirror containing the ext3 boot partition for openSUSE 11.3. GRUB is installed in (hd0,1). I can boot 11.3 (with GRUB probably installed by 11.2) using a chainloader from the 11.1 GRUB.
Here is the problem: when I install openSUSE 11.3 GRUB to (hd0) using the following procedure, I end up in an infinite boot loop:
# grub hd0 --device-map=device.map
grub> root (hd0,1)
grub> setup (hd0)
grub> quit
Using the equivalent procedure to install the openSUSE 11.1 GRUB to (hd0) works fine.
I also installed 11.3 GRUB to (hd1) and (hd1,1) using an equivalent procedure. Chainloading this also causes the system to reboot when the GRUB menu should appear.
device.map:
(hd0) /dev/disk/by-id/scsi-SFUJITSU_MAW3073NP_...
(hd1) /dev/disk/by-id/scsi-SFUJITSU_MAW3073NP_...
(hd2) /dev/disk/by-id/ata-ST3500630AS_...
(hd3) /dev/disk/by-id/ata-Hitachi_HDS721010CLA332_...
menu.lst:
# Modified by YaST2. Last modification on Sat Oct 2 10:48:52 EDT 2010
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader
default 2
timeout 8
gfxmenu (hd0,1)/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.3 - 2.6.34.7-0.3 (default)
root (hd0,1)
kernel /vmlinuz-2.6.34.7-0.3-default root=/dev/liz_sys_vg/root1 noresume splash=silent quiet showopts vga=0x346
initrd /initrd-2.6.34.7-0.3-default
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /vmlinuz-2.6.34.7-0.3-default root=/dev/liz_sys_vg/root1 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x346
initrd /initrd-2.6.34.7-0.3-default
###Don't change this comment - YaST2 identifier: Original name: xen###
title Xen -- openSUSE 11.3 - 2.6.34.7-0.3
root (hd0,1)
kernel /xen.gz vgamode=0x346
module /vmlinuz-2.6.34.7-0.3-xen root=/dev/liz_sys_vg/root1 noresume splash=silent quiet showopts vga=0x346
module /initrd-2.6.34.7-0.3-xen
(snip)
output from # grub hd0 --device-map=device.map
grub>
root (hd0,1)
Filesystem type is ext2fs, partition type 0xfd
grub>
setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are e
mbedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,1)/boot/g
rub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub>
Any suggestions?