Short guide to dual booting where Windows gets installed as Legacy, for whatever reason, instead of UEFI. I was having issues dual booting from my Z390 Phantom Gaming-ITX/ac the os-prober
command would never pick-up Windows and put it into grub for me to boot from. Eventually I figured out that Windows was being installed as Legacy instead of UEFI. Even setting the BIOS to use UEFI only, Windows was getting installed as Legacy for some reason.
- Z390 Phantom Gaming-ITX/ac
- Linux Mint 20.3 on 256GB M.2 SSD
- Windows 10 on 128GB SATA SSD
-
Unplug SATA drive.
-
Insert Mint Flash Drive
-
Hit F11 to boot from Flash Drive
-
Install MINT on the M.2 drive.
-
Do all updates and what not.
-
Shut Down
-
Insert Win10 Flash Drive
-
Hit F11 to boot from Flash Drive
-
Install Win10 on SATA SSD
-
Windows will ask to reboot various times or just reboot.
-
Hit F11 each reboot to select the SATA drive to boot from.
-
Reboot to Win10 to do updates and install drivers.
-
Shut Down
-
Set BIOS to default boot from
-
Install ReFind
sudo add-apt-repository ppa:rodsmith/refind apt update apt install refind
-
Edit the
refind.conf
and uncomment one line:sudo nano /boot/efi/EFI/refind/refind.conf # uncomment and set: uefi_deep_legacy_scan 1
-
Other config options are here: https://www.rodsbooks.com/refind/configfile.html#table1
-
Reboot
-
This will show all possible bootable options.
-
You should see both your Mint and Windows options.
-
You may remove extra options with the
-
key. -
There are theming options if you do not like the default theme: https://www.rodsbooks.com/refind/themes.html
I used the rEFInd theme Regular dark mode, screen shot below; hosted on github here: https://github.com/bobafetthotmail/refind-theme-regular