HowToUbuntuUSB

Revision 3 as of 2011-08-12 19:15:05

Clear message

usb-creator

Please note that for simple tests, usb-creator should be enough to transfer a LiveCD to a USB stick. The recommended way to test a release LiveCD or install Ubuntu from a USB flash drive is to use the usb-creator program (System > Administration > Startup disk creator), point it at a ISO image of a Ubuntu installation CD that you have downloaded, inser a blank USB drive (beware of picking/formatting the wrong drive) and let it create a bootable USB that you can use instead of the CD.

  1. Acquire the correct Ubuntu installation files ('the ISO') and tools
  2. Put Ubuntu onto your USB drive
  3. Configure your computer to boot from USB drive and boot from it
  4. Try Ubuntu or install to your hard drive.

Full persistent Ubuntu installation

If you need to install 10.04 onto a USB drive for more regular use and you would like persistence (for things like nvidia drivers, broadcom drivers, configurations, updates etc.) I suggest preforming a regular installation, except you have to make sure that you select the "Advanced/Manual Partitioning" also in older version of ubiquity you need to select the "Advanced" options at the end (right before the install starts) and select to install the MBR on the USB drive. On newer versions, you must preform an advanced installation at the partitioning stage. The reason is that ubiquity will install install the MBR on the internal drive instead of USB drive (making the USB drive non-bootable).

11.04 -

  1. Boot the LiveCD or LiveUSB and plug in a blank USB key as the install target.
  2. Select "Install Ubuntu"
  3. Go through the installer as you would, until the "Partitioning" stage
  4. Select that you want to preform "Something Else" which means Manual/Advanced Partitioning
  5. Click on the USB device (sdb in the example)
  6. Click "New partition Table..."
  7. Click on the newly created "free space"

1-sdb_prepare.png

  1. Click "Add..."
  2. In the Create Partition windows use the following answers:

Type: Primary
New partition size: leave default or make smaller if you want to add optional swap space
Location: Beginning
Use as: ext4
Mount point: /

createpartition.png

  1. Clock OK to exit the Create Partition windows

3-final.png

  1. At the bottom of the Allocate Drive space window there is a pull down menu. This NEEDS to be set to the target device (in this example sdb).

2-sdb_boot_sm.png

  1. Continue with Installation