Linux Lite Forums

Software - Support => Tutorials => Topic started by: minesheep on June 04, 2019, 04:19:38 AM

Title: How to install Linux Lite to a USB drive
Post by: minesheep on June 04, 2019, 04:19:38 AM
You need                                recommended
4GB USB drive                       4GB USB drive
16GB USB drive                     32GB USB drive
60minutes of time                 120minutes of time


Start by booting to live desktop with live USB or DVD:

(https://imgur.com/kYoT3is.png)

Connect another empty USB drive to your computer this drive will be erased and linux lite installed to this (now) empty drive.

Double click the install icon:

(https://imgur.com/sPnmD4D.png)

Select correct language and keyboard layout:

(https://imgur.com/UTtP9eT.png)

(https://imgur.com/Uyv7v4x.png)

You can connect to wifi network now if you want but this is not needed for installing the OS:

(https://imgur.com/s0QWBjZ.png)

Do NOT install any proprietary drivers they often break compability between multiple computers:

(https://imgur.com/yx86COf.png)

Select "Something else" for manually installing to USB and not to the internal hard drive:

(https://imgur.com/xyREIdO.png)

Now the installer shows your internal hard disk drive partitions. Do NOT make any changes to them.

Select "Device for boot loader installation:"

(https://imgur.com/Fk3D3jn.png)

Select your own USB drive:

(https://imgur.com/1IuZbaT.png)

(https://imgur.com/DIkdOkb.png)

Select your own USB drive from the upper list for me it's sdc:

(https://imgur.com/DIkdOkb.png)

Remove the fat32 partition from the targer USB drive, but make 100% sure it's your stick partition my partition is 15,6gb in size and my USB drive is 16gb so it must be the correct partition Remove it with the minus icon after selecting it from the list (sdc1):

(https://imgur.com/VAtNlb0.png)

Select the free space you just made and select the plus button to create your system partition:

(https://imgur.com/BEZHcKo.png)

Choose the size to your system partition it must be at least 9GB but I recommend to make it at least 12GB otherwise you instantly run out of space and the mount point must be "/":

(https://imgur.com/knoPhP3.png)

Select the free space again under sdc or whatever it is on your computer:

(https://imgur.com/5rjcKEA.png)

Add a "swap area" it needs about 2GB but if you want to use hibernation make it bigger than your RAM and then you must install to at least 32GB USB drive:

(https://imgur.com/mqR0jVd.png)

I also made 1550MB partition to fill the unused space with windows compatible fat32 partition and it shouldn't have any mount points:

(https://imgur.com/IakH5Wg.png)

My final partitioning looks like this:

(https://imgur.com/kbmuQt9.png)

That is OK:

(https://imgur.com/6iMhiod.png)

Continue when it asks it:

(https://imgur.com/0ArODYw.png)

Select your time zone:

(https://imgur.com/xuqoVuC.png)

Make user:

(https://imgur.com/Jec5LKS.png)

Wait, it say when it's done:

(https://imgur.com/RP6mKIq.png)


Note: If your swap area is bigger than biggest RAM in your computers you can use hibernation even when your stick is not connected to your computer(s).
Note2: Suspend works too, but you must keep the USB drive connected to the computer.
Title: Re: How to install Linux Lite to a USB drive
Post by: Sprintrdriver on June 06, 2019, 11:56:06 AM
Thank you for providing this nice guide.

There is one concern I have to ask. Doesn't the installer automatically place the boot sector on the first disk found? If that is true, I think you also should disconnect any physically drives installed in the computer.
Title: Re: How to install Linux Lite to a USB drive
Post by: minesheep on June 07, 2019, 10:03:09 AM
I have had no problems with two computers, one with LL 4.4 and one with nothing. Works with windows too as long as it boots from USB
Title: Re: How to install Linux Lite to a USB drive
Post by: firenice03 on June 07, 2019, 08:56:28 PM
Thank you for providing this nice guide.

There is one concern I have to ask. Doesn't the installer automatically place the boot sector on the first disk found? If that is true, I think you also should disconnect any physically drives installed in the computer.
If choosing "Something Else" you can relocate the LL boot sector to another disk - in this case the USB...