I ran boot-repair-disk and it also generates a report.
/dev/sda is my SSD, and /dev/sdb is my HDD (/dev/sdc is just my USB live disk)
Of interest is what I highlighted in bold, the section where the UEFI generates a report
Boot0005 appears to be my SDD
Boot000E is my HDD, and as we can see it’s called ‘Garuda’ in the UEFI (it lost its previous hardware name when I first attempted to install Garuda), and moreover it appears to look either for an EFI partition or a file EFI/Garuda/grubx64.efi, which of course does not exist. The disk is MBR formatted and I deleted my Garuda partition from the disk anyway.
Anyway this information appears to be saved in the NVRAM of the UEFI, rather than in the MBR or anywhere on disk (tell me if I’m wrong). Question is, how do I change it back to what it was? Or at least to something sensible that will allow the MBR and then Windows bootloader to be loaded?
boot-repair-4ppa2074 [20231225_2251]
============================= Boot Repair Summary ==============================
Default settings: ______________________________________________________________
The default repair of the Boot-Repair utility would not act on the MBR.
Additional repair would be performed: unhide-bootmenu-10s
User settings: _________________________________________________________________
grub-probe: error: cannot find a GRUB drive for /dev/sdc2. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdc2. Check your device.map.
This will install an obsolete bootloader (GRUB Legacy). Please backup your data before this operation.
The settings chosen by the user will not act on the MBR.
Additional repair will be performed: unhide-bootmenu-10s
Boot successfully repaired.
You can now reboot your computer.
============================ Boot Info After Repair ============================
=> Windows is installed in the MBR of /dev/sda.
=> Windows is installed in the MBR of /dev/sdb.
=> Grub2 (v2.00) is installed in the MBR of /dev/sdc and looks at sector 34
of the same hard drive for core.img. core.img is at this location and
looks for (,2)/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
offsetio extcmd macho elf file gettext boot bufio verifiers crypto
terminal normal datetime date mmap drivemap blocklist archelp newc
vga_text relocator video chain ntldr search_label search_fs_file
search_fs_uuid search keylayouts at_keyboard pci usb usb_keyboard gcry_md5
hashsum gcry_crc gzio xzio lzopio lspci fshelp ext2 xfs acpi reboot
iso9660 gcry_sha1 div udf exfat font diskfilter raid6rec zstd btrfs ventoy
read halt video_fb vbe linux linux16 test true sleep echo bitmap gfxterm
bitmap_scale trig video_colors gfxmenu videotest videoinfo functional_test
videotest_checksum video_cirrus video_bochs vga minicmd help configfile tr
biosdisk disk ls tar zfs squash4 pbkdf2 gcry_sha512 password_pbkdf2
all_video png jpeg part_gpt part_msdos fat ntfs loopback
gfxterm_background procfs gfxterm_menu smbios
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sdb2: __________________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sdc1: __________________________________________________________________________
File system: exfat
Boot sector type: -
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/sdc1: /dev/sdc1 already mounted or mount point busy.
sdc2: __________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files: /boot/grub/grub.cfg
================================ 3 OS detected =================================
OS#1: Windows 7 on sdb2
OS#2: Windows 7 on sdb1
OS#3: Windows 7 on sda1
**================================ Host/Hardware =================================**
**CPU architecture: 64-bit**
**Video: GF108M [GeForce GT 525M] 2nd Generation Core Processor Family Integrated Graphics Controller from NVIDIA Corporation Intel Corporation**
**Live-session OS is Linuxmint 64-bit (Linux Mint 21.2, victoria, x86_64)**
**===================================== UEFI =====================================**
**BIOS/UEFI firmware: 1.08_(0.1) from Phoenix Technologies Ltd.**
**The firmware is EFI-compatible, and is set in EFI-mode for this live-session.**
**SecureBoot disabled - This system doesn't support Secure Boot.**
**BootCurrent: 0006**
**Timeout: 0 seconds**
**BootOrder: 0006,0007,0003,0008,0005,000E,0009,000A**
**Boot0000 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)**
**Boot0001 Boot Menu FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)**
**Boot0002 Diagnostic Splash FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)**
**Boot0003* ATAPI CD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)**
**Boot0004* CD-ROM: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,be9d0102e211f3489efa0b983c96839b)**
**Boot0005* ATA HDD0: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)**
**Boot0006* USB HDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)**
**Boot0007* USB CD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)**
**Boot0008* USB FDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)**
**Boot0009* Internal Shell FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)**
**Boot000A* PCI LAN: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)**
**Boot000B* IDER BOOT CDROM PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,1,0)**
**Boot000C* IDER BOOT Floppy PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)**
**Boot000D* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)**
**Boot000E* Garuda HD(1,MBR,0xc10bb,0x800,0xee7b800)/File(\EFI\Garuda\grubx64.efi)**
**56da8d8bfe5726693f1e90df9a4cb54c sdb2/Boot/bootx64.efi**
**56da8d8bfe5726693f1e90df9a4cb54c sdb2/Microsoft/Boot/bootmgfw.efi**
**c9c88324a1e780dc9f3639b13c4fe3c8 sdb2/Microsoft/Boot/bootmgr.efi**
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdb2 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdb1 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda1 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
Partitions info (2/3): _________________________________________________________
sdb2 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
sdb1 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
sda1 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
Partitions info (3/3): _________________________________________________________
sdb2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: 0x000c10bb
Boot Start End Sectors Size Id Type
sda1 * 2048 250068991 250066944 119.2G 7 HPFS/NTFS/exFAT
Disk sdb: 298.09 GiB, 320072933376 bytes, 625142448 sectors
Disk identifier: 0x0000263a
Boot Start End Sectors Size Id Type
sdb1 * 2048 317925375 317923328 151.6G 7 HPFS/NTFS/exFAT
sdb2 317925376 625137663 307212288 146.5G 7 HPFS/NTFS/exFAT
Disk sdc: 14.91 GiB, 16005464064 bytes, 31260672 sectors
Disk identifier: C716968A-3BC2-4A0A-A01E-33EB7176B4EA
Start End Sectors Size Type
sdc1 2048 31195095 31193048 14.9G Microsoft basic data
sdc2 31195096 31260631 65536 32M Microsoft basic data
Disk dm-0: 2.45 GiB, 2630877184 bytes, 5138432 sectors
Disk identifier: 0x14eb2669
Boot Start End Sectors Size Id Type
dm-0p1 * 0 5138431 5138432 2.5G 0 Empty
dm-0p2 572 9067 8496 4.1M ef EFI (FAT-12/16/32)
parted -lm (filtered): _________________________________________________________
sda:128GB:scsi:512:512:msdos:ATA M4-CT128M4SSD2:;
1:1049kB:128GB:128GB:ntfs::boot;
sdb:320GB:scsi:512:512:msdos:ATA SAMSUNG HN-M320M:;
1:1049kB:163GB:163GB:ntfs::boot;
2:163GB:320GB:157GB:ntfs::;
sdc:16.0GB:scsi:512:512:gpt:SanDisk Cruzer Fit:;
1:1049kB:16.0GB:16.0GB::Ventoy:msftdata;
2:16.0GB:16.0GB:33.6MB:fat16:VTOYEFI:hidden, msftdata;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 ntfs C68A6A958A6A8233 000c10bb-01
sdb
├─sdb1 ntfs C68A6A958A6A8233 0000263a-01
└─sdb2 ntfs 01CEB8305D78C560 0000263a-02
sdc
├─sdc1 exfat 4E21-0000 35dca89d-65a4-4a0f-b5f6-ab3b4affd9dd Ventoy Ventoy
└─sdc2 iso9660 2023-12-23-05-05-55-00 Boot-Repair-Disk 64bit
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/mapper/ventoy 0 100% /cdrom
/dev/sda1 27.2G 77% /mnt/boot-sav/sda1
/dev/sdb1 59.5G 61% /mnt/boot-sav/sdb1
/dev/sdb2 6.5G 96% /mnt/boot-sav/sdb2
Mount options (filtered): ______________________________________________________
/dev/mapper/ventoy iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
/dev/sda1 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb1 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb2 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
====================== sdc2/boot/grub/grub.cfg (filtered) ======================
Start Boot-Repair-Disk 64-bit
Start Boot-Repair-Disk 64-bit (compatibility mode)
UEFI Firmware Settings
Test memory
==================== sdc2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
======================== Unknown MBRs/Boot Sectors/etc =========================
/dev/sdc2: unknown GPT attributes
c000000000000001
Unknown BootLoader on sdc2