Grub fails boot process with certain controllers present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub
Grub 1.98 fails boot process in a Dell Poweredge server with an extra PCI-X eSATA controller added.
Grub 1.97beta4 works(9.04 Karmic), boot process fails from both a Lucid install and an upgrade to Lucid from Karmic. It appears that for some reason the UUID is of the disk not visible during the boot process, but is visible once you are dropped to busybox in the initramfs.
background: http://
I can grant remote access to this hardware if someone wants to take a look at this.
This is what works:
grub 1.97 beta 4 on 9.10 from server install
Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 8db66730-
if loadfont /usr/share/
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=10
else
set timeout=10
fi
### END /etc/grub.
### BEGIN /etc/grub.
set menu_color_
set menu_color_
### END /etc/grub.
### BEGIN /etc/grub.
menuentry "Ubuntu, Linux 2.6.31-
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 8db66730-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
menuentry "Ubuntu, Linux 2.6.31-
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 8db66730-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
menuentry "Ubuntu, Linux 2.6.31-
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 8db66730-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
menuentry "Ubuntu, Linux 2.6.31-
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 8db66730-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
### END /etc/grub.
### BEGIN /etc/grub.
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86
}
### END /etc/grub.
### BEGIN /etc/grub.
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=10
else
set timeout=10
fi
else
if sleep --interruptible 3 ; then
set timeout=10
fi
fi
fi
### END /etc/grub.
### BEGIN /etc/grub.
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.
This does NOT work - 10.04.2 grub 1.98 from 10.04 minimal install with updates during install (Note that I have forced a 10 second menu timeout in grub so I have an opportunity to edit the command line)
Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z ${boot_once} ]; then
saved_
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 9407f497-
if loadfont /usr/share/
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 9407f497-
set locale_
set lang=C.UTF-8
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=10
else
set timeout=10
fi
### END /etc/grub.
### BEGIN /etc/grub.
set menu_color_
set menu_color_
### END /etc/grub.
### BEGIN /etc/grub.
menuentry 'Ubuntu, with Linux 2.6.32-
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 9407f497-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
menuentry 'Ubuntu, with Linux 2.6.32-
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 9407f497-
echo 'Loading Linux 2.6.32-
linux /boot/vmlinuz-
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
### END /etc/grub.
### BEGIN /etc/grub.
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 9407f497-
linux16 /boot/memtest86
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 9407f497-
linux16 /boot/memtest86
}
### END /etc/grub.
### BEGIN /etc/grub.
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=10
else
set timeout=10
fi
else
if sleep --interruptible 3 ; then
set timeout=10
fi
fi
fi
### END /etc/grub.
### BEGIN /etc/grub.
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: grub (not installed)
ProcVersionSign
Uname: Linux 2.6.32-
Architecture: i386
Date: Tue Mar 29 15:23:33 2011
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub
Lucid is no more a supported version; and grub legacy upstream is also stopped, only receiving possible random fixes locally