Skip to content

Instantly share code, notes, and snippets.

@pjobson
Last active May 17, 2022 03:46
Show Gist options
  • Save pjobson/367f7571ced0ec8c17dfdfc2800e7baa to your computer and use it in GitHub Desktop.
Save pjobson/367f7571ced0ec8c17dfdfc2800e7baa to your computer and use it in GitHub Desktop.
Mint UEFI / Windows Legacy Dual Boot

Mint UEFI / Windows Legacy Dual Boot

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.

My setup is:

  • Z390 Phantom Gaming-ITX/ac
  • Linux Mint 20.3 on 256GB M.2 SSD
  • Windows 10 on 128GB SATA SSD

Instructions:

  1. Unplug SATA drive.

  2. Insert Mint Flash Drive

  3. Hit F11 to boot from Flash Drive

  4. Install MINT on the M.2 drive.

  5. Do all updates and what not.

  6. Shut Down

  7. Insert Win10 Flash Drive

  8. Hit F11 to boot from Flash Drive

  9. Install Win10 on SATA SSD

  10. Windows will ask to reboot various times or just reboot.

  11. Hit F11 each reboot to select the SATA drive to boot from.

  12. Reboot to Win10 to do updates and install drivers.

  13. Shut Down

  14. Set BIOS to default boot from

  15. Install ReFind

    sudo add-apt-repository ppa:rodsmith/refind
    apt update
    apt install refind
    
  16. Edit the refind.conf and uncomment one line:

    sudo nano /boot/efi/EFI/refind/refind.conf
    # uncomment and set:
    uefi_deep_legacy_scan 1
    
  17. Other config options are here: https://www.rodsbooks.com/refind/configfile.html#table1

  18. Reboot

  19. This will show all possible bootable options.

  20. You should see both your Mint and Windows options.

  21. You may remove extra options with the - key.

  22. There are theming options if you do not like the default theme: https://www.rodsbooks.com/refind/themes.html

Refind Themed

I used the rEFInd theme Regular dark mode, screen shot below; hosted on github here: https://github.com/bobafetthotmail/refind-theme-regular

References:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment