Unable to boot into Grub and Zorin after Windows 10 CheckDisk

I ran a Windows Checkdisk last week on a Thinkpad which has been successfully booting both Windows 10 and ZorinOS 17 Core, via the GRUB menu method.
We ran the Checkdisk because there were file/folder inconsistencies inside Windows (which blocked MS OFfice activities with their bad file locked issues). So, yay, the checkdisk removed the erroneous files and directory entries.
And Very Bad, it decided it did not like the Grub and Zorin boot option process, so it took over the boot process. Now the computer ONLY boots immediately into Windows.
There is no more display of the Grub OS choices screen.

I have run the Boot-Repair, both as a downloaded app in a Ubuntu LTS live boot drive, and also I made a dedicated Boot-Repair bootable flash drive (using the release from 2023-07 which was the most recent I could find). I have run it several times and while it states that it has done something, the GRUB menu never comes back. The only clue I have is that its final end of process, Boot-Repair says to be sure to set the Zorin line in the startup file.
It's message was: Please make your UEFI boot in the ZorinOS 17.2 entry (nvme0n1p1/efi/ubuntu/grubx64.efi file)

No other special instructions showed after it finished it supposed repair. just the too-cryptic one I listed.
So, I do not know how I can do that from Windows, as I can't boot into the Zorin -- or even what exactly it is telling me to do.

I did do the paste report step which lists the Boot-Repair results:
https://pastebin.ubuntu.com/p/Xt3hbcD4mw/

I can see from GParted in several of the Linux boot recovery drives I have (including Parted Magic), that the Linux/Zorin volumes are all still there with approximately the amount of used space we expect. So I'm just trying to figure out how to get the GRUB dual-boot option working again.
I tried to do a Rescuezilla restore of just the boot partitions, but that did not seem to help. I also tried the O&O Disk Image which we've been running from Windows, and which has been backing up all the various volumes including linux zorin, but discovered that the O&O restore process can only restore the Windows drives (FAT32 & NTFS) and not any linux or whereever GRUB was. I did restore just the Windows 260 MB boot partition, which was from BEFORE the bad Checkdisk, but that did not bring back GRUB dual boot.

I booted from the SuperGrub repair tool, but that looked way too complicated and nothing was clear about what to do. So I just looked at its report, which seems useful, took a lot of mobile phone pictures and transcribed that.
It is rather long so I'm thinking I'll paste it into a separate entry or is there a better way of putting up a 80+ line text log file?

(Fast Startup is OFF)

I think, it would be a good Idea to use Boot Repair from the Zorin Live Mode (create a bootable USB Stick with Zorin on it, start it and choose ''Try Zorin'' and then look for the Boot Repair Program). Because it could so add the Zorin Stuff to it.

Anoter Thing: Look in the BIOS if the ''ubuntu'' Entry exists and use it to start in Zorin. And when You are in Zorin open the Terminal and type sudo nano /etc/default/grub to take a Look in the GRUB Configuartion File.

Also, in Windows OS, navigate to the Control Panel and the Power Options and ensure that Fast Boot is disabled.
Fast Boot is not boot at all, it is just Hibernate - Windows does not actually boot quickly - it hibernates. It does not fully shut down. This way, the 'fast boot" just wakes the computer, giving the illusion of a fast boot up process.
Since it never shuts down, you never reach boot and never reach grub.

I would recommend using Super Grub2 Disk to try and boot into your installed Zorin, and then use efibootmgr to check your current boot order and - hopefully - set Zorin / ubuntu back as the default.

I've never tried efibootmgr from a live environment, but that may be worth trying if for some reason even SG2D can't access your Zorin installation.

I am giving some of those a shot. Thanks!
Also, as I noted in original post, I have already tried Super Grub2 Disk, and while I found no way to generate a text log report, I took many phone snaps and transcribed its info. Which does include some Zorin references. I'm listing that here in case it is useful. Its rather long, and not exactly self-explanatory (to me).
From SUPERGRUB bootable flash drive examination process (I made no repairs using it, as it seemed too cryptic).

---- EFI files on EFI partitions ----
(hd0, gpt1) fat "EFI"
/efi/ubuntu/grubx64.efi (hd0, gpt1)
/efi/Boot/bootx64.efi (hd0, gpt1)
/EFI/ubuntu/grubx64.efi (hd0, gpt1)
/EFI/Goot/bootx64.efi (hd0, gpt1)

