The Linux Thread - The Autist's OS of Choice

  • 🔧 At about Midnight EST I am going to completely fuck up the site trying to fix something.
is it possible to install windows onto a portable ssd and then boot that into a VM? I wan to access windows for a few specific programs but i dont want to use my actual drive space for it

something like this

alternatively how safe is it to pass my current windows ssd into a VM? i dont want to bork my windows install.
 
Last edited:
I just built an amd system with a 9070 and other newish parts, and I read that Mint might have problems with that

"Drivers" for graphics cards are going to come from mesa so whatever distro you pick basically just needs to have a new enough mesa version for your card. I don't know how old mint's mesa package is so you would need to check.

FWIW my vanilla as vanilla can be Mint installation is on mesa 25.1.3 which is a couple of months old and apparently a bug fix to revert an issue with RDNA4 9000 series cards introduced with 25.1.2. So should be OK but caveat emptor and all that.
 
  • Informative
Reactions: SCV
is it possible to install windows onto a portable ssd and then boot that into a VM? I wan to access windows for a few specific programs but i dont want to use my actual drive space for it

something like this
Yes. You would tell the VM client to boot from that disk instead of a disk image which is most common.
alternatively how safe is it to pass my current windows ssd into a VM? i dont want to bork my windows install.
Make a backup and try it. I don't see why it would cause issues aside from maybe Windows being locked to your motherboard but I don't think it wouldn't work and it shouldn't break anything but I haven't had to deal with Windows like that in a long time.
 
  • Like
Reactions: The Saltening
is it possible to install windows onto a portable ssd and then boot that into a VM? I wan to access windows for a few specific programs but i dont want to use my actual drive space for it

something like this

alternatively how safe is it to pass my current windows ssd into a VM? i dont want to bork my windows install.
A 500 gb ssd costs $50.
 
Make a backup and try it. I don't see why it would cause issues aside from maybe Windows being locked to your motherboard but I don't think it wouldn't work and it shouldn't break anything but I haven't had to deal with Windows like that in a long time.
Windows tends to get really confused when hardware changes, it might work but often it wont without beating it with a stick.
 
A 500 gb ssd costs $50.
see. the problem is i have a bunch of drives. all for my old windows install. and because im a data hoarder i refuse to change them. i have no more space for drives.

i will probably need to remedy this because im sure my linux drive will fill up eventually.

i guess i could buy a big ass ssd and transport all my windows things onto one drive. We are talking terabytes of data. mostly steam games tbh.

my main thing is i want my windows to be untouched. but its spread across like 5 drives. maybe i will transport my windows into a completely different pc idk.

TL: DR i have no more expansion room unless i start reclaiming windows drives.
 
see. the problem is i have a bunch of drives. all for my old windows install. and because im a data hoarder i refuse to change them. i have no more space for drives.

i will probably need to remedy this because im sure my linux drive will fill up eventually.

i guess i could buy a big ass ssd and transport all my windows things onto one drive. We are talking terabytes of data. mostly steam games tbh.

my main thing is i want my windows to be untouched. but its spread across like 5 drives. maybe i will transport my windows into a completely different pc idk.

TL: DR i have no more expansion room unless i start reclaiming windows drives.
And I thought my two SSD split shenanigans were autistic :stress:
 
  • Feels
Reactions: YoRHa No. 2 Type B
s6 vs runit
There's no fucking way runit beats s6 at anything except ease of use. s6 autistically precompiles service dependencies so it doesn't have to do it at runtime, while runit just launches everything in parallel, most of the time through a shell script. Turns out having a bunch of services start then fail because some dependency isn't up yet is a waste of time and slows everything down.
 
And I thought my two SSD split shenanigans were autistic :stress:
i tried isolating my windows install to one drive and then installed everything else everywhere else. and id order them by importance. so stuff i use a lot got the good drive and then stuff i rarely use or downloads got sent to the bulk hdd.

games got the SSDs with my favs being on an nvme and then stuff i played frequently but less often were on a sata ssd.

its a fuckin mess.
 
