Lost entry in grub menu

Bug #691834 reported by Nizar Kerkeni
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: grub2
Rectification : The installed package is grub-pc version 1.99~20101210-1ubuntu2

I'm running Natty in dual boot with Maverick in separated partitions. For each kernel update in Natty the grub menu keeps the entry for Maverick. After the last update (I noted that the kernel was updated but haven't seen if grub was updated too) the meny entry to Maverick was lost. Running update-grub manually don't resolve this issue as the update don't detect the 10.10 version.

~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.37-10-generic
Found initrd image: /boot/initrd.img-2.6.37-10-generic
Found linux image: /boot/vmlinuz-2.6.37-9-generic
Found initrd image: /boot/initrd.img-2.6.37-9-generic
Found memtest86+ image: /boot/memtest86+.bin
done

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: grub2 (not installed)
ProcVersionSignature: Ubuntu 2.6.37-10.24-generic 2.6.37-rc6
Uname: Linux 2.6.37-10-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sat Dec 18 10:13:50 2010
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101202)
ProcEnviron:
 LANGUAGE=fr_FR:fr:en_GB:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LC_MESSAGES=fr_FR.utf8
 SHELL=/bin/bash
SourcePackage: grub2

Nizar Kerkeni (nizarus)
description: updated
KevinM (kevbert1)
Changed in grub2 (Ubuntu):
status: New → Confirmed
Revision history for this message
KevinM (kevbert1) wrote :
Download full text (4.3 KiB)

I've just got this problem after updating the Natty Kubuntu kernel to 2.6.38-5-generic #32-Ubuntu SMP Tue Feb 22 16:10:15 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux from 2.6.38-3. I have a number of partitions (1 of which is Kubuntu and 2 Ubuntu). The Lucid Lynx Partition (sdb5) is not shown in the grub2 menu list, but is still there as shown by
$ sudo blkid
[sudo] password for kevin:
/dev/sda1: UUID="F8D82972D8292FF4" TYPE="ntfs"
/dev/sda5: LABEL="Music" UUID="C82C72412C722B18" TYPE="ntfs"
/dev/sda6: LABEL="Data" UUID="9660546760544FDB" TYPE="ntfs"
/dev/sda7: UUID="6c104125-11d8-4775-9206-5dc82915e422" TYPE="swap"
/dev/sda8: LABEL="KB-NN" UUID="5bea48eb-932d-4a3f-97db-d11747762eab" TYPE="ext4"
/dev/sdb1: LABEL="ISO-FILES" UUID="4A47-915E" TYPE="vfat"
/dev/sdb5: UUID="d2d5bde7-c446-486e-9f16-a47239e21e0e" TYPE="ext4" *** Lucid Lynx ""
/dev/sdb6: UUID="f20905e7-7193-4134-833a-95456f61cc93" TYPE="ext4"
$ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x46c446c3

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 10199 81923436 7 HPFS/NTFS
/dev/sda2 10200 19457 74364854+ f W95 Ext'd (LBA)
/dev/sda5 10200 11475 10249438+ 7 HPFS/NTFS
/dev/sda6 11476 13522 16442496 7 HPFS/NTFS
/dev/sda7 18242 19457 9767488+ 82 Linux swap / Solaris
/dev/sda8 13523 18241 37904384 83 Linux

Partition table entries are not in disk order

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0673fa40

   Device Boot Start End Blocks Id System
/dev/sdb1 ...

Read more...

Revision history for this message
KevinM (kevbert1) wrote :

**** Work around ****
In order to recover the missing menu entries it seems that you have to mount the missing drive, so that you can access the files. I did this via Dolphin (Nautilus in Ubuntu). Once this partition is mounted I ran sudo update-grub in Konsole (terminal) and the menu entry was then generated.

Revision history for this message
Nizar Kerkeni (nizarus) wrote :

Got this bug again when updating to Natty Beta version, and the KevinM work around solved it.

Revision history for this message
Hawk (beehock) wrote :

funny thing for me was if my other partition was lucid/maverick, it can be detected. But if I have two partitions of natty, it does detect each other.

Revision history for this message
Hawk (beehock) wrote :

issue was resolved for after the latest update on natty. think its was the os-prober.

Revision history for this message
Colin Watson (cjwatson) wrote :

Yes, it seems likely that this was another instance of bug 683355.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.