Installing Linux(Ubuntu 16.04) onto a USB Drive

Kadran

Commendable
Apr 17, 2016
4
0
1,510
Hey guys,

So I've got some older components kicking around that I'm piecing together to make a media centre PC. Pretty much it's just going to be a streaming system, nothing incredibly fancy, and doesn't need a whole lot of storage space. I don't have an extra hard drive kicking around at the moment, so my question is this:

Can you install Ubuntu Desktop 16.04 LTS directly onto a USB flash drive, and have the system boot, and run 100% from the USB, just like an internal HDD (able to install programs and codecs)? If so, how would one go about this? Am I correct with these steps:

1. Burn bootable .iso image to LiveCD

2. Reboot system with the USB drive I want OS installed onto plugged in, and boot from LiveCD

3. Will the installer detect the USB flash drive as a potential boot drive, or does the flash drive need to be formatted a particular way first? FAT32, or ext?

4. Partition drive and install OS onto USB Drive.

5. Enjoy

Or is there a complete other way to do it that hasn't shown up in my searches?

Thanks in advance.
 
Solution
Yes possivle but it is not really recommend because usb drives are relatively slow. Look into specialized linux distrobution designed to run off flash/load into ram like puppy linux, slax, porteus, alphaos...

If you just want a HTPC checkout OpenELEC. 160mb OS boots straight into kodi/xbmc, runs off flash drive. Works great out of the box on most hardware and very wide/kid friendly
http://openelec.tv
Yes possivle but it is not really recommend because usb drives are relatively slow. Look into specialized linux distrobution designed to run off flash/load into ram like puppy linux, slax, porteus, alphaos...

If you just want a HTPC checkout OpenELEC. 160mb OS boots straight into kodi/xbmc, runs off flash drive. Works great out of the box on most hardware and very wide/kid friendly
http://openelec.tv
 
Solution

Kadran

Commendable
Apr 17, 2016
4
0
1,510
Thanks for the reply. I know it's not the most optimal setup, especially since it'll be on a USB 2.0 interface, but it is a setup for now. Haha. I was planning after on just making an image of the USB drive and restoring it onto a fresh HDD using something like remastersys.

Thanks a lot for the tip, haven't come across that distro yet in my searches, I'll check it out!
 

TRENDING THREADS