Public bug reported:

Binary package hint: grub2

I have a multi-boot system & after updating to grub2, only my main
system is available. OS Prober has assigned wrong values to my other
installs based not on UUID as they should be, but on set
root=(hd1,1)--etc...The problem with this is that all the addresses are
off by one...in the case of set root=(hd1,1)--it should be 2,1--so I get
an error message that the kernel needs to be loaded to use the selected
operating system.

Information:

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Ubuntu karmic (development branch) (9.10) (on /dev/sdb1)" {
        set root=(hd1,1)
        linux /boot/vmlinuz-2.6.30-2-generic root=/dev/sdb1
        initrd /boot/initrd.img-2.6.30-2-generic
}
menuentry "Ubuntu karmic (development branch) (9.10) (on /dev/sdb1)" {
        set root=(hd1,1)
        linux /boot/vmlinuz-2.6.30-4-generic root=/dev/sdb1
        initrd /boot/initrd.img-2.6.30-4-generic
}
menuentry "Ubuntu 9.04 (9.04) (on /dev/sdc1)" {
        set root=(hd2,1)
        linux /boot/vmlinuz-2.6.28-11-generic root=/dev/sdc1
        initrd /boot/initrd.img-2.6.28-11-generic
}
menuentry "Ubuntu 9.04 (9.04) (on /dev/sdc1)" {
        set root=(hd2,1)
        linux /boot/vmlinuz-2.6.28-9-generic root=/dev/sdc1
        initrd /boot/initrd.img-2.6.28-9-generic
}
menuentry "Foresight Linux (2.6.29.2-3-fl.smp.gcc4.1.x86.i686) (on /dev/sdd1)" {
        set root=(hd3,1)
        linux /boot/vmlinuz-2.6.29.2-3-fl.smp.gcc4.1.x86.i686 quiet ro 
vga=0x317 splash root=LABEL=Foresight2.11
        initrd /boot/initrd-2.6.29.2-3-fl.smp.gcc4.1.x86.i686.img
}
menuentry "Ubuntu 9.04 (9.04) (on /dev/sdd3)" {
        set root=(hd3,3)
        linux /boot/vmlinuz-2.6.28-11-generic root=/dev/sdd3
        initrd /boot/initrd.img-2.6.28-11-generic

Fstab:
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system>                                          <mount point>        
<type>  <options>                            <dump>  <pass>
proc                                                       /proc               
proc    defaults                              0       0
# /dev/sdb2
UUID=fc1446a5-94e9-40f8-9ebb-2442107fc13c                  /                   
ext4    noatime,nodiratime                    0       1
# /dev/sdb4
UUID=c81311a5-5267-48e8-95a1-64e5e2819976                  /home               
ext4    noatime,nodiratime                    0       2
# /dev/sdc1
UUID=356e0a23-302e-4054-9bdf-025cc85f1089                  /mnt/KKbackup       
ext4    noatime,nodiratime                    0       2
# /dev/sdc3
UUID=f5f74c05-784d-444c-b192-b83a58b80efb                  /mnt/KKbackuphome   
ext4    noatime,nodiratime                    0       2
# /dev/sdb3
UUID=fd3df141-88e3-42b9-9606-d50c38c0806e                  /mnt/Jauntyhome     
ext4    noatime,nodiratime                    0       2
# /dev/sdb1
UUID=527253c9-7db5-458b-85b9-1aba8bb85955                  /mnt/Jaunty         
ext4    noatime,nodiratime                    0       2
LABEL=Storage                                              /media/Storage      
ext4    noatime,nodiratime                    0       2
#/dev/sdd3
UUID=358ac090-55d8-4b7d-93ee-eb02fa538ca5                  /mnt/Karmic64       
ext4    noatime,nodiratime                    0       2
#/dev/sdd4
UUID=ce12aecb-3b28-4709-b79d-6c62592cbbad                  /mnt/Karmic64home   
ext4    noatime,nodiratime                    0       2
#/dev/sdd1
UUID=ee8a98fc-463e-4118-99cf-6742975f674c                  /mnt/Foresight2.11  
ext3    noatime,nodiratime                    0       2
#/dev/sdd2
UUID=53eb00a9-62ca-43ae-8aab-632ab78d49fe                  /mnt/Foresighthome  
ext3    noatime,nodiratime                    0       2
#/dev/sdc2 
LABEL=SWAP                                                  none               
swap    sw                                    0       0
/dev/scd1                                                  /media/cdrom0       
udf,iso9660 user,noauto,exec,utf8             0       0
/dev/scd0                                                  /media/cdrom1       
udf,iso9660 user,noauto,exec,utf8             0       0

Old menu.lst

## ## End Default Options ##
title           Karmic (development branch 9.10), kernel 2.6.30-8-generic
uuid            fc1446a5-94e9-40f8-9ebb-2442107fc13c
kernel          /boot/vmlinuz-2.6.30-8-generic 
root=UUID=fc1446a5-94e9-40f8-9ebb-2442107fc13c ro quiet splash vga=893 
concurrency=shell
initrd          /boot/initrd.img-2.6.30-8-generic
quiet

title           Karmic (development branch 9.10), kernel 2.6.30-8-generic 
(recovery mode)
uuid            fc1446a5-94e9-40f8-9ebb-2442107fc13c
kernel          /boot/vmlinuz-2.6.30-8-generic 
root=UUID=fc1446a5-94e9-40f8-9ebb-2442107fc13c ro  single
initrd          /boot/initrd.img-2.6.30-8-generic

title           Karmic (development branch 9.10), kernel 2.6.30-7-generic
uuid            fc1446a5-94e9-40f8-9ebb-2442107fc13c
kernel          /boot/vmlinuz-2.6.30-7-generic 
root=UUID=fc1446a5-94e9-40f8-9ebb-2442107fc13c ro quiet splash mem=6G 
concurrency=shell
initrd          /boot/initrd.img-2.6.30-7-generic
quiet

title           KKbackup (development branch 9.10), kernel 2.6.30-4-generic
uuid            356e0a23-302e-4054-9bdf-025cc85f1089
kernel          /boot/vmlinuz-2.6.30-4-generic 
root=UUID=356e0a23-302e-4054-9bdf-025cc85f1089 ro quiet splash mem=6G 
concurrency=shell
initrd          /boot/initrd.img-2.6.30-4-generic
quiet

title           Karmic64 (development branch 9.10), kernel 2.6.28-11-generic
uuid            358ac090-55d8-4b7d-93ee-eb02fa538ca5
kernel          /boot/vmlinuz-2.6.28-11-generic 
root=UUID=358ac090-55d8-4b7d-93ee-eb02fa538ca5 ro quiet splash concurrency=shell
initrd          /boot/initrd.img-2.6.28-11-generic
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title           Other operating systems:
root

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc1.
title           Jaunty, kernel 2.6.28-11-generic
uuid            527253c9-7db5-458b-85b9-1aba8bb85955
kernel          /boot/vmlinuz-2.6.28-11-generic 
root=UUID=527253c9-7db5-458b-85b9-1aba8bb85955 ro quiet splash mem=6G 
concurrency=shell
initrd          /boot/initrd.img-2.6.28-11-generic
savedefault
boot

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdd1.
title           Foresight 2.11
uuid            ee8a98fc-463e-4118-99cf-6742975f674c
kernel          /boot/vmlinuz-2.6.29.2-3-fl.smp.gcc4.1.x86.i686 quiet ro 
vga=0x317 splash root=UUID=ee8a98fc-463e-4118-99cf-6742975f674c
initrd          /boot/initrd-2.6.29.2-3-fl.smp.gcc4.1.x86.i686.img
savedefault
boot

title           Memory RAM diagnostic
uuid            fc1446a5-94e9-40f8-9ebb-2442107fc13c
kernel          /boot/memtest86+.bin
quiet

d...@linux:~/Desktop$ lsb_release -rd
Description:    Ubuntu karmic (development branch)
Release:        9.10

d...@linux:~/Desktop$ apt-cache policy grub2
grub2:
  Installed: 1.96+20090523-1ubuntu1
  Candidate: 1.96+20090523-1ubuntu1
  Version table:
 *** 1.96+20090523-1ubuntu1 0
        500 http://archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
Architecture: i386
Date: Wed Jun 10 01:52:35 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: grub2 1.96+20090523-1ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.30-8.9-generic
SourcePackage: grub2
Uname: Linux 2.6.30-8-generic i686

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


** Tags: apport-bug i386

-- 
OS prober assigning wrong values
https://bugs.launchpad.net/bugs/385500
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to