I may do a VM as I have to find a way to utilize my specialized music gear. I do have to say thank you for pointing me in the direction of Liquidctl though, I want to consider that.
It’s okay to dual-boot, or have independent systems. Just a suggestion, to consider.
I have 3 daily driven rigs. A MacBook for work, a Linux laptop for most things personal, and a Windows PC for gaming. Everything serves a purpose and specific use case.
Funny enough, last time I tried to do the whole 2 systems, I had Arch (with GRUB) on one nvme, and windows 11 on another nvme. At some point, all drives were unbootable. I am lucky I had my important data backed up, and on a separate drive anyways.
I had thought about it, but I really want to ditch anything windows.
What you want sounds like you need something CRIU based where the whole processes are saved and restored. Not sure that is worth it though as it would be rather inflexible if you want the slightest changes in the application state.
Next time I build a PC I likely will just out of the necessity for consistent driver support in linux. Though AMD cards in windows have always given me lesser results.
Use VirtualBox to make a Windows VM and you pick the USB devices from the menu to connect them on the fly, or you can configure the VM to pass them in by default.
Basically the windows partition was taking up around 250 gb. And wasn’t even booting into it. Sure I could access it from Linux, but it was literally useless.
Distrobox, by default, doesn’t provide much isolation/sandboxing - it’s main aim is desktop integration and filesystem transparency. So if you’re trying to use it for isolation, it’s a bad idea.
However, you can create a new container which will isolate your filesystem and prevent such conflicts, using the –unshare-devsys flag. (if you want FULL isolation though, use the –unshare-all flag).
Then enter the container and install the flatpak app as usual.
I just tested this on Fedora uBlue and an Arch container and it works fine, didn’t have to unmount anything.
I know that I’m not getting a full sandbox - that’s ok. Ultimately I’m trying to get bottles running in the hopes of getting a semi-contained environment for me to test out yabridge and getting reaper to load the vsts without crashing. (Reaper is the easy part, the plugins not so much…)
A modicum of isolation here (even if not complete) will help me figure things out. Obviously, if I need different kernel/flags the host will get it too.
If I unshare-devsys, will that disable audio? (I’m still trying to get a clear picture of what’s shared and what isn’t with distrobox/podman (with docker, it feels a bit more straightforward, but I’m not sure docker would be the right choice here…)
Audio works. Not sure how though, –unshare-devsys is supposed to not share the hosts devices, but I guess audio devices are an exception.
The full isolation flags are:
<span style="color:#323232;">--unshare-devsys: do not share host devices and sysfs dirs from host
</span><span style="color:#323232;">--unshare-ipc: do not share ipc namespace with host
</span><span style="color:#323232;">--unshare-netns: do not share the net namespace with host
</span><span style="color:#323232;">--unshare-process: do not share process namespace with host
</span><span style="color:#323232;">--unshare-all: activate all the unshare flags below
</span>
I don’t have much VM experience and I didn’t think of them for this. I didn’t know you can do suspend to disk. Does it work reliably? Would I be correct in guessing each “saved session” would be no greater in size than your available RAM?
Interface-wise would it be similar to a remote session where you open a window and it has a full second desktop inside it?
Fedora rawhide’s an interesting bleeding edge experience. I’d recommend installing fedora minimal and setting up your system from there. The rpm system’s rather robust when it comes to installing the correct dependencies when done correctly so I personally haven’t had any issues with version conflicts.
it really is comforting to know you can do 99% of stuff you want with PCs without a license from Microsoft. FOSS has its own headaches but at least you don’t have to wade through a PR swamp to fix stupid bugs
Some great newer tech distros would be Fedora Silverblue, or if you like Debian, there is VanillaOS. They are immutable distros, and they introduce a new way of using Linux. I like to pair it with distrobox, which lets you use regular Linux applications in a container.
linux
Hot
This magazine is from a federated server and may be incomplete. Browse more on the original instance.