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.

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

    Not OP, but didnt work for me. I dont know how to passtrough gpu (or not possible with single gpu?) and performance is so bad its unusable

    • jcarax@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      SR-IOV is the keyword you can start with. I know Nvidia only supports it with pro cards. Didn’t used to be the case, but I think AMD followed suit. I’m not sure on that point. I read recently that Intel is working on it for their Arc cards in the new driver, or something, but I’m really not familiar with anything regarding Intel’s discrete cards.

    • TheFriendlyArtificer@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I had a very similar situation.

      I have to use Rhino 3D for work but refuse to give up my Arch daily driver.

      I’ve been a sysadmin since Red Hat came on floppies.

      And getting PCIe passthrough, accelerated network and disk drivers, and a whole plethora of other odds and ends working to the point where I could even boot Win11 took two solid days of work.

      I’m still not even sure how I did it. I wouldn’t expect anybody else to figure it out.

      Next time I plan on experimenting with the Photon libraries.

      I’ve been using Linux as my (mostly) sole desktop since 2005. We’ve come such a long way! But CAD/CAM software has always been anemic.

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

        This makes me more comfortable to finish building my 2nd PC for windows with KVM switch