[Bug 2083176] Re: grub-efi install device being prompted on upgrade, despite only /boot/efi being an option.

Julian Andres Klode 2083176 at bugs.launchpad.net
Mon Sep 30 12:57:57 UTC 2024


That's correct yes; if the option hasn't been set yet, and /boot/efi is
mounted, it migrates /boot/efi into it:


# We either migrate /boot/efi over, or we check if we have invalid devices
if [ -z "$RET" ] && [ "$seen" != "true" ]; then
  echo "Trying to migrate /boot/efi into esp config"
  esp="$(get_mounted_device /boot/efi)"
  if [ "$esp" ]; then
    esp="$(device_to_id "$esp")"
  fi
  if [ "$esp" ]; then
    db_set grub-efi/install_devices "$esp"
    db_fset grub-efi/install_devices seen true
    RET="$esp"
  fi
else
  for device in $RET; do
    if [ ! -e "${device%,}" ]; then
      valid=0
      break
    fi
  done
fi

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

Title:
  grub-efi install device being prompted on upgrade, despite only
  /boot/efi being an option.

Status in grub2 package in Ubuntu:
  Confirmed

Bug description:
  A family member just sent me this dialog that popped up when they
  installed their updates today. I'm not sure how a regular user is
  supposed to be able to handle what is presented here. Do they check
  the box? What happens if they don't?

  Heck, even I don't know what the proper action is here.

  This dialog box needs to be removed and a safe default needs to be
  applied automatically during upgrades.

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




More information about the foundations-bugs mailing list