(hd2,gpt1) fat "SYSTEM"
/efi/Boot/bootx64.efi (hd2,gpt1)
/efi/Boot/fbx64.efi (hd2,gpt1)
/efi/Boot/mmx64.efi (hd2,gpt1)
/efi/ubuntu/grubx64.efi (hd2,gpt1)
/efi/ubuntu/shimx64.efi (hd2,gpt1)
/efi/ubuntu/mmx64.efi (hd2,gpt1)
/efi/Microsoft/Boot/bootmgfw.efi (hd2,gpt1)
/efi/Microsoft/Boot/bootmgr.efi (hd2,gpt1)
/efi/Microsoft/Boot/memtest.efi (hd2,gpt1)
/efi/Microsoft/Boot/SecureBootRecovery.efi (hd2,gpt1)
/EFI/Boot/LenovoBT.EFI (hd2,gpt1)
/EFI/Boot/bootx64.efi (hd2,gpt1)
/EFI/Boot/fbx64.efi (hd2,gpt1)
/EFI/Boot/mmx64.efi (hd2,gpt1)
/EFI/ubuntu/grubx64.efi (hd2,gpt1)
/EFI/ubuntu/shimx64.efi (hd2,gpt1)
/EFI/ubuntu/mmx64.efi (hd2,gpt1)
/EFI/Microsoft/Boot/bootmgfw.efi (hd2,gpt1)
/EFI/Microsoft/Boot/bootmgr.efi (hd2,gpt1)
/EFI/Microsoft/Boot/memtest.efi (hd2,gpt1)
/EFI/Microsoft/Boot/SecureBootRecovery.efi (hd2,gpt1)
/efi/Boot/LenovoBT.efi (hd2,gpt1)

---- Linux ----
(hd2,gpt6) ext2
Linux /boot/vmlinuz-6.8.0-45-generic (hd2,gpt6)
... (recovery)
... (single)
Linux /boot/vmlinuz-6.8.0-47-generic (hd2,gpt6)
... (recovery)
... (single)
---- Linux from /boot partition ----
(hd2,gpt6) ext2 with Linux kernel:
(hd2,gpt5) ext2
-- /vmlinuz-6.5.0-27-generic (hd2,gpt5)
... (recovery)
... (single)
-- /vmlinuz-6.5.0-26-generic (hd2,gpt5)

---- grub.cfg - Extract entries ----
(hd2,gpt6) ext2
-- Entries from /boot/grub/grub.cfg (hd2,gpt6)
Zorin
Advanced options for Zorin
Windows Boot Manager (on /dev/nvme0n1p1)
(hd2,gpt5) ext2
-- Entries from /grub/grub.cfg (hd2,gpt5)
Windows Boot Manager (on /dev/nvme0n1p1)
Zorin
Advanced options fro Zorin
UEFI Firmware Settings
(hd2,gpt1) fat "SYSTEM"
-- Entries from /efi/ubuntu/grub.cfgt [EFIpart] (hd2,gpt1)
-- Entries from /EFI/ubuntu/grub.cfgt [EFIpart] (hd2,gpt1)
---- grub.cfg - (GRUB2 configuration files) ----
(hd2,gpt6) ext2
/boot/grub/grub.cfg (hd2,gpt6)
(hd2,gpt5) ext2
/grub/grub.cfg (hd2,gpt5)
(hd2,gpt1) fat "SYSTEM"
/efi/ubuntu/grub.cfg [EFIpart] (hd2,gpt1)
/EFI/ubuntu/grub.cfg [EFIpart] (hd2,gpt1)
---- menu.lst - (GRUB legacy configuration files) ----
(No menu.lst file detected)
---- core.img - (GRUB2 installation) ----
(No core.img file detected)
---- Disks and Partitions (Chainload) ----
Reboot SG2D in BIOS mode to Chainload disks and Partitions
(hd0,gpt2) exfat "AData512ExF" <<<{{This is my external SSD FYI}}
(hd0,gpt1) fat "EFI"
(hd1)
(hdi,msdos2) fat "SG2DISOS"
(hd2)
(hd2,gpt8)
(hd2,gpt7) ext2
(hd2,gpt6) ext2
(hd2,gpt5) ext2
(hd2,gpt4) ntfs "WinRE_DRV"
(hd2,gpt3) ntfs "Windows"
(hd2,gpt2)
(hd2,gpt1) fat "SYSTEM"
---- Bootable ISOs (in /bppt-isos or /boot/boot-isos) ----
<-- Return to main menu

