[Bug 2060624] Re: lubuntu/xubuntu reinstall (& install) on dual boot system, grub does appear & offer OS choice

Chris Guiver 2060624 at bugs.launchpad.net
Tue Apr 23 09:39:35 UTC 2024


I have made many installs of various boxes, and exploring logs of the
iso.qa.ubu link in comment #3 i see only two references to this issue
(within a few days of each other), which include the following

---
hp dc7700 (c2d-e6320, 8gb, amd/ati rv610/radeon hd2400 pro/xt)
testcase: install using existing partition
---

I've made four installs on that box today
(https://iso.qa.ubuntu.com/qatracker/milestones/453/builds/300140/testcases/1701/results/)
yet did NOT experience the issue.  Currently the box has two installs
(first was full disk, then auto-resize equiv.. ) so I'll try and repeat
the install I made in the next hour+ and see if it occurs.

Lubuntu testcases are described here -
https://discourse.lubuntu.me/t/testing-checklist-understanding-the-
testcases/2743

but an INSTALL USING EXISTING PARTITION means

- boot install media
- using manual partitioning, selecting an existing partition (for /) BUT DO NOT FORMAT  (ie. re-use it...)


This is NO longer possible with Xubuntu as FORMAT is now mandatory (due to another bug, scheduled for fix post-release of noble..) 

I'll add some non-standard packages to one of my installed systems on
dc7700 (per testcase; something for installer to re-install), then
attempt to re-create this issue & reply back in an hour (or three) and
see if it re-occurs...  then provide detailed description of what I did
(if issue re-occurs).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/2060624

Title:
  lubuntu/xubuntu reinstall (& install) on dual boot system, grub does
  appear & offer OS choice

Status in grub2 package in Ubuntu:
  New

Bug description:
  Warning: os-prober will not be executed to detect other bootable partitions.
  ----

  Lubuntu noble install to
  - hp dc7700 (c2d-e6320, 8gb, amd/ati rv610/radeon hd2400 pro/xt)

  System had two Lubuntu noble installs on box; original full disk install (sda1) + install alongside (sda2)
  This box is legacy (BIOS) or pre-uEFI (2005 HP Compaq) so no ESP was created at install time

  guiverc at dc7700-3:~$   blkid
  /dev/sda2: LABEL="lubuntu_2404" UUID="4b96ae36-ff60-46ff-888d-bab52f0664fc" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="b22c54df-02"
  /dev/sda1: LABEL="lubuntu_2404" UUID="24611116-48e0-47e3-af47-4cd692dcdbd6" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="b22c54df-01"

  ** expected result

  On reboot post-install (Lubuntu so calamares install) I grub did NOT
  appear, so I could boot into the untouched install & checked it worked
  (grub offered me two options correctly prior to install).

  ** actual result

  No grub menu appeared, so no dual boot option was offered??

  No problem, I'll just `update-grub` and that should fix it won't it?

  guiverc at dc7700-3:~$ sudo update-grub
  [sudo] password for guiverc:
  Sourcing file `/etc/default/grub'
  Sourcing file `/etc/default/grub.d/lubuntu-grub-theme.cfg'
  Generating grub configuration file ...
  Found theme: /usr/share/grub/themes/lubuntu-grub-theme/theme.txt
  Found linux image: /boot/vmlinuz-6.8.0-22-generic
  Found initrd image: /boot/initrd.img-6.8.0-22-generic
  Found memtest86+x64 image: /boot/memtest86+x64.bin
  Warning: os-prober will not be executed to detect other bootable partitions.
  Systems on them will not be added to the GRUB boot configuration.
  Check GRUB_DISABLE_OS_PROBER documentation entry.
  Adding boot menu entry for UEFI Firmware Settings ...
  done

  The issue is
  Warning: os-prober will not be executed to detect other bootable partitions.

  Prior releases of Ubuntu haven't done this (new grub 2.06 change) with
  a patch (ubuntu-os-prober-auto.patch) carried by Ubuntu that reverses
  this upstream change..

  If this is new behavior (for noble) we (Lubuntu at least) just need to
  document it, as its a change to mantic, lunar & prior releases (inc.
  kinetic, jammy which were 2.06 or later, it was default prior to jammy
  anyway).

  Maybe I'm missing something... I'll correct/add more as I can

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: grub2-common 2.12-1ubuntu7
  ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
  Uname: Linux 6.8.0-22-generic x86_64
  ApportVersion: 2.28.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: LXQt
  Date: Tue Apr  9 16:21:14 2024
  InstallationDate: Installed on 2024-04-09 (0 days ago)
  InstallationMedia: Lubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240408)
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2060624/+subscriptions




More information about the foundations-bugs mailing list