Yes, linux on a stick, otherwise know as a usb drive. I’m not talking about a live usb version of Linux. I am talking about actually install Linux on a usb drive. I was curious over the weekend, how cool would it be to install Linux on a usb drive and be able to use any computer to boot up and use my own same operating system each time with persistent data. Meaning that I can update, install and change whatever I want and be able to have the versatility of using whatever computer that may be around.
I had read a couple of articles regarding this and decided to give it a try. I used Virtualbox to create a virtual machine. During the creation, I did not create the virtual hard drive portion. Under the USB section, I made sure to choose USB 3.0 and with the USB drive plugged in, I added it to that section. In the network section, I kept the network option to NAT and everything else I setup according to what I would normally do. Those don’t technically matter because when you boot up, the OS will use the system resources directly. One other thing that I had to select was to use EFI. With that option selected, you get the option to boot up with systemd and not grub. That did make a difference.
I use Arch for this. One thing I found out is that you want to use the latest installer. I would say that no matter which Linux version you use, to use the latest installer to make sure you get the latest mirrors and such. I have tried this on one of the laptops at home and it worked beeeaauuttiifffuullyyyy! It was awesome. When I was done and shutdown the laptop, removed the USB drive and started the laptop up, it booted right into windblows again. So with this method, you have a portable OS that you can take anywhere and use on any computer.
I did try using this on my work computer, but they have that locked down so you can’t get to the boot menu. I may try it again at some point just in case I picked the wrong option, but regardless, I have a couple more laptops at home that I can test it on in the mean time.
This was a fun experiment and I have to say that the results were Linux running blazing fast, even over a USB port. My next option would be to run it over USB C and I imagine the OS would be even faster.