this post was submitted on 05 Nov 2024
24 points (90.0% liked)

Selfhosted

40360 readers
415 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] Blue_Morpho 4 points 2 weeks ago (1 children)

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.

[–] [email protected] 2 points 2 weeks ago

This is the way.