You are not logged in.

#1 2021-10-23 09:25

globetrotterdk
Member
Registered: 2020-12-23
Posts: 55

(Solved) Grub refuses to detect Windows bootloader - Q4OS Gemini.

Grub refuses to detect the Windows boot loader in connection with my Q4OS Gemini install.  I have tried running

# grub-mkconfig -o /boot/grub/grub.cfg
# update-grub

but that doesn't seem to help. Any ideas?

Last edited by globetrotterdk (2021-10-27 17:53)


I’ve had a perfectly wonderful evening, but this wasn’t it. - Groucho Marx

Offline

#2 2021-10-23 10:09

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: (Solved) Grub refuses to detect Windows bootloader - Q4OS Gemini.

Please run:
$ sudo os-prober
and post the output here.

Offline

#3 2021-10-23 15:19

globetrotterdk
Member
Registered: 2020-12-23
Posts: 55

Re: (Solved) Grub refuses to detect Windows bootloader - Q4OS Gemini.

Thanks for the quick reply.

$ sudo os-prober
/dev/nvme0n1p2@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

I’ve had a perfectly wonderful evening, but this wasn’t it. - Groucho Marx

Offline

#4 2021-10-23 16:38

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: (Solved) Grub refuses to detect Windows bootloader - Q4OS Gemini.

Well, now run:
$ sudo update-grub -o /tmp/grub-test.cfg
post output and attach the generated file "/tmp/grub-test.cfg" here.

Offline

#5 2021-10-23 18:48

globetrotterdk
Member
Registered: 2020-12-23
Posts: 55

Re: (Solved) Grub refuses to detect Windows bootloader - Q4OS Gemini.

OK, here is the file.


Attachments:
cfg grub-test.cfg, Size: 7.15 KiB, Downloads: 285

I’ve had a perfectly wonderful evening, but this wasn’t it. - Groucho Marx

Offline

#6 2021-10-23 22:53

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: (Solved) Grub refuses to detect Windows bootloader - Q4OS Gemini.

The correct Windows menu item appears to be available in grub.cfg. Is the Grub boot table displayed ? What does the early boot process print on the screen ?

Please edit the "/etc/default/grub", search and set the following variables:

GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10

Furthermore run in terminal:
$ sudo update-grub
Reboot and check the result.

Offline

#7 2021-10-24 07:58

globetrotterdk
Member
Registered: 2020-12-23
Posts: 55

Re: (Solved) Grub refuses to detect Windows bootloader - Q4OS Gemini.

Not sure what a Grub boot table is. Do you mean Grub boot menu? If so, the answer is, yes.
I get the following errors:

error: no such device: 8A70-33E6
error: `/efi/Microsoft/Boot/bootmgfw.efi` not found

I edited "/etc/default/grub" as recommended, but no change in the results.


I’ve had a perfectly wonderful evening, but this wasn’t it. - Groucho Marx

Offline

#8 2021-10-27 17:50

globetrotterdk
Member
Registered: 2020-12-23
Posts: 55

Re: (Solved) Grub refuses to detect Windows bootloader - Q4OS Gemini.

After having backed up the M.2 SSD and then migrated the backup to a new, larger M.2 SSD, as well as updating Windows 10, and running:

$ sudo grub-mkconfig -o /boot/grub/grub.cfg
$ sudo update-grub

again, Grub menu seems to be working fine now.


I’ve had a perfectly wonderful evening, but this wasn’t it. - Groucho Marx

Offline

#9 2021-10-27 17:52

globetrotterdk
Member
Registered: 2020-12-23
Posts: 55

Re: (Solved) Grub refuses to detect Windows bootloader - Q4OS Gemini.

Windows 10 appears to be working fine on the new M.2 SSD. My problem with the Grub menu also appears to have disappeared after updating Windows 10.


I’ve had a perfectly wonderful evening, but this wasn’t it. - Groucho Marx

Offline

Board footer

Powered by FluxBB