** Description changed: + [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 + + 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 + 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 + 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 + 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 + 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 + Userspace rpm: grub2-common Install disk info: /dev/sda2 == Comment: #1 - Rolf Brudeseth <[email protected]> - 2015-03-09 21:42:08 == Jeremy Kerr indicated that this is the fix: - GRUB_DISABLE_OS_PROBER=true + GRUB_DISABLE_OS_PROBER=true In /etc/default/grub == Comment: #3 - Rolf Brudeseth <[email protected]> - 2015-03-10 01:42:40 == dude@tul304p1:/etc/default$ diff grub.orig grub 5a6 > GRUB_DISABLE_OS_PROBER=true dude@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 + 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 <[email protected]> - 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 + 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 <[email protected]> - 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@tul304p1:~$ cat /etc/lsb-release + 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@tul304p1:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.10 DISTRIB_CODENAME=utopic DISTRIB_DESCRIPTION="Ubuntu 14.10"
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1447500 Title: Ubuntu creates cluttered Petitboot menu entries To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1447500/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