I think customization/ricing has its place. Better navigation and faster app switching, for example, make interfacing with the steel behemoth on my desk less cumbersome. But Hyprland seems to be emblematic of this widely popular "style over substance" (ricing) culture. If I fullscreen their website so much shit is happening that my web browser begins lagging. It being written in C++ makes it at least serviceable, but for many other popular apps, e.g. Groomcord, that's just not the case. I'm not saying that we should go back to exclusively using cli tools, but most developers now use so much memory and processing power that I might as well fry an egg on my computer's heat sink. A lack of gradients never killed anybody, but at this point it seems that the price we paid for gradients is about to kill my computer.
The thing I like about hyprland, isn't the animations, and eye candy. I don't mind it. I like that it's so extensible, without having to put in that much effort. Has quite a bit of choice from just the default keys built into it. It has the default dwindle layout, and a ton of configuration with that, I want to say you can manually tile with it. Or you can make it act like a dynamic tiler like dwm, or the window managers inspired by it. You get hyprctl, and if you start messing with the ipc options through that, you can make key binds, or window rules for just about anything you can possibly think about. Without needing to write code, outside of the normal configuration syntax.

That said. I've personally never noticed hyprland actually putting any extra strain on my computer. Especially if I'm not putting blur with 4 passes on everything being rendered. Which to it's credit, it does tend to handle a lot better than picom ever has for me. But no blur, disable animations, and I really don't notice it running much different than dwm, or i3, all things considered.

but also while I'm running it I use this.
Code:
xwayland {
    enabled = false
}


also launching electron applications/browsers with this.

--ozone-platform-hint=auto

so I'm not running an extra xorg session on top of my wayland session. When it's really not necessary at this point.

is it possible to install windows onto a portable ssd and then boot that into a VM? I wan to access windows for a few specific programs but i dont want to use my actual drive space for it
I would just boot straight from the drive. instead of trying to run it from a vm. unless you have a good reason not to. I would think you could just go into the bios and pick it as the drive to boot after plugging it in.

There's no fucking way runit beats s6 at anything except ease of use. s6 autistically precompiles service dependencies so it doesn't have to do it at runtime, while runit just launches everything in parallel, most of the time through a shell script. Turns out having a bunch of services start then fail because some dependency isn't up yet is a waste of time and slows everything down.
openrc can actually be pretty decent in parallel mode. With the caveat, you will need to do some manual intervention to add one or two things in the depends function, potentially. If you notice some things aren't waiting like they should for other services. which is generally as easy as adding, dbus, or net to the end of the line, or adding something in the before line, or after line.
 
  • Informative
Reactions: YOU ARE
is it possible to install windows onto a portable ssd and then boot that into a VM? I wan to access windows for a few specific programs but i dont want to use my actual drive space for it

something like this

alternatively how safe is it to pass my current windows ssd into a VM? i dont want to bork my windows install.
You can, it isn't super clearly explained and you would need to figure out how to identify the drive for KVM, I'd say you need to install VirtIO drivers for a significant speed improvement but I think if it's an existing install that might cause more problems then just leaving it at sata emulation
 
Through the magic of pcie passthrough, you can also just let Windows VMs access USB devices or drives, without driver shenanigans. Provided the IOMMU groups of your motherboard don't suck.
 
see. the problem is i have a bunch of drives. all for my old windows install. and because im a data hoarder i refuse to change them. i have no more space for drives.

i will probably need to remedy this because im sure my linux drive will fill up eventually.

i guess i could buy a big ass ssd and transport all my windows things onto one drive. We are talking terabytes of data. mostly steam games tbh.

my main thing is i want my windows to be untouched. but its spread across like 5 drives. maybe i will transport my windows into a completely different pc idk.

TL: DR i have no more expansion room unless i start reclaiming windows drives.
i tried isolating my windows install to one drive and then installed everything else everywhere else. and id order them by importance. so stuff i use a lot got the good drive and then stuff i rarely use or downloads got sent to the bulk hdd.

games got the SSDs with my favs being on an nvme and then stuff i played frequently but less often were on a sata ssd.

