I have a desktop PC with two SSDs—one with Windows installed and the other currently empty, which I plan to use for Linux as I migrate to it. Additionally, I have two 4TB HDDs I intend to configure for NAS storage.

Since I can’t afford a dedicated NAS setup just yet, I’m considering dedicating a portion of the empty SSD to run a NAS solution like TrueNAS or Proxmox for self-hosting. Ideally, I’d like the NAS portion to operate continuously in the background, while allowing me to boot into either Linux or Windows as usual.

Is it possible to set up the NAS environment this way, so it’s always running and accessible, even as I switch between Linux and Windows on my main system?

  • Blue_Morpho@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 days ago

    As others gave said, the solution is a VM but once setup correctly, you won’t notice.

    If Windows is your primary computer, install HyperV, the built in VM manager for Windows. Then create a Linux VM for your NAS.

    Once setup, you won’t even notice. HyperV auto saves and reloads the VM whenever you reboot. You don’t even need a window open for the VM, it runs in the background until you run the manager to connect to the VM and see it in a window.

    If Linux is your primary OS, do the reverse and put Windows in a Linux VM.

    Don’t hassle with Proxmox, etc. That’s for running lots of VM’s and toggling between them.

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 days ago

    Not really, no. I would use either Windows or Linux on the desktop, and run the services and the other OS in VMs.

    Personally I use Windows on my desktop, and I have a Linux VM running docker containers. I use that same VM for random Linux tasks I can’t do on Windows too.

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    10 days ago

    What you’re talking about is a software solution, but the solutions you mention are not standalone software in the way you’re thinking.

    Honestly, it sounds like you don’t want a NAS, you just want shared network storage. If that’s the case, make a Fat partition, share it windows, then go configure samba under the Linux side similarly, paying attention to map a user with a matching uid. There will be some wonk happening here and there with file permissions perhaps, but it will work for the most part.

    The other options you mentioned are meant to control the entire host, but you may be ready to make that leap yet.

    For minimal money, you could also try and get your hands on an older RPi (possibly for free, people just have them laying around), and attach your disks via USB to that, and then you have a basic, but dedicated NAS you can setup the way you like.