Page 1 of 1

[SOLVED] Dual boot: directly into Windows 10

PostPosted: Jul 10th, '22, 06:25
by mystere88
Hello All,

I'm installling Mageia 8 (DVD 64 bit -EFI) on ThinkPad with Windows 10. Followed everyhting as recommended on MageiaWiki[dual boot], including removing `fastboot` and `secure boot`.

The installation went smoothly without issue. Once done and reboot, no Grub Boot menu appears, and it boot into Windows straight.

Have re-install / update using the DVD several times, checked what I could. Also run into `Rescue mode`, mount the system on `/mnt/`, run the `efibootmgr`, the output is:
mnt-bin-efibootmgr.jpg
mnt-bin-efibootmgr.jpg (2.34 MiB) Viewed 1912 times


Also when mounting the system on `/mnt/`, a few FATAL ERRORs appeared in the message list (not sure whether it is relevant), but also shown in case:
fatal-error-module-cbc-not-found.jpg
fatal-error-module-cbc-not-found.jpg (2.63 MiB) Viewed 1912 times


Would appreciate to know what is going on here, and any method to investigate and fix the issue. :)

Re: Dual boot: directly into Windows 10

PostPosted: Jul 10th, '22, 07:51
by sturmvogel
In your first picture no Mageia boot device/entry is shown. Did you check the UEFI boot order in your BIOS?

Did you try this:
https://wiki.mageia.org/en/Mageia_in_dual_boot_with_Windows8_and_over#Windows_starts_directly

Did you try to check "Install in /EFI/BOOT." for buggy BIOS whilst installation of Mageia?
https://doc.mageia.org/draklive/8/en/content/setupBootloader.html#d4e778

Re: Dual boot: directly into Windows 10

PostPosted: Jul 10th, '22, 11:41
by mystere88
Thank you. In fact I tried the method indicated in:
https://wiki.mageia.org/en/Mageia_in_dual_boot_with_Windows8_and_over#Windows_starts_directly
with
Code: Select all
 bcdedit /set {bootmgr} path \EFI\mageia\grubx64.efi

but got a syntax error message on my Windows 10 (ThinkPad X1, Windows 10 Family Edition).
Today, I put quotes around {bootmgr} as in
Code: Select all
bcdedit /set  “{bootmgr}“ path \EFI\mageia\grubx64.efi

and it brought me the Blue Mageia Grub 2 Boot menu :D

Re: [SOLVED] Dual boot: directly into Windows 10

PostPosted: Jul 10th, '22, 17:23
by morgano
Good find :)
Searching for your solution, I see single quotes are suggested at
https://superuser.com/a/1037700
"Quotes will fail in cmd.exe but are needed in Powershell"
We should probably update our wiki

Re: [SOLVED] Dual boot: directly into Windows 10

PostPosted: Jul 10th, '22, 17:32
by sturmvogel
morgano wrote:We should probably update our wiki

Done.