[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 11:58:59 UTC 2024


Just an FYI... but on the two cases I've encountered this issue I didn't
install as per #14.  I'll have always performed a

1. full disk install (any prior partitioning erased); noble (may not have been lubuntu) but single partition only
2. install alongside (calamares wording; auto-resize type creating a second install)

(ie. I did two install types & achieved same result as steps 1 & 2 as
Mate (mkukri) in comment #14)

At step 3 my usual thing is a 'replace partition' (calamares wording)
install using one of the partitions (this is a FORMAT install).. where
which partition I use is ~random (usually opting to keep the partition
I'll most recognize as untouched; the install where I changed the
wallpaper usually so easily recognized)..

Any testing of 'install using existing partition' for me would be 4th
(or 5th) install almost guaranteed I believe..

My point is it can be triggered in other ways I believe, but again very
few users will encounter it... I rarely encountered it!


(then again what I listed ^ is what I did today, do most days probably too.. maybe why I've not experienced it much as I suspect i re-use SDA2 most days (& not sda1); ie. changing wallpaper on that first install (of the day) so its recognized on the many installs that usually follow...)

I concur with view not a release blocker.

--  said by me on #lubuntu-devel (matrix)
> It may worthwhile (if not fixed & I doubt it will be) for me to create a page on [lubuntu]discourse(doco) for users should they encounter this issue  ... to me it's not a big issue; I've only encountered it rarely, it requires specific conditions I doubt many will encounter.. but could be mentioned in release notes as well with somewhere we can point users too...

-- 
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