[Bug 2066142] Re: grub-install with --removable flag broken in ubuntu 24.04

Launchpad Bug Tracker 2066142 at bugs.launchpad.net
Tue Aug 27 04:17:17 UTC 2024


[Expired for grub2 (Ubuntu) because there has been no activity for 60
days.]

** Changed in: grub2 (Ubuntu)
       Status: Incomplete => Expired

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

Title:
  grub-install with --removable flag broken in ubuntu 24.04

Status in grub2 package in Ubuntu:
  Expired

Bug description:
  Ubuntu Version: 24.04
  Grub2-common: 2.12-1ubuntu7

  Use Case/Scenario:

  Create a bootable disk image.
   
  Commands:
  sudo qemu-nbd --connect=/dev/nbd0 <disk image file that was created>
  sudo mount /dev/nbd0p3 /tmp/boot/
  sudo mount /dev/nbd0p2 /tmp/efi/
  sudo grub-install --target=x86_64-efi --efi-directory=/tmp/efi/ --boot-directory=/tmp/boot/ --modules="ext2 fat part_gpt xzio squash4" --removable --compress=xz

  Write menuentries to /tmp/boot/grub/grub.cfg


  What Happens:
  System boots into grub prompt. Grub does not load /EFI/BOOT/grub.cfg automatically.

  Manual Recovery on every boot:
  Run this command when boot drops to grub shell: source $fw_path/grub.cfg

  grub-install without --removable option works fine, but in my
  understanding --removable option is required for some older EFI
  systems at least.

  This works fine when the same grub-install with --removable flag is
  run on ubuntu 22.04 system.

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




More information about the foundations-bugs mailing list