Possible Duplicate:
How do I install Ubuntu to a USB key?

Using a 32GB USB flash drive, can I install Ubuntu 12.04 on it and run USB on various computers without interfacing with any of their hard drives? I want to take care to not disturb anything on my Windows 7 system drive ("C") or any of my four data drives.

marked as duplicate by Takkat, Ringtail, Mitch, jokerdino, Rinzwind Jul 17 '12 at 13:03

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.

  • It's easy, see the link in the comment above. You should know that USB flash drive performance will be much slower than a traditional HDD though. – Tom Brossman Jul 15 '12 at 19:46

We have an excellent guide & video on installing ubuntu to an external hard drive or usb device.
I have copied & pasted the main details below, but it may be clearer & and easier using the link & video as follows.
Have a look at this link to my personal website for more details & a video.


How To Install Ubuntu To A Usb Drive

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.

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.



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.**

  • 4
    You just copy/pasted the same answer you posted here. This isn't necessarily a bad thing, but it indicates you know it is a duplicate question. Have you considered just flagging the question as a duplicate? – Tom Brossman Jul 15 '12 at 19:55

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