← Back to team overview

ubuntustudio-bugs team mailing list archive

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

 

Tagging calameres  fix.

Desktop/server installer also potentially will need a fix for this if no
reformat installs will be re-eanbled.

** Also affects: calamares-settings-ubuntu (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: grub2 (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to calamares-settings-ubuntu 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 calamares-settings-ubuntu package in Ubuntu:
  New
Status in grub2 package in Ubuntu:
  Invalid

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@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@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/calamares-settings-ubuntu/+bug/2060624/+subscriptions