Duplicate entries in grub2 menu for second ubuntu installed on another partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-prober (Debian) |
New
|
Unknown
|
|||
os-prober (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When running update-grub in Precise to add entries for a freshly installed Quantal system on another partition, linux-boot-prober outputs five entries:
/dev/sda5:
/dev/sda5:
/dev/sda5:
/dev/sda5:
/dev/sda5:
which results in at least three unnecessary entries in the menu. I believe this is caused by /usr/lib/
As a workaround, in /etc/grub.
LINUXPROBED=
at least gets rid of the duplicates. Checking that /vmlinuz is just a symbolic link to /boot/vmlinuz-
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: os-prober 1.51ubuntu3
ProcVersionSign
Uname: Linux 3.2.0-25-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Mon Jun 25 15:53:59 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120411.1)
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: os-prober
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in os-prober (Debian): | |
status: | Unknown → New |
tags: | added: quantal |
With the update to 3.5.0-2-generic in quantal, /boot/grub/grub.cfg was generated. When running update-grub from the precise partition, the grub2 menu is now correct without duplicates (plus additional recovery mode entries).
So I guess this is only an issue after an initial install using: ubiquity -b; to skip installing the boot loader. Once grub.cfg is generated, os-prober doesn't have to guess with 90fallback and we don't get duplicates.