So, I had to reinstall windows as a dualboot, because I need some CAD tools for work. It was painful but it's not thebaubject

I'm running nixos with systemd-boot and I installed windows on another drive. I started to research how to add the entry on the boot list so I don't need to go in bios to switch the boot order each time I want to change OS.

Most of the information I find is about grub on nixos but I finally find information on how to add a manual entry. On the Arch wiki I find some information but now I have to blend all that to make it work on my laptop.

It's late and I'm scared to mess up my boot partition so I go to sleep to work instructions on it the next day.

The next day I'm ready to do all that only to realized that there is already the entry for windows is already in the boot menu, it has been added automatically.

So I spent all this time to think about how I while have to adjust my system manually only to realize that nixos already did it automatically for me.

  • PainInTheAES@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Yeah this isn't really much of an issue with EFI now. You can change boot order in the BIOS and things are way less likely to get overwritten or broken. You can even have 2 EFI partitions if it's something your concerned about.

    • Kuadhual@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      The only time I got my grub overwritten was when I have to update bios/firmware from Windows. After bios/firmware update, the update app always restore windows boot manager and I need to reinstall grub from live environment.