44
Run Linux from USB and use storage only for... storage: yay or nay (and why)?
(piefed.blahaj.zone)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Mainly performance will take a hit. USB drives are also not really rated for consistent writes so you'll find a USB dies quicker than a standard drive
I see. Well, scratch that then. 😅 Thanks! 🥰
You could buy an M.2 to USB enclosure and use a proper SSD NVMe as "USB drive" but I don't really see any gain in it.
That's what I do. I upgraded the SSD in my Steam Deck to a 1tb (before the prices went nuts, thankfully) and then ended up with a spare 256gb drive. I put it in an enclosure and installed NixOS on it as a sort of second system. It doesn't really do anything super important, it's more a learning project to get comfortable with NixOS without interfering with my daily driver. I could have just as easily done it in a VM but what can I say, I'm a tinkerer lol
The gain is portability. I do this between repairing family machines. You can take your OS and near m.2 mobo speeds and get to work. Live USBs are needed sometimes but having what's yours when you need it exactly where you need it is what matters in times of getting shit done.
Hear hear. It's just my laziness 🤣
If /home and /var are on disk and not USB then it might be ok. The rest of the os is typically only written when installing or configuring things.
Try it, might be fun.
Also the smaller OS's (puppy linux, tailOS) that can run entirely in RAM are going to be fast when it comes to anything but disk reads.
It's just "OSes", and it doesn't need to waste an apostrophe. They're going extinct, you know.
I also thought about running from RAM but I guess the transcription might be needing the RAM too. So that route probably depends on how much RAM there is available
In such a scenario, do I create mount points for them or is there some other, preferred way of pointing to them? Symlinks?
Mount points in fstab
Roger🫡
It's not a deal-breaker or anything tho. Just not for something long term. Totally feasible as something quick and dirty tho.
Yes, I did that for a while some years ago. It was fine. Good enough for using it in a training. And I lost interest in that setup early enough that the stick survives to this day.
I guess an SD card might be better. RasPis work from those for years just fine. Just don't kill the power, power down nicely. SD cards are fragile on that
Interesting! Never thought of that, even though I am running three RPis 😅 I do have a micro SD card and a micro SD card to USB adapter... 🤔
Don't if you value your data. Those are not intended for such tasks and will fail much sooner than your usual disk. Edit: read is fine, write is not