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.

  • 0x0
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Why not installing windows in a vm?

    • 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

      • 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

      • Crozekiel@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        I’m curious about this as well, have had trouble getting it to work well and wondering if I need a second gpu to pass through… But if that’s the case, what does it do for cpu? Pass through some of the cores? Same with ram?

        Honestly I’ve just been having better luck running things via proton… Got fusion 360 running fine in bottles with proton ge.

        • hubobes@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Yes and yes, theoretically you can somehow get single GPU passtrough working but it was never a clean solution for me. CPU and RAM must be shared though.

          I am running a 4070 Ti and a 4060 Ti (for the VM trough Looking Glass) and a 5800X3D of which 6 cores and 24GB of RAM go to the VM. Allows me to play any modern AAA game at 1440p perfectly fine. And since there are 2 GPUs I can still use Gnome and run programs like Discord on Linux. But I only use the VM if wine/proton can’t run it.

      • 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.