Ubuntu creates cluttered Petitboot menu entries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
Xenial |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
grub2-signed (Ubuntu) |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
Xenial |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre |
Bug Description
[Impact]
PowerNV users.
[Test case]
== PowerNV ==
Needs to be done on a PowerNV system.
1) Install another operating system on a separate disk partition (such as Fedora or whatnot)
2) Install Ubuntu on a different partition.
2) Ensure os-prober isn't run and that all that is listed in grub is the Ubuntu entries, and that the Petitboot menu correctly lists only Ubuntu under the right partition, and doesn't duplicate the other installed operating system.
== Non-PowerNV ppc64el ==
To be run on non-powerNV systems (any of powerVM/powerKVM)
1) Install another operating system on a separate disk partition (see above)
2) Install Ubuntu on a different partition
3) Ensure the grub menu created by Ubuntu allows starting both operating systems.
[Regression Potential]
Due to the changes, os-prober not running to fill in the grub menu on a system with other operating systems installed (so as to list them in grub) would constitute a regression. Also, showing extra OSes again as retrieved from a partition's grub menu where os-prober should not have run.
----
Problem Description
=======
Unlike PowerKVM and Fedora 21, Ubuntu 14.10 adds boot images from other disks to it's grub config which makes the Petitboot menu very cluttered.
Machine Type = 8286-42A
Steps to Reproduce
=======
Petitboot (dev.20150216) 8286-42A 107C53T
[Disk: sdc2 / c0c232c5-
IBM_PowerKVM 3.1.0, with Linux 3.18.0-
System information
System configuration
Language
Rescan devices
Retrieve config from URL
*Exit to shell
- I then installed Ubuntu 14.10 on a second drive:
Petitboot (dev.20150216) 8286-42A 107C53T
[Disk: sdc2 / c0c232c5-
IBM_PowerKVM 3.1.0, with Linux 3.18.0-
[Disk: sdb2 / cbe16446-
IBM_PowerKVM 3.1.0, with Linux 3.18.0-
unknown Linux distribution (on /dev/mapper/
Ubuntu, with Linux 3.16.0-31-generic (recovery mode)
Ubuntu, with Linux 3.16.0-31-generic
Ubuntu
System information
System configuration
Language
Rescan devices
Retrieve config from URL
*Exit to shell
- I then installed Fedora 21 a third drive:
Petitboot (dev.20150216) 8286-42A 107C53T
[Disk: sda2 / af68d8cd-
Fedora, with Linux 0-rescue-
Fedora, with Linux 3.17.4-
[Disk: sdc2 / c0c232c5-
IBM_PowerKVM 3.1.0, with Linux 3.18.0-
[Disk: sdb2 / cbe16446-
IBM_PowerKVM 3.1.0, with Linux 3.18.0-
unknown Linux distribution (on /dev/mapper/
Ubuntu, with Linux 3.16.0-31-generic (recovery mode)
Ubuntu, with Linux 3.16.0-31-generic
Ubuntu
System information
System configuration
Language
Rescan devices
Retrieve config from URL
*Exit to shell
- I then reinstalled Ubuntu 14.10 on the second drive:
Petitboot (dev.20150216) 8286-42A 107C53T
*[Disk: sda2 / af68d8cd-
Fedora, with Linux 0-rescue-
Fedora, with Linux 3.17.4-
[Disk: sdc2 / c0c232c5-
IBM_PowerKVM 3.1.0, with Linux 3.18.0-
[Disk: sdb2 / 0464ba94-
IBM_PowerKVM 3.1.0, with Linux 3.18.0-
unknown Linux distribution (on /dev/mapper/
Fedora, with Linux 0-rescue-
Fedora, with Linux 3.17.4-
Fedora release 21 (Twenty One) (on /dev/mapper/
Ubuntu, with Linux 3.16.0-31-generic (recovery mode)
Ubuntu, with Linux 3.16.0-31-generic
Ubuntu
System information
System configuration
Language
Rescan devices
Retrieve config from URL
*Exit to shell
Install ISO Information: http://
Userspace tool common name: grub2
The userspace tool has the following bit modes: 64-bit
Install method: HTTP
Userspace rpm: grub2-common
Install disk info: /dev/sda2
== Comment: #1 - Rolf Brudeseth <email address hidden> - 2015-03-09 21:42:08 ==
Jeremy Kerr indicated that this is the fix:
GRUB_DISABLE_
In /etc/default/grub
== Comment: #3 - Rolf Brudeseth <email address hidden> - 2015-03-10 01:42:40 ==
dude@tul304p1:
5a6
> GRUB_DISABLE_
dude@tul304p1:
Generating grub configuration file ...
Found linux image: /boot/vmlinux-
Found initrd image: /boot/initrd.
done
- After a reboot:
Petitboot (dev.20150216) 8286-42A 107C53T
[Disk: sda2 / af68d8cd-
Fedora, with Linux 0-rescue-
Fedora, with Linux 3.17.4-
[Disk: sdc2 / c0c232c5-
IBM_PowerKVM 3.1.0, with Linux 3.18.0-
[Disk: sdb2 / 0464ba94-
Ubuntu, with Linux 3.16.0-31-generic (recovery mode)
Ubuntu, with Linux 3.16.0-31-generic
Ubuntu
System information
System configuration
Language
Rescan devices
Retrieve config from URL
*Exit to shell
== Comment: #7 - Rolf Brudeseth <email address hidden> - 2015-04-07 18:32:26 ==
This is with 15.04.
Petitboot (dev.20150326) 8286-42A 107C53T
[Disk: sdb2 / d484d832-
IBM_PowerKVM 3.1.0, with Linux 3.18.0-
[Disk: sda2 / 2024aac1-
IBM_PowerKVM 3.1.0, with Linux 3.18.0-
unknown Linux distribution (on /dev/mapper/
Ubuntu, with Linux 3.19.0-12-generic (recovery mode)
Ubuntu, with Linux 3.19.0-12-generic
Ubuntu
System information
System configuration
Language
Rescan devices
Retrieve config from URL
*Exit to shell
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
== Comment: #8 - Rolf Brudeseth <email address hidden> - 2015-04-07 19:25:46 ==
I don't know if I have 14.10 or something newer.
I installed from the 'utopic-updates' URL:
http://
Petitboot (dev.20150326) 8286-42A 107C53T
[Disk: sdb2 / d484d832-
IBM_PowerKVM 3.1.0, with Linux 3.18.0-
[Disk: sda2 / 901486ef-
IBM_PowerKVM 3.1.0, with Linux 3.18.0-
unknown Linux distribution (on /dev/mapper/
Ubuntu, with Linux 3.16.0-33-generic (recovery mode)
Ubuntu, with Linux 3.16.0-33-generic
Ubuntu
System information
System configuration
Language
Rescan devices
Retrieve config from URL
*Exit to shell
dude@tul304p1:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
tags: | added: architecture-ppc64le bugnameltc-122570 severity-medium targetmilestone-inin--- |
affects: | ubuntu → grub2 (Ubuntu) |
tags: |
added: targetmilestone-inin1510 removed: targetmilestone-inin--- |
tags: | added: taco-screen-team |
tags: | added: bugnameltc-122570 severity-medium |
Changed in grub2 (Ubuntu): | |
assignee: | Taco Screen team (taco-screen-team) → Mathieu Trudel-Lapierre (cyphermox) |
tags: |
added: targetmilestone-inin16042 removed: targetmilestone-inin16041 |
Changed in grub2-signed (Ubuntu): | |
importance: | Undecided → Medium |
Changed in grub2-signed (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in grub2-signed (Ubuntu): | |
status: | New → In Progress |
Changed in grub2-signed (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in grub2 (Ubuntu Xenial): | |
status: | Triaged → In Progress |
Changed in grub2-signed (Ubuntu): | |
assignee: | nobody → Mathieu Trudel-Lapierre (cyphermox) |
Changed in grub2-signed (Ubuntu Xenial): | |
assignee: | nobody → Mathieu Trudel-Lapierre (cyphermox) |
description: | updated |
Changed in grub2-signed (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Status changed to 'Confirmed' because the bug affects multiple users.