agitationswapping
May 14th, 2023, 07:44 PM
After giving up on setting up dual boot (the closest I got was both operating systems would boot but I had to enter the really long password I set up in Linux to get into Windows and Windows Update was hopelessly broken), I decided to just get a new hard drive and install what I thought would be the easiest Linux distribution. My laptop makes it super easy to physically swap hard drives so that was my plan to have each OS on a different drive.
I downloaded the Ubuntu 22.04 ISO onto a basically new USB thumb drive, swapped in the new hard drive, and went through the full installation process. Everything seemed to be going reasonably well until the screen came up where it said to disconnect the removable media and press Enter.
When I removed the USB and pressed enter, the following screen came up:
Intel(R) Boot Agent GE v1.5.50
Copyright (C) 1997-2013 Intel Corporation
Intel(R) Boot Agent PXE Base Code (PXE-2.1 build 092)
Copyright (C) 1997-2010, Intel Corporation
Initializing and establishing link...
About 5 seconds later, it changed to:
Intel(R) Boot Agent GE v1.5.50
Copyright (C) 1997-2013 Intel Corporation
Intel(R) Boot Agent PXE Base Code (PXE-2.1 build 092)
Copyright (C) 1997-2010, Intel Corporation
PXE-E61: Media test failure, check cable
PXE-M0F: Exiting Intel Boot Agent.
And then after 3 or so more seconds:
BootDevice Not Found
Please install an operating system on your hard disk.
Hard Disk - (3F0)
F2 System Diagnostics
For more information, please visit: www.hp.com\go\techcenter\startup (http://www.hp.com\go\techcenter\startup)
When I go to do the standard Hard Drive tests, it says those are "NOT AVAILABLE". Now, this is a brand new hard drive, and while it's possible that there's a manufacturing defect, I'd be surprised such wouldn't come up in the whole installation process.
I can boot into Ubuntu using the USB thumb drive just fine, and it starts up off that thumb drive to "Try Ubuntu". From there, I can see the files on the hard drive and explore them, and so it does seem to be working. In addition, GParted seems to show the partitions all set up:
https://i.stack.imgur.com/QsJzt.png
One other thing I've done is tried the boot-repair tool installed via the terminal (https://help.ubuntu.com/community/Boot-Repair). It comes up with this error:
https://i.stack.imgur.com/U2mYp.png
The text is as follows:
The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd (http://www.sourceforge.net/p/boot-repair-cd)), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.
I have no idea what it's trying to ask me to do. I fiddled around with many of the options in the BIOS menu I get to by pressing F10 immediately when the PC is starting up, but none of them seem to fix the problem. (On the other hand, they may have contributed to me losing everything I had open in Windows when I swapped back to the Windows hard drive with all the applications hibernated.)
I couldn't get the pastebin thing to work, but here is the raw text of the report that the boot repair tool generates:
boot-repair-4ppa2056 [20230514_0715]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048
of the same hard drive for core.img. core.img is at this location and
looks for (,gpt3)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________ ________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda2: __________________________________________________ ________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
sda3: __________________________________________________ ________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdb: __________________________________________________ _________________________
File system: iso9660
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sdb and looks at sector 0 of the same hard drive for
core.img, but core.img can not be found at this
location.
Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
================================ 1 OS detected =================================
OS#1: Ubuntu 22.04.2 LTS on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GK107GLM [Quadro K1100M] 4th Gen Core Processor Integrated Graphics Controller from NVIDIA Corporation Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.2 LTS, jammy, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: L70 Ver. 01.10(1.10) from Hewlett-Packard
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).
a9c517741ac31962d7feb152948ad1ee sda2/BOOT/fbx64.efi
a660182adef313615746a665966d2ccc sda2/BOOT/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sda2/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc sda2/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3 sda2/ubuntu/shimx64.efi
64349b3622c65f495a99dbf6102496e3 sda2/BOOT/BOOTX64.efi
============================= Drive/Partition Info =============================
Disks info: __________________________________________________ __________________
sda : is-GPT, hasBIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): __________________________________________________ _______
sda2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda3 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
Partitions info (2/3): __________________________________________________ _______
sda2 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): __________________________________________________ _______
sda2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda3 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): __________________________________________________ _________
Disk sda: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk identifier: F39F0C60-4B2B-4D24-A4A5-A6972993BFCA
Start End Sectors Size Type
sda1 2048 4095 2048 1M BIOS boot
sda2 4096 1054719 1050624 513M EFI System
sda3 1054720 2000408575 1999353856 953.4G Linux filesystem
Disk sdb: 28.91 GiB, 31037849600 bytes, 60620800 sectors
Disk identifier: A0891D7E-B930-4513-94D9-F629DBD637B2
Start End Sectors Size Type
sdb1 64 9613459 9613396 4.6G Microsoft basic data
sdb2 9613460 9623527 10068 4.9M EFI System
sdb3 9623528 9624127 600 300K Microsoft basic data
sdb4 9625600 60620736 50995137 24.3G Linux filesystem
parted -lm (filtered): __________________________________________________ _______
sda:1024GB:scsi:512:512:gpt:ATA Patriot P210 102:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:540MB:538MB:fat32:EFI System Partition:boot, esp;
3:540MB:1024GB:1024GB:ext4::;
sdb:31.0GB:scsi:512:512:gpt:Lexar USB Flash Drive:;
1:32.8kB:4922MB:4922MB::ISO9660:hidden, msftdata;
2:4922MB:4927MB:5155kB::Appended2:boot, esp;
3:4927MB:4928MB:307kB::Gap1:hidden, msftdata;
4:4928MB:31.0GB:26.1GB:ext4::;
blkid (filtered): __________________________________________________ ____________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 9ecd8b89-a878-40c7-a82a-8352705315ea
├─sda2 vfat 5610-9E02 c7f6faac-8109-4316-b54b-07abfed38800 EFI System Partition
└─sda3 ext4 a138f88d-5722-4fd9-a791-4c83205edbe6 7a22b403-0191-4701-b295-db957648ae3b
sdb iso9660 2023-02-23-04-13-44-00 Ubuntu 22.04.2 LTS amd64
├─sdb1 iso9660 2023-02-23-04-13-44-00 a0891d7e-b930-4513-94d8-f629dbd637b2 Ubuntu 22.04.2 LTS amd64 ISO9660
├─sdb2 vfat F7DB-4D56 a0891d7e-b930-4513-94db-f629dbd637b2 ESP Appended2
├─sdb3 a0891d7e-b930-4513-94da-f629dbd637b2 Gap1
└─sdb4 ext4 9b6bac4e-b902-4ece-8b1d-70fa231cc82f f9917063-1451-7f4e-9ac5-d66bc8713fe0 writable
Mount points (filtered): __________________________________________________ _____
Avail Use% Mounted on
/dev/disk/by-label/writable[/install-logs-2023-05-14.1/crash] 22.5G 0% /var/crash
/dev/disk/by-label/writable[/install-logs-2023-05-14.1/log] 22.5G 0% /var/log
/dev/sda2 505.9M 1% /mnt/boot-sav/sda2
/dev/sda3 878.1G 1% /mnt/boot-sav/sda3
/dev/sdb1 0 100% /cdrom
Mount options (filtered): __________________________________________________ ____
===================== sda2/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid a138f88d-5722-4fd9-a791-4c83205edbe6 root hd0,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda3/boot/grub/grub.cfg (filtered) ======================
Ubuntu a138f88d-5722-4fd9-a791-4c83205edbe6
Ubuntu, with Linux 5.19.0-41-generic a138f88d-5722-4fd9-a791-4c83205edbe6
Ubuntu, with Linux 5.19.0-32-generic a138f88d-5722-4fd9-a791-4c83205edbe6
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda3/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during installation
UUID=a138f88d-5722-4fd9-a791-4c83205edbe6 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
UUID=5610-9E02 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda3/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda3: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
512.448955536 = 550.237876224 boot/grub/grub.cfg 1
480.467124939 = 515.897647104 boot/grub/i386-pc/core.img 1
80.608036041 = 86.552219648 boot/vmlinuz 1
713.737300873 = 766.369591296 boot/vmlinuz-5.19.0-32-generic 2
80.608036041 = 86.552219648 boot/vmlinuz-5.19.0-41-generic 1
713.737300873 = 766.369591296 boot/vmlinuz.old 2
128.600528717 = 138.083766272 boot/initrd.img 1
176.561367035 = 189.581324288 boot/initrd.img-5.19.0-32-generic 2
128.600528717 = 138.083766272 boot/initrd.img-5.19.0-41-generic 1
176.561367035 = 189.581324288 boot/initrd.img.old 2
===================== sda3: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Dec 2 15:18 10_linux
-rwxr-xr-x 1 root root 43031 Dec 2 15:18 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Dec 2 15:18 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 2 15:18 30_os-prober
-rwxr-xr-x 1 root root 1372 Dec 2 15:18 30_uefi-firmware
-rwxr-xr-x 1 root root 700 Sep 20 2022 35_fwupd
-rwxr-xr-x 1 root root 214 Dec 2 15:18 40_custom
-rwxr-xr-x 1 root root 215 Dec 2 15:18 41_custom
Suggested repair: __________________________________________________ ____________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda3,
using the following options: sda2/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Blockers in case of suggested repair: __________________________________________
The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd (http://www.sourceforge.net/p/boot-repair-cd)), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.2 LTS entry (sda2/efi/****/grub****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.
There's a bit more there but I'm still not sure exactly what it's asking me to do. My best guess is that I have to create a different bootable USB with the boot-repair in "UEFI" mode, and also change something in the BIOS, but I have no idea what. Has anyone encountered this before and what do I need to do - step by step?
I downloaded the Ubuntu 22.04 ISO onto a basically new USB thumb drive, swapped in the new hard drive, and went through the full installation process. Everything seemed to be going reasonably well until the screen came up where it said to disconnect the removable media and press Enter.
When I removed the USB and pressed enter, the following screen came up:
Intel(R) Boot Agent GE v1.5.50
Copyright (C) 1997-2013 Intel Corporation
Intel(R) Boot Agent PXE Base Code (PXE-2.1 build 092)
Copyright (C) 1997-2010, Intel Corporation
Initializing and establishing link...
About 5 seconds later, it changed to:
Intel(R) Boot Agent GE v1.5.50
Copyright (C) 1997-2013 Intel Corporation
Intel(R) Boot Agent PXE Base Code (PXE-2.1 build 092)
Copyright (C) 1997-2010, Intel Corporation
PXE-E61: Media test failure, check cable
PXE-M0F: Exiting Intel Boot Agent.
And then after 3 or so more seconds:
BootDevice Not Found
Please install an operating system on your hard disk.
Hard Disk - (3F0)
F2 System Diagnostics
For more information, please visit: www.hp.com\go\techcenter\startup (http://www.hp.com\go\techcenter\startup)
When I go to do the standard Hard Drive tests, it says those are "NOT AVAILABLE". Now, this is a brand new hard drive, and while it's possible that there's a manufacturing defect, I'd be surprised such wouldn't come up in the whole installation process.
I can boot into Ubuntu using the USB thumb drive just fine, and it starts up off that thumb drive to "Try Ubuntu". From there, I can see the files on the hard drive and explore them, and so it does seem to be working. In addition, GParted seems to show the partitions all set up:
https://i.stack.imgur.com/QsJzt.png
One other thing I've done is tried the boot-repair tool installed via the terminal (https://help.ubuntu.com/community/Boot-Repair). It comes up with this error:
https://i.stack.imgur.com/U2mYp.png
The text is as follows:
The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd (http://www.sourceforge.net/p/boot-repair-cd)), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.
I have no idea what it's trying to ask me to do. I fiddled around with many of the options in the BIOS menu I get to by pressing F10 immediately when the PC is starting up, but none of them seem to fix the problem. (On the other hand, they may have contributed to me losing everything I had open in Windows when I swapped back to the Windows hard drive with all the applications hibernated.)
I couldn't get the pastebin thing to work, but here is the raw text of the report that the boot repair tool generates:
boot-repair-4ppa2056 [20230514_0715]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048
of the same hard drive for core.img. core.img is at this location and
looks for (,gpt3)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________ ________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda2: __________________________________________________ ________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
sda3: __________________________________________________ ________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdb: __________________________________________________ _________________________
File system: iso9660
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sdb and looks at sector 0 of the same hard drive for
core.img, but core.img can not be found at this
location.
Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
================================ 1 OS detected =================================
OS#1: Ubuntu 22.04.2 LTS on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GK107GLM [Quadro K1100M] 4th Gen Core Processor Integrated Graphics Controller from NVIDIA Corporation Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.2 LTS, jammy, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: L70 Ver. 01.10(1.10) from Hewlett-Packard
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).
a9c517741ac31962d7feb152948ad1ee sda2/BOOT/fbx64.efi
a660182adef313615746a665966d2ccc sda2/BOOT/mmx64.efi
5ddf997e8b025bfbc2009e85b32f60dc sda2/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc sda2/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3 sda2/ubuntu/shimx64.efi
64349b3622c65f495a99dbf6102496e3 sda2/BOOT/BOOTX64.efi
============================= Drive/Partition Info =============================
Disks info: __________________________________________________ __________________
sda : is-GPT, hasBIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): __________________________________________________ _______
sda2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda3 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
Partitions info (2/3): __________________________________________________ _______
sda2 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): __________________________________________________ _______
sda2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda3 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): __________________________________________________ _________
Disk sda: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk identifier: F39F0C60-4B2B-4D24-A4A5-A6972993BFCA
Start End Sectors Size Type
sda1 2048 4095 2048 1M BIOS boot
sda2 4096 1054719 1050624 513M EFI System
sda3 1054720 2000408575 1999353856 953.4G Linux filesystem
Disk sdb: 28.91 GiB, 31037849600 bytes, 60620800 sectors
Disk identifier: A0891D7E-B930-4513-94D9-F629DBD637B2
Start End Sectors Size Type
sdb1 64 9613459 9613396 4.6G Microsoft basic data
sdb2 9613460 9623527 10068 4.9M EFI System
sdb3 9623528 9624127 600 300K Microsoft basic data
sdb4 9625600 60620736 50995137 24.3G Linux filesystem
parted -lm (filtered): __________________________________________________ _______
sda:1024GB:scsi:512:512:gpt:ATA Patriot P210 102:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:540MB:538MB:fat32:EFI System Partition:boot, esp;
3:540MB:1024GB:1024GB:ext4::;
sdb:31.0GB:scsi:512:512:gpt:Lexar USB Flash Drive:;
1:32.8kB:4922MB:4922MB::ISO9660:hidden, msftdata;
2:4922MB:4927MB:5155kB::Appended2:boot, esp;
3:4927MB:4928MB:307kB::Gap1:hidden, msftdata;
4:4928MB:31.0GB:26.1GB:ext4::;
blkid (filtered): __________________________________________________ ____________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 9ecd8b89-a878-40c7-a82a-8352705315ea
├─sda2 vfat 5610-9E02 c7f6faac-8109-4316-b54b-07abfed38800 EFI System Partition
└─sda3 ext4 a138f88d-5722-4fd9-a791-4c83205edbe6 7a22b403-0191-4701-b295-db957648ae3b
sdb iso9660 2023-02-23-04-13-44-00 Ubuntu 22.04.2 LTS amd64
├─sdb1 iso9660 2023-02-23-04-13-44-00 a0891d7e-b930-4513-94d8-f629dbd637b2 Ubuntu 22.04.2 LTS amd64 ISO9660
├─sdb2 vfat F7DB-4D56 a0891d7e-b930-4513-94db-f629dbd637b2 ESP Appended2
├─sdb3 a0891d7e-b930-4513-94da-f629dbd637b2 Gap1
└─sdb4 ext4 9b6bac4e-b902-4ece-8b1d-70fa231cc82f f9917063-1451-7f4e-9ac5-d66bc8713fe0 writable
Mount points (filtered): __________________________________________________ _____
Avail Use% Mounted on
/dev/disk/by-label/writable[/install-logs-2023-05-14.1/crash] 22.5G 0% /var/crash
/dev/disk/by-label/writable[/install-logs-2023-05-14.1/log] 22.5G 0% /var/log
/dev/sda2 505.9M 1% /mnt/boot-sav/sda2
/dev/sda3 878.1G 1% /mnt/boot-sav/sda3
/dev/sdb1 0 100% /cdrom
Mount options (filtered): __________________________________________________ ____
===================== sda2/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid a138f88d-5722-4fd9-a791-4c83205edbe6 root hd0,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda3/boot/grub/grub.cfg (filtered) ======================
Ubuntu a138f88d-5722-4fd9-a791-4c83205edbe6
Ubuntu, with Linux 5.19.0-41-generic a138f88d-5722-4fd9-a791-4c83205edbe6
Ubuntu, with Linux 5.19.0-32-generic a138f88d-5722-4fd9-a791-4c83205edbe6
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda3/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during installation
UUID=a138f88d-5722-4fd9-a791-4c83205edbe6 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
UUID=5610-9E02 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda3/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda3: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
512.448955536 = 550.237876224 boot/grub/grub.cfg 1
480.467124939 = 515.897647104 boot/grub/i386-pc/core.img 1
80.608036041 = 86.552219648 boot/vmlinuz 1
713.737300873 = 766.369591296 boot/vmlinuz-5.19.0-32-generic 2
80.608036041 = 86.552219648 boot/vmlinuz-5.19.0-41-generic 1
713.737300873 = 766.369591296 boot/vmlinuz.old 2
128.600528717 = 138.083766272 boot/initrd.img 1
176.561367035 = 189.581324288 boot/initrd.img-5.19.0-32-generic 2
128.600528717 = 138.083766272 boot/initrd.img-5.19.0-41-generic 1
176.561367035 = 189.581324288 boot/initrd.img.old 2
===================== sda3: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Dec 2 15:18 10_linux
-rwxr-xr-x 1 root root 43031 Dec 2 15:18 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Dec 2 15:18 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 2 15:18 30_os-prober
-rwxr-xr-x 1 root root 1372 Dec 2 15:18 30_uefi-firmware
-rwxr-xr-x 1 root root 700 Sep 20 2022 35_fwupd
-rwxr-xr-x 1 root root 214 Dec 2 15:18 40_custom
-rwxr-xr-x 1 root root 215 Dec 2 15:18 41_custom
Suggested repair: __________________________________________________ ____________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda3,
using the following options: sda2/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Blockers in case of suggested repair: __________________________________________
The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd (http://www.sourceforge.net/p/boot-repair-cd)), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.2 LTS entry (sda2/efi/****/grub****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.
There's a bit more there but I'm still not sure exactly what it's asking me to do. My best guess is that I have to create a different bootable USB with the boot-repair in "UEFI" mode, and also change something in the BIOS, but I have no idea what. Has anyone encountered this before and what do I need to do - step by step?