P.S. my guess is that SuperGrub2 2.0.6 bootable util drive doesn't seem to know about ext4, so it labels all the Linux partitions as "ext2". (I know I selected ext4 in the format/install phase).

P.S. 2.
Is there a way to re-install Zorin which ONLY re-writes the boot volumes and does not overwrite the User Home volume? where I believe most of our customizations would be. And possibly not even the Zorin OS \ root volume (unless some of the boot stuff ended up there....)

SG2D is used to boot things, I never noticed it having any sort of repair tools... :sweat_smile: I agree that the output is quite daunting, but it's just a list of possible bootable systems it could find. You can just hit Enter on any of them to try booting it.

Looking at your list, you should probably be good with the first "Zorin" under ---- grub.cfg - Extract entries ---- about half way down.

Yes, Ultrabenosaurus, you are correct, the SuperGrub2 UFD (bootable USB Flash Drive I made) can be used to boot into Zorin. I choose the Manual Boot then the first Linux option. Then Zorin boots up. I was able to run the OS Software Updater, and let it remove the old Linux kernel versions... And so the Zorin OS root volume, and our User Home volume are OK. (which I figured they would be)

As Ponce-de-Leon suggested, I looked into the /etc/default/grub but that is a tiny file and has no references to Zorin.
I looked into the /boot/grub/grub.cfg which is a much larger (and complex) file and it does have references to Zorin.
Though I changed nothing in either file, I did run the update-grub terminal command, just to hopefully ensure everything is up to date. However, on rebooting, still no Grub options menu screen ever shows, the computer just goes straight to Windows.

Also, Fast Startup is OFF, Secure Boot is disabled, hibernation is OFF.

So I've now run the Zorin 17.2 Core Live UFD several times and run the "Boot Repair" from there, both the default recommended fixit choice and the Advanced options choice. Neither has offered any kind of detailed instructions on a specific change, just the general 'change' with no helpful details that I mention in first post.

So I am thinking that there is just something fundamentally messed up with the several boot partitions. As the OS volumes run OK (both Windows and Zorin). I just need a way to reinstall the small GRUB dual boot parts into their respective small volumes. Here are two SSD drive volume layout images which may shed some light. Perhaps the 977MB (or1000MB) #p5 which I think was supposed to be the Linux efi boot partion is acting badly and is causing trouble. Because having to force a manual boot from a SuperGrub flash drive in order to get into Zorin is going to be a deal breaker.


and

I looked at the efibootmgr, and a reference artice (duckduckgo first hit: https://www.linuxbabe.com/command-line/how-to-use-linux-efibootmgr-examples
But it looks a bit complex...

@Bruce3 your boot partitions and EFI partitions look fine, so did you check this step?

If the above is no good, instead of repairing grub - reinstall it on your Zorin OS partition.

sudo apt install --reinstall grub-efi-amd64

sudo grub-install /dev/nvme0n1p6

sudo update-grub

It can be complex, and you can make a mess of things with it of you use some of its other features like adding and deleting entries, but just rearranging boot order is quite simple.

First, run sudo efibootmgr to identify your current EFI boot options and then copy the current boot order. For example:

0013,0012,0014,0000,0001,0002,0003

Paste it into a text editor and rearrange it so Zorin is the first one.

Then copy that and paste it into your terminal after sudo efibootmgr -o such as:

sudo efibootmgr -o 0012,0013,0014,0000,0001,0002,0003

On my Win10 it is called Fast Start-up. Untick that checkbox.
i.e. Power Settings>Choose what the power button does.
Untick this item:
Turn on fast start-up (recommended)

1 Like

HI, Thanks all.
Lot of good thoughtful replies here! :slight_smile:

The Windows 10 settings are all off for Fast startup, also I used the command line [powercfd /H off] as well. That in fact made it so that the Advanced settings on what the power button does ... no longer even offers the Fast startup.
Reference https://superuser.com/questions/996189/how-to-remove-phantom-drive-letters
which talks about disabling Soft Restart, Fast Startup and Hibernation.
Aravisian, that idea of a way to re-install GRUB sounds like a very good possibility.
However, <ACK!> the computer has been reclaimed by its owner as she needed to get back to doing stuff on it (in the Windows side). Hopefully I'll get a chance to give it a try. Thx.
I was even thinking of trying to replicate the scenario on my own older Thinkpad which dual boots Windows 7 and Zorin, but, I'm not sure how helpful that'll be since its a different OS and SSD layout.