its a fuckin mess.
This is fucking lunacy. Hey, retard, when one of these drives die what's your plan? You don't have to tell me you don't have a backup because it's obvious. On top of that you're hoarding steam games on a filesystem without checksumming so it's basically the lowest value hoarding I could imagine. I also really doubt you can notice a difference between an NVME and SATA ssd unless you're doing huge bulk file operations so moving things between them is probably a waste of time and just another chance to fuck up.

is it possible to install windows onto a portable ssd and then boot that into a VM? I wan to access windows for a few specific programs but i dont want to use my actual drive space for it

something like this

alternatively how safe is it to pass my current windows ssd into a VM? i dont want to bork my windows install.
Passing an entire disk to a virtual machine is easy and you can boot windows from it, you can even still boot that copy of windows normally if you don't change anything. You should not do this with "portable [USB]" drives because usb controllers are shit and will break things. If you want 3d acceleration however you either need a 2nd gpu that you pass through or something that supports SR-IOV and then some way to actually see the output like looking glass (win10+) or directly attach a monitor.

Sort of unclear on your requirements (do you need to boot windows on bare metal? do you need 3d acceleration in windows?) but I would say you should consolidate all your windows drives into one VM image on top of a checksumming filesystem (be that on top of a big HDD or some type of raid across your other faster storage) and then get a usable back up.

However if we're being honest given this shitshow I think your data is basically as good as gone anyway so idk if it's worth the effort + chances you make a mistake (no backups meaning any mistake is fatal). Then again you seem to live dangerously so #YOLO.
 
Where vim really gets good isn't the hjkl movements. Those are nice, and like someone else mentioned they become muscle memory on which way they move, rather than actually remembering. But where you really see the benefits of vim is when you start getting into text objects, and doing things like dap yap diw using the { and } to move around full paragraphs, using f to search forward for a character or F to go backwards then you can use ; to repeat that motion, and one of the biggest things is cntrl+v for visual block.

And the more you learn about it, the faster you get. It starts to really compound how much time you save doing editing work. And if people are spending time in editors for work that really adds up. Something I just learned recently. is when you do visual select more. after you highlight something, you can hit :s/foo/bar then do the normal sed style search and replace, for the instances of foo in the text you selected, and replace them with bar. like you might do for a full buffer using :%s/foo/bar. There are so many things you can do with vim to save time. It's crazy what it can do.

And for development work, if someone takes the time to set up an lsp, like they may be using in another ide. but also know, and can take advantage of all the other time saving things vim has. It's really hard to go back to any other editor, you just won't get the things you can from vim from almost any other editor out there
That's true, but my issues is that I keep forgetting about various macros, and my J and K confusion is still in the muscle memory, and I have issues with doing certain things that come easy in GUI editors like Notepad++ like saving files in different encodings or doing Regex replacement as Bram for some God forsaken reason decided that it would be a good idea to use his own syntax conventions and rarely do I find vim more efficient than a GUI editor, it feels like I'm more often fighting it than flowing with it. Probably skill issue, but still. I went through the entire vim tutorial, I get the hang of some of it's features, but I still don't want to use it as a be-all-end-all of text editing. I still prefer it over nano when SSHing into Linux containers to edit configs and whatnot. Recently I switched to Sublime Text and I've been liking it a lot for the general use.
 
  • Feels
Reactions: YoRHa No. 2 Type B
LMAO. Tried this with Devuan. At around 38 minutes of install, it asked me to choose my init system. I chose Runit. It told me to insert the medium I was using. I will not be attempting this again. Sorry for the bad crop, but this shit pissed me off so much you just get my Artix crop parameters.

View attachment 7690263
Huh. It's almost like Devuan doesn't need to be reinstalled every ten minutes like Arch et al do.
 
is it possible to install windows onto a portable ssd and then boot that into a VM? I wan to access windows for a few specific programs but i dont want to use my actual drive space for it

something like this

alternatively how safe is it to pass my current windows ssd into a VM? i dont want to bork my windows install.
You can install Ventoy onto a USB and use their VHD persistence feature.

Disclaimer: You must agree to give daddy Xi all of your data.
 
Back