#317 Kinoite and Silverblue: integrate this script fixing the Grub entries and more
Closed: Duplicate a year ago by siosm. Opened a year ago by boredsquirrel.

if [ -d /sys/firmware/efi ]; then
  grub2-switch-to-blscfg
  grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
else
  block_device=$(lsblk -spnlo name $(grub2-probe --target=device /boot/grub2) | tail -n1)
  grub2-install $block_device
  touch /boot/grub2/.grub2-blscfg-supported
  grub2-mkconfig -o /boot/grub2/grub.cfg
fi

for me it fixed a few problems:

  • duplicate grub entries (known issue!)
  • grub always skipped on UEFI
  • no theming applied, worked instantly after this fix

Metadata Update from @ngompa:
- Issue tagged with: kinoite

a year ago

Metadata Update from @siosm:
- Issue close_status updated to: Duplicate
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata
Boards 1
Kinoite Status: Done