r/linuxhardware • u/utchanfs • 3d ago
Discussion advice for portable linux
I recently found out about portable operating systems for the first time, and I realised it might be useful for me. I have a laptop at school, where I can't download anything, and the software is just shitty. I also have multiple other pcs at home, and I think a usb stick with its own os and data and everything just on it might be useful, so I can switch between computers without having to change anything, but i have a few questions about that:
what should I put the os on? (like a usb stick or an hdd)
can I format it so that a part could just act as a normal storage device?
maybe most important, what os should I use that can run on shitty hardware and can also run (most) modern programs?
also, on the school laptop (which I'm mostly doing this for) I think the school can just see literally everything and download and delete stuff, could they also view the linux drive when it's attached?
I'll mostly be using it in the browser at school, and maybe play a little games.
edit:
with shitty software I mean windows 10 for education and a buch of bloatware
with shitty hardware I mean 4 GB of RAM and an old intel pentium
2
u/redgator12 3d ago
2 options: MiniOS or MX Linux.
MiniOS is easy to install and runs extremely well from USB 3.0. You flash it to the USB, boot using the Boot to RAM option, and then unplug the USB and plug it back in. Open Install MiniOS from the start menu and install to the USB. You're done. You can use it for general file storage as well as your OS, and everything is persistent across boots and between devices. Anything you can do on Debian can be done on MiniOS.
MX is similar, but requires manually setting up persistence and additional file storage. The YouTube channel runwiththedolphin has videos covering all of the setup maintenance steps. It's more time consuming and requires more user intervention if the persistence fills up.
I would recommend going with MiniOS Ultra if you're brand new to Linux and want the most set-it-and-forget-it experience.
1
u/rileyrgham 3d ago
Stop calling things shitty. It's not a good look when you don't even define it.
1
u/Bino5150 3d ago
Depends on your usecase. I have Kali Linux Live on a usb flash drive. Not the distro you’re looking for, but to answer your question, no, if you boot from the flash drive, they won’t be able to see the Linux, because you aren’t booting your Windows partition, you’re bypassing it.
1
u/tomscharbach 3d ago
I routinely install Linux distributions (currently Anduin 2.0, Linux Mint, LMDE7, Ubuntu 26.10, Zorin) on external drives (surplus/repurposed M.2 drives, Sabrent enclosures) as "portable" operating systems that I can boot into and evaluate.
For light use, a USB will be okay, but USB drives do not operate at external drive speeds.
By installing onto the external drive, I can partition part of the drive for data storage independent of the boot sector and operating system.
Depends on what you mean by "shitty". Most people would suggest a "lightweight" desktop environment like XFCE, and I guess that makes sense, but modern applications (browsers in particular) are the primary problem when it comes to slow specification hardware.
I would assume that to be the case. More to the point, though, is that if your school's IT department has half the brains that God gave grasshoppers, school computers will have locked BIOS that will prevent you from booting into the external drive.
My best and good luck.
1
u/doc_willis 3d ago
MXlinux on a usb-sdd.
1
u/skyfishgoo 3d ago
what you want is a usb drive enclosure with an nvme drive inside it.
i can recommend the sabrent brand of enclosures and crucial p310 nvme drives for their value (about $200 total for a 1TB setup, last i checked).
but before you go that far, you should make sure you can even boot to a USB on the machines you intend to do this with.
for that all you need is a thumbdrive set up as a bootable drive using one of the m many tools for that and an .iso file of the distro you intend to use.
kubuntu LTS should work on just about anything you load it onto, but if you want something super light but still has a full desktop environment, then i would say lubuntu is a better choice.
set up your USB drive and take to each of these machines and see if you can boot to it.. you may have evoke the EFI boot menu to see the drive (F8 on Asus boards, it varies by firmware).
if it boots, you can check to see if the network is functional, and all the peripherals work, and if it's all good than use that same USB on any machine with more than one USB port so you can connect your portable drive enclosure at the same time and just point the installer at it.
now your will have a portable PC you can boot from any of your locations that has all your stuff on it.
1
u/evild4ve 3d ago
Puppy Linux
1
u/LordAnchemis 3d ago
Alpine does portable mode I think - although it doesn't use glibc, so pain unless you know what you're doing
1
u/chuggerguy 3d ago
This is a full Mint install MIRRORED to a fast USB 3.n device. Looks like a USB flash device but it's actually an SSD on a stick. (It could have been a full install, I just used a shortcut since I already had a tweaked install)
(Better Image)
My mirrors are mainly system backup but they boot and run just like the internal. I've never ran a USB mirror longer than a couple days so don't know about longevity. (due to heat buildup) I suppose an nvme or ssd in an external case with a fan would run cooler and last longer. But regardless, they all die eventually so I'd always have a backup, no matter if I was running external or internal.
Booting on the parent machine, all extra drives are mounted and it runs enough like the internal install that I change wallpaper so I don't forget what I'm running. (USB in lower right)
Of course, that's with a fast SSD stick device plugged into a 3.n port. Anything less and you'd probably be better off running something that loads into and runs from memory. Even then, boot might be kinda slow.
But like others point out, even with a full Linux install on a USB device, school computers are likely, and should be, locked down to prevent you booting from USB. Probably... not certainly. You could ask.
Good luck.
ETA, been running a couple hours, device temp is 36C. Computer has been relatively idle, mostly just using the browser so not much read write activity to the boot device.
1
u/Tony1Rice 3d ago
I'm not doing so right now, but in the past, I have used Tiny Core Linux on a USB stick for over a year at a time. In that instance, the only reason I eventually installed to they system's HDD was because I was worried I'd eventually damage that protruding thumb drive.
It's fairly common, I think, for people to make bootable USB stick by just flashing an ISO onto it. If you do this, then the USB stick will have a read-only filesystem on it - it's pretending to be an optical disk - so you won't be able to write anything more to it and a big part of your storage capacity (depending on the size of the USB stick) will be wasted. DON'T DO THAT.
Instead, install Tiny Core Linux onto the USB stick as if you were installing it onto a regular hard disk. That way you have a writable file system right off the bat. Since Tiny Core runs with most of its file system in RAM, the speed of the USB stick is almost irrelevant - even a USB 2.0 stick will do.
1
u/CyclingHikingYeti 3d ago
a good usb key or small used nvme in usb enclosure, any smaller distros will do just fine, avoid extremely small distrost because they omit recent kernels and most used software ;
install any of distros onto it, then configure one of VPN and remote from that machine into home machine and use it remotely
Mind that if your school does IT the correct way , school computers are enrolled into AD or similliar management system and with booting unupported OS you will not even get IP from schools DNS server - so no network for you ; but that is probably not the case
also check which of windows software is mandatory/essential and if you can get into trouble with school rules for computer lab if you boot own OS onto it
1
u/DavidJohnMcCann 2d ago
Puppy is great for that. I once introduced a US naval officer to it. He traveled round the world doing mysterious stuff in various bases. With Puppy, he could just requisition a laptop, use Puppy, and when he left there was no trace on the machine of what he'd been doing.