Jump to content

Dual Booting NixOS and Windows: Difference between revisions

→‎Autodetection with os-prober: add note about systemd-boot
imported>Loosetooth
No edit summary
(→‎Autodetection with os-prober: add note about systemd-boot)
Line 2: Line 2:


This section explains various methods to have the bootloader prompt whether to boot windows or NixOS.
This section explains various methods to have the bootloader prompt whether to boot windows or NixOS.
== Autodetection with systemd-boot ==
If <code>\EFI\Microsoft\Boot\bootmgfw.efi</code> is detected on the EFI System Partition (ESP), it will be loaded by systemd-boot automatically.
Therefore, on EFI systems, it may be simplest to resize the existing ESP to at least 500 megabytes, and share that ESP for NixOS.


== Autodetection with os-prober ==
== Autodetection with os-prober ==