I use a legacy BIOS system.
I made a clone of my original working Ubuntu 22.04 system onto a new hard drive, but somehow I messed up grub (I didn't reconfigure correctly?) on the new drive.
Here is the link from Boot-Repair: https://paste.ubuntu.com/p/XYYV2Sv9Tr/
============================== Boot Info Summary =============================== => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of the same hard drive for core.img. core.img is at this location and looks for /boot/grub. It also embeds following components: modules --------------------------------------------------------------------------- fshelp ext2 part_msdos biosdisk search_fs_uuid --------------------------------------------------------------------------- config script --------------------------------------------------------------------------- search.fs_uuid 5fe11fa4-3374-4fa1-9acf-c07a1f848f0e root hd0,msdos1 set prefix=($root)'/boot/grub' ---------------------------------------------------------------------------sda1: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Ubuntu 22.04.5 LTS Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub /boot/grub/i386-pc/core.imgsda2: __________________________________________________________________________ File system: Extended Partition Boot sector type: - Boot sector info: sda5: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Boot files: sda6: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Boot files: sda7: __________________________________________________________________________ File system: swap Boot sector type: - Boot sector info: sda3: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Boot files: sda4: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Boot files: mmcblk0: _______________________________________________________________________ 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 mmcblk0 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/mmcblk0: /dev/mmcblk0 already mounted or mount point busy. dmesg(1) may have more information after failed mount system call.================================ 1 OS detected =================================OS#1 (linux): Ubuntu 22.04.5 LTS on sda1================================ Host/Hardware =================================CPU architecture: 64-bitVideo: CoffeeLake-U GT3e [Iris Plus Graphics 655] from Intel CorporationLive-session OS is Ubuntu 64-bit (Ubuntu 24.04.1 LTS, noble, x86_64)===================================== UEFI =====================================BIOS/UEFI firmware: BECFL357.86A.0081.2020.0504.1834(5.6) from Intel Corp.The firmware is EFI-compatible, and is set in EFI-mode for this live-session.SecureBoot disabled (confirmed by mokutil).BootCurrent: 0005Timeout: 1 secondsBootOrder: 0004,0003,0005,0000Boot0000* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d000000de020100000010000000040000007fff0400Boot0003* LAN : IBA CL Slot 00FE v0113 BBS(Network,,0x0)0000424fBoot0004* SATA : PORT 2 : KINGSTON SA400S37960G : PART 0 : Boot Drive BBS(HD,,0x0)0000424fBoot0005* UEFI : PCIE CardReader : PART 1 : OS Bootloader PciRoot(0x0)/Pci(0x1d,0x6)/Pci(0x0,0x0)/HD(2,GPT,eed3de8a-acd3-4541-ba17-9014c007d874,0xb8b5a0,0x27a0)0000424f============================= Drive/Partition Info =============================Disks info: ____________________________________________________________________sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytesPartitions info (1/3): _________________________________________________________sda4 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GBsda5 : no-os, 64, apt-get, grub-pc , grub2, grub-install, no-grubenv, update-grub, not-farsda3 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GBsda1 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, grubenv-ok, noupdategrub, not-farsda6 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-farPartitions info (2/3): _________________________________________________________sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4sda3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4sda1 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4sda6 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4Partitions info (3/3): _________________________________________________________sda4 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdasda5 : maybesepboot, no---boot, part-has-no-fstab, is-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdasda3 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdasda1 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, emptyusr, fstab-has-goodUSR, std-grub.d, sdasda6 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdafdisk -l (filtered): ___________________________________________________________Disk sda: 894.25 GiB, 960197124096 bytes, 1875385008 sectorsDisk identifier: 0x82572859 Boot Start End Sectors Size Id Typesda1 * 2048 75018239 75016192 35.8G ef EFI (FAT-12/16/32)sda2 75018240 179439615 104421376 49.8G f W95 Ext'd (LBA)sda3 179439616 281196543 101756928 48.5G 83 Linuxsda4 281196544 1874360319 1593163776 759.7G 83 Linuxsda5 75020288 126187519 51167232 24.4G 83 Linuxsda6 126189568 146532351 20342784 9.7G 83 Linuxsda7 146534400 179439615 32905216 15.7G 82 Linux swap / SolarisPartition table entries are not in disk order.Disk mmcblk0: 117.75 GiB, 126437294080 bytes, 246947840 sectorsDisk identifier: EED3DE8A-ACD3-4541-BA15-9014C007D874 Start End Sectors Size Typemmcblk0p1 64 12105119 12105056 5.8G Microsoft basic datammcblk0p2 12105120 12115263 10144 5M EFI Systemmmcblk0p3 12115264 12115863 600 300K Microsoft basic datammcblk0p4 12115968 246945791 234829824 112G Linux filesystemparted -lm (filtered): _________________________________________________________sda:960GB:scsi:512:512:msdos:ATA KINGSTON SA400S3:;1:1049kB:38.4GB:38.4GB:ext4::boot, esp;2:38.4GB:91.9GB:53.5GB:::lba;5:38.4GB:64.6GB:26.2GB:ext4::;6:64.6GB:75.0GB:10.4GB:ext4::;7:75.0GB:91.9GB:16.8GB:linux-swap(v1)::swap;3:91.9GB:144GB:52.1GB:ext4::;4:144GB:960GB:816GB:ext4::;mmcblk0:126GB:sd/mmc:512:512:gpt:SD LX128:;1:32.8kB:6198MB:6198MB::ISO9660:hidden, msftdata;2:6198MB:6203MB:5194kB::Appended2:boot, esp;3:6203MB:6203MB:307kB::Gap1:hidden, msftdata;4:6203MB:126GB:120GB:ext4::;Free space >10MiB: ______________________________________________________________sda: 915215MiB:915715MiB:500MiBblkid (filtered): ______________________________________________________________NAME FSTYPE UUID PARTUUID LABEL PARTLABELsda ├─sda1 ext4 5fe11fa4-3374-4fa1-9acf-c07a1f848f0e 82572859-01 ├─sda2 82572859-02 ├─sda3 ext4 1f1c8539-afd3-46cf-a553-43d7fa317283 82572859-03 ├─sda4 ext4 40ae6ba5-5920-4b90-a636-915f7c0f4c29 82572859-04 ├─sda5 ext4 fcbf0f2d-b5b9-4d98-a951-71aff70595d7 82572859-05 ├─sda6 ext4 cccde31e-5c3e-40ce-991d-306030dfdb95 82572859-06 └─sda7 swap d3953376-df26-4c6c-a73e-2e438eb8e25f 82572859-07 swap mmcblk0 iso9660 2024-08-27-16-23-26-00 Ubuntu 24.04.1 LTS amd64 ├─mmcblk0p1 iso9660 2024-08-27-16-23-26-00 eed3de8a-acd3-4541-ba14-9014c007d874 Ubuntu 24.04.1 LTS amd64 ISO9660├─mmcblk0p2 vfat 3C53-CAEB eed3de8a-acd3-4541-ba17-9014c007d874 ESP Appended2├─mmcblk0p3 eed3de8a-acd3-4541-ba16-9014c007d874 Gap1└─mmcblk0p4 ext4 d861c4f3-9770-4dca-b12d-541ca9bd6c34 74dbb435-895e-47ee-87de-d1e4c10fab6b writable Mount points (filtered): _______________________________________________________ Avail Use% Mounted on/dev/mmcblk0p1 0 100% /cdrom/dev/sda1 32.1G 3% /mnt/boot-sav/sda1/dev/sda3 34G 23% /mnt/boot-sav/sda3/dev/sda4 608.7G 13% /mnt/boot-sav/sda4/dev/sda5 14.2G 35% /mnt/boot-sav/sda5/dev/sda6 8.9G 0% /mnt/boot-sav/sda6efivarfs 112K 39% /sys/firmware/efi/efivarsMount options (filtered): ______________________________________________________/dev/mmcblk0p1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8/dev/sda1 ext4 rw,relatime/dev/sda3 ext4 rw,relatime/dev/sda4 ext4 rw,relatime,stripe=32742/dev/sda5 ext4 rw,relatime/dev/sda6 ext4 rw,relatime====================== sda1/boot/grub/grub.cfg (filtered) ======================Ubuntu 5fe11fa4-3374-4fa1-9acf-c07a1f848f0e### END /etc/grub.d/30_os-prober ###### END /etc/grub.d/30_uefi-firmware ###========================== sda1/etc/fstab (filtered) ===========================# <file system> <mount point> <type> <options> <dump> <pass># / was on /dev/sda1 during installationUUID=5fe11fa4-3374-4fa1-9acf-c07a1f848f0e / ext4 errors=remount-ro 0 1# /home was on /dev/sda3 during installationUUID=40ae6ba5-5920-4b90-a636-915f7c0f4c29 /home ext4 defaults 0 2# /tmp was on /dev/sda6 during installationUUID=cccde31e-5c3e-40ce-991d-306030dfdb95 /tmp ext4 defaults 0 2# /usr was on /dev/sda5 during installationUUID=fcbf0f2d-b5b9-4d98-a951-71aff70595d7 /usr ext4 defaults 0 2# /var was on /dev/sda7 during installationUUID=1f1c8539-afd3-46cf-a553-43d7fa317283 /var ext4 defaults 0 2# swap was on /dev/sda7 during installationUUID=ff6df45c-44fa-4a39-97d8-aad109cef52b none swap sw 0 0192.168.86.15:/volume1/server/server/Music /mnt/server/Music nfs defaults 0 0192.168.86.15:/volume1/server/server/Books /mnt/server/Books nfs defaults 0 0192.168.86.15:/volume1/server/server/Videos /mnt/server/Videos nfs defaults 0 0192.168.86.15:/volume1/server/server/Pictures /mnt/server/Pictures nfs defaults 0 0192.168.86.15:/volume1/server/server/Personal_Videos /mnt/server/Personal_Videos nfs defaults 0 0192.168.86.15:/volume1/server/server/plexmediaserver /mnt/server/plexmediaserver nfs defaults 0 0======================= sda1/etc/default/grub (filtered) =======================GRUB_DEFAULT=0GRUB_TIMEOUT_STYLE=hiddenGRUB_TIMEOUT=10GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"GRUB_CMDLINE_LINUX=""==================== sda1: Location of files loaded by Grub ==================== GiB - GB File Fragment(s) 0.290359497 = 0.311771136 boot/grub/grub.cfg 1 2.286693573 = 2.455318528 boot/grub/i386-pc/core.img 1 4.594722748 = 4.933545984 boot/vmlinuz 2 1.136882782 = 1.220718592 boot/vmlinuz-5.15.0-126-generic 2 4.594722748 = 4.933545984 boot/vmlinuz-5.15.0-130-generic 2 1.136882782 = 1.220718592 boot/vmlinuz.old 2 4.563472748 = 4.899991552 boot/initrd.img 8 4.617656708 = 4.958171136 boot/initrd.img-5.15.0-126-generic 6 4.563472748 = 4.899991552 boot/initrd.img-5.15.0-130-generic 8 4.617656708 = 4.958171136 boot/initrd.img.old 6===================== sda1: ls -l /etc/grub.d/ (filtered) ======================-rwxr-xr-x 1 root root 18683 Apr 15 2022 10_linux-rwxr-xr-x 1 root root 43031 Apr 15 2022 10_linux_zfs-rwxr-xr-x 1 root root 14387 Dec 18 2022 20_linux_xen-rwxr-xr-x 1 root root 13369 Apr 15 2022 30_os-prober-rwxr-xr-x 1 root root 1372 Apr 15 2022 30_uefi-firmware-rwxr-xr-x 1 root root 700 Feb 21 2022 35_fwupd-rwxr-xr-x 1 root root 214 Mar 21 2018 40_custom-rwxr-xr-x 1 root root 215 Apr 15 2022 41_customSuggested repair: ______________________________________________________________The default repair of the Boot-Repair utility would reinstall the grub2 ofsda1 into the MBR of sda,using the following options: sda5/usrGrub-efi would not be selected by default because no ESP detected.Additional repair would be performed: unhide-bootmenu-10sConfirmation request before suggested repair: __________________________________The boot of your PC is in EFI mode, but no ESP partition was detected. You may want to retry after creating a ESP partition (FAT32, 100MB~250MB, start of the disk, boot flag).Are you sure you want to continue anyway?Final advice in case of suggested repair: ______________________________________The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Should I proceed with the recommended action?