How to install Linux Operating System Using Pendrive on Computer ?

Update Rana Gohil

How to install Linux Operating System 

Using Pendrive on Computer ? 

You can see How to install Linux Operating System Using Pendrive on Computer so must read this article. 

01. Create Bootable Linux Installation Media

Use your Linux ISO image file to create a bootable USB installation media. You can use any software like Unetbootin, Gnome Disk Utility, Yumi Multi Boot, xboot, Live USB Creator, etc. to create bootable USB with the help of ISO image file. Alternatively, you can use DVD disk by writing that ISO image to it (but that is the old school method).

02. Create Partitions On Main USB Drive

You have to make two partitions on your Main USB drive using Gparted or Gnome Disk Utility, etc.

The root partition of format ext4 of size according to your use.

Optionally you can use the rest of the space as a FAT partition for using it as a normal USB drive.

I am having 16GB USB drive and I have created one root partition of 5GB and using rest 11GB as normal FAT partition. So my 16 GB USB drive is converted to 11GB drive for normal use on any PC. Sounds good!!!

This step you can do while installing Linux also, but it will be very complex while installing Operating Systems like Arch Linux.

Once you have created required partitions on the Main USB drive. Now take a deep breath because it’s time to go for Linux installation section.

Step 3: Install Linux on USB Drive

➥ First, boot Linux OS (Lubuntu 18.04) from your bootable installation media and launch installation application from a live session. Live session of Lubuntu 18.04 will look like this.

➥ Installer welcome screen will appear, select Language there and hit Continue.

➥ Select Keyboard Layout and continue…

➥ Select Wifi internet if you want to update Lubuntu while installation. I will skip it.

➥ Select Installation Type and Third-party installation as per your choice and go to next..

➥ Here select Something Else Option (It is Mandatory) and go to next…

➥ This is an important step, here you need to find out where your Main USB drive is mounted.

➥ In my case /dev/sda are an internal hard disk of the PC and I am using /dev/sdb is USB Lubuntu Installation media from where this live session is booted.

➥ And /dev/sdc is my Main USB drive where I want to install my Linux system and where I have made two partitions in step number 2. If you have skipped step 2, you can also make partitions in this window.

➥ First, change the mount point of the first partition on this Main USB drive to ROOT (i.e. “ / ”). And as shown in the second red square select bootloader installation device as the Main USB drive.

➥ In my case it is /dev/sdc. This is the most important step in this tutorial. If it is not done correctly your system will boot only on the current PC you are using, which is exactly opposite of your motivation to follow this tutorial.

➥ Once it is completed, double-check it and hit continue. You will get a small window showing devices and drive which will be affected.

➥ Make sure that the device and drives shown on this window are of your Main USB drive, which is in my case /dev/sdc. Hit continue…

➥ Now select your Region and hit Continue…

➥ Add username, password, and hostname, etc…

➥ Let the installation finish.

➥ After completing installation hit restart and remove your installation media and press Enter.

➥ Congratulations, you have successfully installed your own Linux OS on your pen drive to use it on any PC. Now you can connect a USB drive to any PC and start your system on that PC by simply selecting boot from USB option while booting.

04. Customize the Lubuntu System

Now it’s time for fun. Just boot your system on any PC and start customizing. You can install any software you want. You can change Themes, Icon themes, install docker.

You can add and store your online accounts on it. Install/modify/customize whatever you want. All the changes will be permanent. They will not change or reset after rebooting or booting on other PCs.

The following figure shows my customized Lubuntu 18.04.

The main advantage of this method is you can use your personal stuff, your online accounts securely on any PC. You can even do secure online transactions as well on any available PC.

I hope it will be helpful for you, if you have questions regarding this article, please feel free to ask in the comment section below.


👉 One Pendrive 4GB or More (Let’s call it as Main USB drive/Pendrive).

👉 One more Pen drive or DVD disk to use as bootable Linux installation media.

👉 Linux OS ISO file, for example Lubuntu 18.04.

👉 One PC (Warning: Disconnect internal hard drives to prevent boot record alteration).


Credit:-  Manoj Saru ( Technology Gyan ) 

Post a Comment

Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !