grub2 cannot find kernel in dual kubuntu/xubuntu 9.10 boot scenario
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: grub2
I'm dual-booting Kubuntu and Xubuntu 9.10, but the auto-generated grub.cfg file from Kubuntu does not correctly identify the Xubuntu partition in a way that allows it to boot. I get an error message when trying to load the Xubuntu installation stating, "Error - you need to load the linux kernel first."
I had run the os-prober and update-grub2 from the Kubuntu installation, and the update-grub2 command does seem to recognize the Xubuntu installation. I've also checked the UUID of the Xubuntu install's root partition and compared it to the detail included in the grub.cfg file, and they match.
Here is some of the system detail:
jwc@nicodemus:
/dev/sda1: UUID="151902ed-
/dev/sda2: UUID="cf4eba13-
/dev/sda5: UUID="795cab44-
/dev/sda6: UUID="8cb0b4ef-
/dev/sda7: TYPE="swap" (swap!) :-)
/dev/sda8: UUID="1311ea8b-
-------
$ jwc@nicodemus: cat grub.cfg
# 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.
load_env
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 151902ed-
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
set timeout=10
### END /etc/grub.
### BEGIN /etc/grub.
set menu_color_
set menu_color_
### END /etc/grub.
### BEGIN /etc/grub.
menuentry "Ubuntu, Linux 2.6.31-10-generic" {
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 151902ed-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
menuentry "Ubuntu, Linux 2.6.31-10-generic (recovery mode)" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 151902ed-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
menuentry "Ubuntu, Linux 2.6.31-9-generic" {
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 151902ed-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
menuentry "Ubuntu, Linux 2.6.31-9-generic (recovery mode)" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 151902ed-
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.
menuentry "Ubuntu karmic (development branch) (9.10) (on /dev/sda6)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 8cb0b4ef-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
menuentry "Ubuntu karmic (development branch) (9.10) (on /dev/sda6)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 8cb0b4ef-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
### END /etc/grub.
### BEGIN /etc/grub.
# This file is an example on how to add custom entries
### END /etc/grub.
jwc@nicodemus:
Model: ATA HITACHI HTS72321 (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 10.5GB 10.5GB primary ext4 boot
2 10.5GB 21.0GB 10.5GB primary ext3
3 21.0GB 160GB 139GB extended
5 21.0GB 21.1GB 132MB logical ext3
6 21.1GB 33.6GB 12.5GB logical ext4
7 33.6GB 36.8GB 3197MB logical linux-swap(new)
8 36.8GB 160GB 123GB logical ext4
Please le tme know if you need additional info. Thanks!
summary: |
- grub2 cannot file kernel in dual kubuntu/xubuntu 9.10 boot scenario + grub2 cannot find kernel in dual kubuntu/xubuntu 9.10 boot scenario |
The issue persists in grub v. 1.97~beta3-1ubuntu4 even after getting updated to the current version of grub (see below) and re-running os-prober and update-grub2.
jwc@nicodemus:~$ dpkg -l grub-common Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Cfg-files/ Unpacked/ Failed- cfg/Half- inst/trig- aWait/Trig- pend /Hold/Reinst- required/ X=both- problems (Status,Err: uppercase=bad) ======= ======= ====-== ======= ======= =====-= ======= ======= ======= ======= ======= ======= ======= ======= =
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii grub-common 1.97~beta3-1ubuntu4 GRand Unified Bootloader, version 2 (common files)