Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I want to install Ubuntu like how you would to a hard drive so I can use it as a portable system. I do not want a Live install; I want something where i can install updates, install drivers, and things like that. I'm really confused because I made a persistent install using UNetBootIn in Windows thinking that would allow me to do that and yet when I booted I still saw the "Install Ubuntu 12.04 LTS" icon.

share|improve this question

marked as duplicate by Eliah Kagan, Tim, mikewhatever, Warren Hill, Eric Carvalho Aug 17 '14 at 15:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Refer this… – atenz Jul 31 '12 at 15:06

Have a look at this guide and video on my website on installing Ubuntu to a USB drive. It will help you do exactly what you want and it's very simple.

How to Install Ubuntu To USB Drives

Installing Ubuntu to an external hard drive or USB memory stick is a very safe way to install Ubuntu. If you are worried about changes being made to your computer, this is the method for you. Your computer will remain unchanged and without the Usb inserted, it will load your operating system as normal. When you connect and boot from the USB drive you will be given the choice to load Ubuntu or your usual operating system.

What we need to install Ubuntu to a USB drive is a computer, an Ubuntu live CD/USB, and a USB drive. 8 GB is the minimum recommended size for a functional and useable system (although 4 GB is the minimum). We recommend an external hard disk and at least 20 GB.

It is recommended to partition your USB drive, but not necessary, assuming you have 2GB RAM or more. Partitioning can be done from the Ubuntu live CD/DVD using 'disk utility', or from the installation partitioning menu.

We recommend using a Live CD/DVD and unplugging any other USB drives as this makes life easier. We will assume that you are using an unpartitioned USB drive and CD/DVD for this guide.

How To Install Ubuntu To A USB Drive

Insert the Ubuntu Live CD/DVD, switch on the computer and tell it to boot from CD/DVD using your 'BIOS'. It will take a couple of minutes to load and you will be presented with two choices. 'Try Ubuntu' or 'Install Ubuntu', you should select 'Install Ubuntu' You will then be presented with a number of options. You need to select the bottom option 'Something Else'.

This will bring you to the partitioning menu. Your Primary hard drive will be listed as 'Sda' followed by any partitions that are on it like Sda1 or Sda2. Below this will be your usb drive, it will be listed as 'Sdb'. Click on 'Sdb1' which is the only partition on the drive and select 'change'.

You need to select 'use this partition as Ext4 File System' (some distributions such as Mint reqiure you to manually select 'format' at this point). Then you need to set the 'mount point' as '/' which is the root file system and click OK. You will be taken back to the previous menu and that partition will have a tick next to it. Now click on 'Sdb' just above that partition, this selects it as the device to install to.

Now just below is an option for where the bootloader is to be installed. It is VERY IMPORTANT that you CHANGE THIS OPTION. THE BOOTLOADER MUST BE INSTALLED TO YOUR DEVICE listed as '/dev/Sdb'. If you do not do this the bootloader will be installed to your internal drive. You are now ready to install to your external device, simply click 'Install'.

You will need to answer a few simple questions like 'name' and 'create password', then you can sit back and relax.

Additional Information

You will need to tell your BIOS to boot from the USB device each time you want to use it. You can easily set USB as your first boot device in the bios, and your normal system will load if the device is not connected. Do not be surprised if your Usb installation takes 3 or 4 minutes to fully boot, especially when using a cheap Usb memory stick. If you choose to install from a usb drive instead of CD/DVD, or you have multiple hard drives and Usb drives connected you need to make sure you are installing to the correct device, as it may not be sdb.

The easiest way to ensure that you are installing to the correct device is to use disk utility. Open disk utility before connecting the device and note the devices on the left. Then connect your device and it should appear at the bottom of the list. Click on that device and look at the top right of the window for 'Device'. It will say something like 'Device : dev/sdc' and so 'sdc' would be the device you need to install to.

share|improve this answer
@Fernhill Linux Project, thanks a ton for the answer. I don't think if the users have really understood the question asked and your answer (which is golden to me because I spent hours online and everybody was talking about persistence Linux etc). I can't share the details but I had to create/work in an environment - USB (or basic portable external device) bootable and "fully functional" OS with user login (no Try or Install option every time). Thanks again for helping me (and others) with the solution (specifically where the bootloader has to be chosen as the USB!) – Vivek Ragunathan Jun 24 '14 at 8:44
Do not be surprised if your Usb installation takes 3 or 4 minutes to fully boot. My live USB drive takes about 30 seconds to boot, should I expect the full installation to take signficantly longer than that assuming similar flash speeds? That is, is this warning based on USB speed, or additional boot items in a full install versus a life install? – Michael Jun 10 '15 at 18:56
This answer was very well articulated and nearly retard-proof. Thanks. I managed to follow the instructions, and I now have a bootable, portable real installation of Ubuntu on a USB 3 pendrive! – Fiksdal Mar 27 at 18:33
Question: If you have a [different] Ubuntu version installed, the system tries to reformat and use the "Swap" partition. Is that OK, or should I force the system to not use that partition? – Alan Campbell Apr 24 at 6:51

The persistent install is persistent the way you want it -- the menu shows "install" option anyway. Just select "Try Ubuntu" to boot your custom Ubuntu.

share|improve this answer

Use Universal USB Installer to install Ubuntu on USB

Boot the USB

Select "Try Ubuntu"

Go to settings

Create ur own user account.

That's it!! U have a Ubuntu persistent USB

share|improve this answer
is that do well ? – Raja Jul 26 '13 at 15:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.