[Bug 758887] Re: Following kernel upgrade to 2.6.38-8.42, grub2 generates duplicate entries in the menu
Pieter
758887 at bugs.launchpad.net
Tue Nov 1 18:29:38 UTC 2011
Also here present is many entries in Grub menu.
I have several disks with several partitions and different Unbuntu versions.
Latest install was the Ubuntu version 11.10 on a new disk with the bootloader on that disk in his own MBR.
Sellecting via the BIOS to set this disk as #1 to start, i noticed that i was having 9 entries for one ubuntu version.
Looking inside the Grub.cfg file made some discoveries there.
What i noticed that all installed kernels were listed and also every .img file.
The meny entry are all called : "Ubuntu 10.04.3 LTS (10.04) (on /dev/sda2)"
And 'img' confusion list:
1. initrd /initrd.img
2. initrd /initrd.img
3. initrd /initrd.img.old
4. initrd /boot/initrd.img-2.6.32-34-generic
5. initrd /boot/initrd.img-2.6.32-35-generic
6. initrd /initrd.img
7. initrd /initrd.img
8. initrd /initrd.img.old
9.initrd /initrd.img.old
Atached my Grub.cfg file as reference.
So where is Grub loosing track of the real kernel and why are they named all the same.
When named in the menu all the same, it is impossible to choose the right one to boot your system.
Grub is becomming a very confusing bootloader if you ask me.
BTW, also i have not installed Grub Customizer on the Ubuntu 11.10
version.
** Attachment added: "grub.cfg"
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/758887/+attachment/2581903/+files/grub.cfg
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/758887
Title:
Following kernel upgrade to 2.6.38-8.42, grub2 generates duplicate
entries in the menu
Status in “grub2” package in Ubuntu:
New
Bug description:
Binary package hint: grub2
I just went with a system update yesterday for Natty Beta 1, and grub2
upon "sudo update-grub" generates duplicate entries in the menu.
Here are certain diagnostic outputs:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
manjul at chaar:~$ uname -a
Linux chaar 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
manjul at chaar:~$ dpkg -l | grep linux-image
ii linux-image-2.6.38-8-generic 2.6.38-8.42 Linux kernel image for version 2.6.38 on x86/x86_64
ii linux-image-generic 2.6.38.8.22 Generic Linux kernel image
manjul at chaar:~$ sudo update-grub
[sudo] password for manjul:
Generating grub.cfg ...
Found background: /usr/share/images/grub/Windbuchencom.tga
Found background image: /usr/share/images/grub/Windbuchencom.tga
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found memtest86+ image: /memtest86+.bin
Found Arch on /dev/sda4
Found Debian GNU/Linux (wheezy/sid) on /dev/sda7
Found Slackware Linux (Slackware 13.1.0) on /dev/sda8
Found Gentoo Base System release 1.12.14 on /dev/sda9
done
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have attached here the file /boot/grub/grub.cfg generated by the
above command, which will show the duplicate entries - they refer to
the same linux-image in each of the distros, as is indicated by the
uuid's
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: grub-pc 1.99~rc1-12ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Tue Apr 12 11:22:28 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: Upgraded to natty on 2011-04-06 (6 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/758887/+subscriptions
More information about the foundations-bugs
mailing list