[Bug 1447500] [NEW] Ubuntu creates cluttered Petitboot menu entries

Launchpad Bug Tracker 1447500 at bugs.launchpad.net
Thu Apr 23 13:58:06 UTC 2015


You have been subscribed to a public bug:

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-da92-427d-b23e-fa9f8ac6a525]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le

  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-da92-427d-b23e-fa9f8ac6a525]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le
  [Disk: sdb2 / cbe16446-c592-443d-971e-82ac66d07811]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le (on /dev/mapper/ibm
    unknown Linux distribution (on /dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_root)
    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-6430-408a-b66d-397ccd5641b1]
    Fedora, with Linux 0-rescue-979f4766a44f4658ae6c891a1e2d2e10
    Fedora, with Linux 3.17.4-301.fc21.ppc64p7
  [Disk: sdc2 / c0c232c5-da92-427d-b23e-fa9f8ac6a525]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le
  [Disk: sdb2 / cbe16446-c592-443d-971e-82ac66d07811]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le (on /dev/mapper/ibm
    unknown Linux distribution (on /dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_root)
    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-6430-408a-b66d-397ccd5641b1]
    Fedora, with Linux 0-rescue-979f4766a44f4658ae6c891a1e2d2e10
    Fedora, with Linux 3.17.4-301.fc21.ppc64p7
  [Disk: sdc2 / c0c232c5-da92-427d-b23e-fa9f8ac6a525]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le
  [Disk: sdb2 / 0464ba94-dcfe-4b6e-841f-8a0a470562e1]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le (on /dev/mapper/ibm
    unknown Linux distribution (on /dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_root)
    Fedora, with Linux 0-rescue-979f4766a44f4658ae6c891a1e2d2e10 (on /dev/mappe
    Fedora, with Linux 3.17.4-301.fc21.ppc64p7 (on /dev/mapper/fedora--server_t
    Fedora release 21 (Twenty One) (on /dev/mapper/fedora--server_tul304p1-root
    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://ports.ubuntu.com/ubuntu-ports/dists/utopic/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/
 
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 <rolfb at us.ibm.com> - 2015-03-09 21:42:08 ==
Jeremy Kerr indicated that this is the fix:

GRUB_DISABLE_OS_PROBER=true 
In /etc/default/grub

== Comment: #3 - Rolf Brudeseth <rolfb at us.ibm.com> - 2015-03-10 01:42:40 ==
dude at tul304p1:/etc/default$ diff grub.orig grub
5a6
> GRUB_DISABLE_OS_PROBER=true

dude at tul304p1:/etc/default$ sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinux-3.16.0-31-generic
Found initrd image: /boot/initrd.img-3.16.0-31-generic
done

- After a reboot:

 Petitboot (dev.20150216)                                      8286-42A
107C53T

  [Disk: sda2 / af68d8cd-6430-408a-b66d-397ccd5641b1]
    Fedora, with Linux 0-rescue-979f4766a44f4658ae6c891a1e2d2e10
    Fedora, with Linux 3.17.4-301.fc21.ppc64p7
  [Disk: sdc2 / c0c232c5-da92-427d-b23e-fa9f8ac6a525]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-309.el7_1.ppc64le
  [Disk: sdb2 / 0464ba94-dcfe-4b6e-841f-8a0a470562e1]
    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 <rolfb at us.ibm.com> - 2015-04-07 18:32:26 ==
This is with 15.04. 

 Petitboot (dev.20150326)                                      8286-42A 107C53T
  [Disk: sdb2 / d484d832-fa95-4286-92ab-d5e533d1a121]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-312.el7_1.ppc64le
  [Disk: sda2 / 2024aac1-7d09-458d-8485-685a432310d0]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-312.el7_1.ppc64le (on /dev/mapper/ibm
    unknown Linux distribution (on /dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_root)
    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_RELEASE=15.04
DISTRIB_CODENAME=vivid
DISTRIB_DESCRIPTION="Ubuntu Vivid Vervet (development branch)"

== Comment: #8 - Rolf Brudeseth <rolfb at us.ibm.com> - 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://ports.ubuntu.com/ubuntu-ports/dists/utopic-updates/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/

 Petitboot (dev.20150326)                                      8286-42A 107C53T
  [Disk: sdb2 / d484d832-fa95-4286-92ab-d5e533d1a121]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-312.el7_1.ppc64le
  [Disk: sda2 / 901486ef-660b-4f1d-8d19-2f728a065cbf]
    IBM_PowerKVM 3.1.0, with Linux 3.18.0-312.el7_1.ppc64le (on /dev/mapper/ibm
    unknown Linux distribution (on /dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_root)
    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 at tul304p1:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.10
DISTRIB_CODENAME=utopic
DISTRIB_DESCRIPTION="Ubuntu 14.10"

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: architecture-ppc64le bot-comment bugnameltc-122570 severity-medium targetmilestone-inin---
-- 
Ubuntu creates cluttered Petitboot menu entries
https://bugs.launchpad.net/bugs/1447500
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to grub2 in Ubuntu.



More information about the foundations-bugs mailing list