MakeUsbStartupDraft

Goal

Instruct a novice user to make a bootable USB drive (LiveUSB).

Use Cases

  1. Install Ubuntu on a machine that doesn't have a CD Drive.
  2. Run Ubuntu without physically installing it.

Scenarios

  1. User has a system running Ubuntu 8.10+ with a USB port.
  2. User has a system running a non-Ubuntu OS with a CD-ROM drive.

Proposed Outline

  1. Description
    1. One sentence explaining what usb-creator is.
    2. Requirements
      1. Ubuntu only, 8.10+ (or a system that can boot from LiveCD)
      2. Minimum capacity of USB stick
  2. Make A Boot Image
    1. Acquire ISO
    2. Create a LiveUSB from an Ubuntu system, 8.10+
      1. Target installation case, refer to advanced options.
    3. Create a LiveUSB from a LiveCD on a non-Ubuntu system.
      1. Target installation case, refer to advanced options.
    4. Advanced options
      1. Discuss Persistent Memory
      2. Recommended settings for different scenarios
      3. Recommendations to minimize wear
  3. How to boot off thumbdrive
    1. Generic instructions
      1. Refer to other sources, eg. computer manufacturer's instructions
  4. Troubleshooting
    1. Common issues and solutions
    2. Where to go for more help
    3. How to get involved

Actual Outline

  1. Description
    1. One sentence explaining what usb-creator is.
    2. Requirements
      1. Ubuntu only, 8.10+ (or a system that can boot from LiveCD)
      2. Minimum capacity of USB stick
  2. Make A LiveUSB
    1. Acquire ISO
    2. Ubuntu
      1. Target installation case.
    3. Non-Ubuntu
      1. Target installation case
  3. How to boot off LiveUSB
    1. Generic instructions
  4. Troubleshooting
    1. System won't boot off LiveUSB suggested troubleshooting steps
    2. Where to go for more help

Branch

https://code.launchpad.net/~missaugustina/ubuntu-docs/usb-creator

Draft

Sections

  1. Introduction
  2. Requirements
  3. Making a LiveUSB
    1. Download the ISO File
    2. Ubuntu System
    3. Non-Ubuntu System
  4. Booting from the LiveUSB
  5. Troubleshooting

Introduction

USB Creator is a utility in Ubuntu that creates a persistent Ubuntu image on a USB disk. This is called a "Live USB". You can use the Live USB to install Ubuntu on your computer or or to run Ubuntu without affecting your system hardware.

The advantages to using a Live USB to install or test Ubuntu include:

  • Less waste. A Live USB can be overwritten when a new version of Ubuntu comes out.
  • Persistence. Changes made to the USB disk are saved, unlike a Live CD.
  • No CD Drive required. Computers lacking a CD drive usually have a USB drive.
  • Safe computing environment. Boot your computer from a Live USB to protect your system when accessing unsecured public networks or testing unstable functionality.

Requirements

USB Creator requires the following:

  • Ubuntu 8.10 or later
  • USB disk 1 GB or larger
  • Ubuntu Desktop Edition image

Currently USB Creator only runs on Ubuntu systems 8.10 or later. If you don’t have access to an Ubuntu system, you can create a Live USB from a system that can boot from an Ubuntu Live CD. You can also install Ubuntu into a virtualization program like VirtualBox and create the Live USB from a virtual Ubuntu installation.

The USB drive capacity should minimally be large enough to hold the contents of the Ubuntu download image and any additional data you plan to store. The minimum recommendation is 1 GB, however 2 GB is suggested.

Making a Live USB

Download the Ubuntu Image

Download Ubuntu from the Ubuntu website at http://www.ubuntu.com/getubuntu/download.

Use the standard Desktop Ubuntu installation with USB Creator. Other versions like Server and the Netbook Remix have additional system requirements that are not compatible with USB Creator.

The downloaded image file will end with the suffix ".iso".

Ubuntu System

  1. Plug your USB disk into your computer’s USB drive. Make sure your computer recognizes the USB disk before proceeding.
  2. To launch the USB Startup Disk Creator program, choose System > Administration > USB Startup Disk Creator.

  3. Under "Source Disk Image" click the "Other..." button and specify the Ubuntu image you downloaded in the previous step. If you are creating the USB disk from a Live CD, insert the Live CD and USB Creator will automatically recognize it.
  4. Under "USB Disk to use" your USB disk is highlighted. If you have more than one item in the list, select the USB disk you want to use for your Live USB.
  5. To make the Live USB a writeable disk, indicate how much memory to use for extra storage. If you don’t want the Live USB to be modifiable, select the second option, "Discarded on Shutdown".
  6. Click "Make Startup Disk" to make a Live USB.

Note: USB Creator will erase any data on the USB disk. Back up any files you don’t want deleted.

Non-Ubuntu System

If you don’t have access to a system running Ubuntu, it is still possible to use USB Creator to create a Live USB.

  • Boot from a Live CD and run USB Creator from the Live CD environment.
  • Install Ubuntu into a virtual environment like VirtualBox.

Create a Live USB from a Live CD

  1. Copy the Ubuntu image to a location on your hard drive that you have access to while running the Live CD environment. You can copy the image file into a publicly accessible folder on your hard drive or you can copy it onto a second external drive.
  2. Once you have verified that you can access the Ubuntu image while booted into the Live CD, follow the steps outlined in the previous section to create a Live USB.

Create a Live USB in a virtual Ubuntu environment

  1. Copy the Ubuntu image to a directory shared by both the virtual environment and your system. To set up shared folders, see specific instructions in your virtualization program. You can also use a Live CD as long as the virtual environment has access to your CD drive.
  2. Insert the USB Disk. Make sure the virtual environment can mount the USB disk.
  3. Once you have verified that you can access both the Ubuntu image and the USB disk from the virtual Ubuntu installation, follow the steps outlined in the previous section to create a Live USB.

Booting from the LiveUSB

While some computers automatically recognize the USB drive when starting up, others need to be configured to recognize the Live USB. If your system does not recognize the Live USB on boot, you need to set boot options in the basic configuration of your computer, known as the "BIOS".

To set boot options using the BIOS:

  1. Press the key specified on the startup screen to enter BIOS setup. This key is usually an F key, such as F1, F2, or a key like Delete or Escape. If no information is available on the startup screen, consult your hardware manufacturer’s documentation.
  2. Set the USB disk to the primary boot device and save the changes.

Note: Remember to unplug your USB disk or reset the boot order if you no longer want to boot from the Live USB.

Troubleshooting

If your system won’t boot from the USB disk, try the following:

  • Insert the USB disk after starting your computer to make sure your system recognizes it. Some systems might not recognize mini USB disks.
  • Enter the BIOS Setup and verify the boot order is set correctly. Make sure the USB disk is the first item on the list. See your hardware manufacturer’s instructions for more information on your system’s BIOS settings.
  • The system might use a boot selector. Hit the Escape key on boot and select USB disk from the boot menu.
  • Boot from the USB disk on another machine. If the machine boots successfully, it is possible that your computer cannot boot from a Live USB.
  • If the above solutions are unsuccessful, you may need to use a different method than USB Creator to create a Live USB.

Note: Visit an Ubuntu Support resource for more troubleshooting assistance: http://www.ubuntu.com/support

AugustinaBlair/MakeUsbStartupDraft (last edited 2009-08-10 22:32:20 by c-67-183-142-156)