Precise GRUB create several entries of previous versions after installed

Bug #947482 reported by Jorge Antonio Dias Romero
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I had the following partitions in my HDD

/dev/sda1 -> Windows
/dev/sda5 -> Oneiric
/dev/sda6 -> Swap

I resize (shrink) the windows partition with Gparted and installed Precise Beta in a new partition /dev/sda3 (see fdisk -l attached).

After the installation of Precise, the GRUB loads and works normally, but several entries appears. I attached a screenshot of the grub screen.

I have only 3 systems, but the Grub screen have 4 entries for "Ubuntu, with Linux with 3.0.0.X" : 3.0.0.16-generic, 3.0.0.15-generic, 3.0.0.14-generic and 3.0.0.12-generic). All them opens Oneiric (see atacched screenshot for better understanding)

I tried run the command update-grub, but nothing change.

-What you expected to happen

I expect to have one entry for each system.

-What actually happened

After Precise installation, several entries appeared, all them related with the Ubuntu Linux 3.0.0.X.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: grub (not installed)
ProcVersionSignature: Ubuntu 3.2.0-18.28-generic-pae 3.2.9
Uname: Linux 3.2.0-18-generic-pae i686
NonfreeKernelModules: wl
ApportVersion: 1.94-0ubuntu1
Architecture: i386
Date: Mon Mar 5 17:37:11 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120301)
ProcEnviron:
 LANGUAGE=pt_BR:pt:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
SourcePackage: grub
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jorge Antonio Dias Romero (jorgepoa10-deactivatedaccount) wrote :
Revision history for this message
Jorge Antonio Dias Romero (jorgepoa10-deactivatedaccount) wrote :
Revision history for this message
Jorge Antonio Dias Romero (jorgepoa10-deactivatedaccount) wrote :
Steve Langasek (vorlon)
affects: grub (Ubuntu) → grub2 (Ubuntu)
Revision history for this message
Phillip Susi (psusi) wrote :

This is normal. When you have multiple installations of Ubuntu, they are all added to the grub menu.

Changed in grub2 (Ubuntu):
status: New → Invalid
Revision history for this message
Jorge Antonio Dias Romero (jorgepoa10-deactivatedaccount) wrote :

Thanks Phillip. After a deeper research, i found that grub creates, by default, entries for all older kernel images , so it's really not a bug. It's the normal behaviour of grub.

To keep the Grub screen less "polluted" i used a program called "grub-customizer", to remove some entries, following this tutorial: http://ubuntuforums.org/showthread.php?t=1664134. This tip, may be useful for those who want remove some entries from the initial screen without delete the kernel images.

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.