• need to add EFI option to Ubuntu (grub) boot menu

    From bilsch01@usenet@writer.com to alt.os.linux.ubuntu on Sun Oct 15 00:29:00 2023
    From Newsgroup: alt.os.linux.ubuntu

    I deleted 2 ext4 partitions and extended my ntfs (Windows) partition by additional 98 GiB, which left about 45 GiB space at the end of the SSD.
    Next, I installed Ubuntu 22.04.3 at the end of the SSD using the 22.04.3 installer on a thumb drive. This gave me back my boot menu, which had disappeared when I deleted Ubuntu - good.

    The new boot menu has no option to enter EFI setup. I really want that
    option on the menu - I really want that. Someone suggested this problem
    might be because I booted my Ubuntu 22.04.3 installer in 'compatibility'
    mode, instead of EFI mode. They said if Ubuntu does not have the directory sys.firmware.efi
    then I must have booted the installer in compatibility mode. However I
    DO have directory
    sys.firmware.efi. Furthermore, nowhere do I find an option to choose "compatibility" or "EFI" when booting the Ubuntu installer.

    Can anyone tell me how to add the EFI option to the (grub) boot menu.

    TIA. Bill S


    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Paul@nospam@needed.invalid to alt.os.linux.ubuntu on Sat Oct 14 22:17:52 2023
    From Newsgroup: alt.os.linux.ubuntu

    On 10/15/2023 3:29 AM, bilsch01 wrote:
    I deleted 2 ext4 partitions and extended my ntfs (Windows) partition by additional 98 GiB, which left about 45 GiB space at the end of the SSD.
    Next, I installed Ubuntu 22.04.3 at the end of the SSD using the 22.04.3 installer on a thumb drive. This gave me back my boot menu, which had disappeared when I deleted Ubuntu - good.

    The new boot menu has no option to enter EFI setup. I really want that option on the menu - I really want that. Someone suggested this problem might be because I booted my Ubuntu 22.04.3 installer in 'compatibility' mode, instead of EFI mode. They said if Ubuntu does not have the directory
    sys.firmware.efi
    then I must have booted the installer in compatibility mode. However I DO have directory
    sys.firmware.efi. Furthermore, nowhere do I find an option to choose "compatibility" or "EFI" when booting the Ubuntu installer.

    Can anyone tell me how to add the EFI option to the (grub) boot menu.

    TIA.   Bill S

    https://www.baeldung.com/linux/grub-bootloader-add-new-os

    "
    $ sudo cat /etc/default/grub | grep 'GRUB_DISABLE_OS_PROBER'
    GRUB_DISABLE_OS_PROBER=true

    If we get false, then it shows os-prober is active. That example needs to be changed.

    # sudo update-grub
    "

    apt search os-prober

    sudo apt install os-prober # If it is not currently installed

    That's the kind of material, to make GRUB pick up windows OSes.
    Check your os-prober, before doing the update-grub.

    [Picture]

    https://i.postimg.cc/WzrWxRY7/Boot-Menu-Multiboot-Mix.gif

    This is what the update-grub looks like, when I run it there.
    This would correspond to the provided [Picture].

    bullwinkle@CRUISE:~$ sudo update-grub
    Sourcing file `/etc/default/grub'
    Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
    Sourcing file `/etc/default/grub.d/init-select.cfg'
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-5.15.0-86-generic \
    Found initrd image: /boot/initrd.img-5.15.0-86-generic \
    Found linux image: /boot/vmlinuz-5.15.0-76-generic \
    Found initrd image: /boot/initrd.img-5.15.0-76-generic \___ 21.2 material Found linux image: /boot/vmlinuz-5.15.0-73-generic /
    Found initrd image: /boot/initrd.img-5.15.0-73-generic /
    Warning: os-prober will be executed to detect other bootable partitions.
    Its output will be used to detect bootable binaries on them and create new boot entries.
    Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
    Found Linux Mint 21.1 Vera (21.1) on /dev/sda5
    Adding boot menu entry for UEFI Firmware Settings ...
    done
    bullwinkle@CRUISE:~$

    Paul
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From bilsch01@usenet@writer.com to alt.os.linux.ubuntu on Mon Oct 16 08:49:48 2023
    From Newsgroup: alt.os.linux.ubuntu

    On 10/14/2023 7:17 PM, Paul wrote:
    On 10/15/2023 3:29 AM, bilsch01 wrote:
    I deleted 2 ext4 partitions and extended my ntfs (Windows) partition by additional 98 GiB, which left about 45 GiB space at the end of the SSD.
    Next, I installed Ubuntu 22.04.3 at the end of the SSD using the 22.04.3 installer on a thumb drive. This gave me back my boot menu, which had disappeared when I deleted Ubuntu - good.

    The new boot menu has no option to enter EFI setup. I really want that option on the menu - I really want that. Someone suggested this problem might be because I booted my Ubuntu 22.04.3 installer in 'compatibility' mode, instead of EFI mode. They said if Ubuntu does not have the directory
    sys.firmware.efi
    then I must have booted the installer in compatibility mode. However I DO have directory
    sys.firmware.efi. Furthermore, nowhere do I find an option to choose "compatibility" or "EFI" when booting the Ubuntu installer.

    Can anyone tell me how to add the EFI option to the (grub) boot menu.

    TIA.   Bill S

    https://www.baeldung.com/linux/grub-bootloader-add-new-os

    "
    $ sudo cat /etc/default/grub | grep 'GRUB_DISABLE_OS_PROBER'
    GRUB_DISABLE_OS_PROBER=true

    If we get false, then it shows os-prober is active. That example needs to be changed.

    # sudo update-grub
    "

    apt search os-prober

    sudo apt install os-prober # If it is not currently installed

    That's the kind of material, to make GRUB pick up windows OSes.
    Check your os-prober, before doing the update-grub.

    [Picture]

    https://i.postimg.cc/WzrWxRY7/Boot-Menu-Multiboot-Mix.gif

    This is what the update-grub looks like, when I run it there.
    This would correspond to the provided [Picture].

    bullwinkle@CRUISE:~$ sudo update-grub
    Sourcing file `/etc/default/grub'
    Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
    Sourcing file `/etc/default/grub.d/init-select.cfg'
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-5.15.0-86-generic \
    Found initrd image: /boot/initrd.img-5.15.0-86-generic \
    Found linux image: /boot/vmlinuz-5.15.0-76-generic \
    Found initrd image: /boot/initrd.img-5.15.0-76-generic \___ 21.2 material Found linux image: /boot/vmlinuz-5.15.0-73-generic /
    Found initrd image: /boot/initrd.img-5.15.0-73-generic /
    Warning: os-prober will be executed to detect other bootable partitions.
    Its output will be used to detect bootable binaries on them and create new boot entries.
    Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi Found Linux Mint 21.1 Vera (21.1) on /dev/sda5
    Adding boot menu entry for UEFI Firmware Settings ...
    done
    bullwinkle@CRUISE:~$

    Paul

    By chance I tried the boot menu option titled: ADVANCED OPTIONS FOR
    UBUNTU
    and from there I selected the option titled: UBUNTU, WITH LINUX 6.2.0-34-GENERIC (RECOVERY MODE)

    That opens a menu that has an option titled: UPDATE GRUB BOOTLOADER. I clicked that and now the boot menu is corrected i.e. it has the EFI
    settings option that it is supposed to have.
    --- Synchronet 3.20a-Linux NewsLink 1.114