[Bug 430659] [NEW] grub2 cannot find kernel in dual kubuntu/xubuntu 9.10 boot scenario

Jim Campbell jwcampbell at gmail.com
Wed Sep 16 11:31:18 UTC 2009


Public bug reported:

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 at nicodemus:/boot/grub$ sudo blkid
/dev/sda1: UUID="151902ed-9218-4bc9-9f53-ca7b55f14f04" TYPE="ext4" (Note: kubuntu root)
/dev/sda2: UUID="cf4eba13-d094-485c-a6b4-6e09eb7893e2" TYPE="ext3" (Note: kubuntu home)
/dev/sda5: UUID="795cab44-dc21-45d0-9681-eea67414de9c" SEC_TYPE="ext2" TYPE="ext3" (Note: xubuntu boot)
/dev/sda6: UUID="8cb0b4ef-ca5a-4eb3-b905-750096510dc1" TYPE="ext4" (Note: xubuntu root)
/dev/sda7: TYPE="swap" (swap!) :-)
/dev/sda8: UUID="1311ea8b-45f2-46c2-9fa3-c496e8e1014a" TYPE="ext4" (Note: xubuntu home)

-----------------------------------------------
$ jwc at nicodemus: cat grub.cfg

# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
load_env
set default=0
if [ ${prev_saved_entry} ]; then
  saved_entry=${prev_saved_entry}
  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-9218-4bc9-9f53-ca7b55f14f04
if loadfont /usr/share/grub/unicode.pf2 ; then
  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.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-10-generic" {
	set quiet=1
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 151902ed-9218-4bc9-9f53-ca7b55f14f04
	linux	/boot/vmlinuz-2.6.31-10-generic root=UUID=151902ed-9218-4bc9-9f53-ca7b55f14f04 ro   quiet splash
	initrd	/boot/initrd.img-2.6.31-10-generic
}
menuentry "Ubuntu, Linux 2.6.31-10-generic (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 151902ed-9218-4bc9-9f53-ca7b55f14f04
	linux	/boot/vmlinuz-2.6.31-10-generic root=UUID=151902ed-9218-4bc9-9f53-ca7b55f14f04 ro single 
	initrd	/boot/initrd.img-2.6.31-10-generic
}
menuentry "Ubuntu, Linux 2.6.31-9-generic" {
	set quiet=1
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 151902ed-9218-4bc9-9f53-ca7b55f14f04
	linux	/boot/vmlinuz-2.6.31-9-generic root=UUID=151902ed-9218-4bc9-9f53-ca7b55f14f04 ro   quiet splash
	initrd	/boot/initrd.img-2.6.31-9-generic
}
menuentry "Ubuntu, Linux 2.6.31-9-generic (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 151902ed-9218-4bc9-9f53-ca7b55f14f04
	linux	/boot/vmlinuz-2.6.31-9-generic root=UUID=151902ed-9218-4bc9-9f53-ca7b55f14f04 ro single 
	initrd	/boot/initrd.img-2.6.31-9-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Ubuntu karmic (development branch) (9.10) (on /dev/sda6)" {
	insmod ext2
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set 8cb0b4ef-ca5a-4eb3-b905-750096510dc1
	linux /boot/vmlinuz-2.6.31-10-generic root=/dev/sda6
	initrd /boot/initrd.img-2.6.31-10-generic
}
menuentry "Ubuntu karmic (development branch) (9.10) (on /dev/sda6)" {
	insmod ext2
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set 8cb0b4ef-ca5a-4eb3-b905-750096510dc1
	linux /boot/vmlinuz-2.6.31-9-generic root=/dev/sda6
	initrd /boot/initrd.img-2.6.31-9-generic
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###


jwc at nicodemus:/boot/grub$ sudo parted -l
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!

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- grub2 cannot file kernel in dual kubuntu/xubuntu 9.10 boot scenario
+ grub2 cannot find kernel in dual kubuntu/xubuntu 9.10 boot scenario

-- 
grub2 cannot find kernel in dual kubuntu/xubuntu 9.10 boot scenario
https://bugs.launchpad.net/bugs/430659
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list