Creating an OSGeoLive Bootable USB flash drive

This quickstart describes the preferred method for creating a Bootable OSGeoLive USB flash drive. Booting from a flash drive is faster than from a DVD, and the USB drive can be configured to store data between sessions (called persistence).

We have have found that there are a number of quirks and tricks involved in successfully building a USB drive. We have documented what we know, but there are likely more tricks and issues. Look for latest tips here: http://wiki.osgeo.org/wiki/Live_GIS_Disc_Quick_Start_for_USB

Requirements

  • For a 4 GB USB flash drive, use osgeolive-mini ISO (without Windows and Mac installers), without persistence.
  • For a 8+ GB USB flash drive, use either osgeolive-mini ISO, or osgeolive ISO (with Windows and Mac installers). 8+ GB is recommended if you wish to support persistence.

Creating bootable USB drive with dd under Linux

ISO images for OSGeoLive 10.5 and later are isohybrid (and for amd64, also support UEFI boot). Under Linux, these images can be written directly to the block device for a USB drive with the dd command-line utility:

sudo dd if=osgeolive-10.5-amd64.iso of=/dev/sdX bs=4M; sync
  • /dev/sdX is the block device for the USB drive, where X might be b or c.
  • Use lsblk to list block devices and dmesg to see kernel messages identifying the USB drive when it is connected.
  • The USB drive should not be mounted.
  • sudo is not required if the command is run as root.

Warning

Be certain to select the correct block device as dd will overwrite it without question, even if it is your primary system drive.

Creating bootable USB drive with Ubuntu Startup Disk Creator

(This is the recommended process for creating a USB. It is applicable to Ubuntu and Ubuntu variants such as OSGeoLive.)

Note

The version of Ubuntu you are running, needs to be the same or newer than the version of Lubuntu being installed onto your USB. If installing OSGeoLive 8.0 onto a USB, then you will need to be running Ubuntu 14.04 or newer.

Download osgeolive or osgeolive-mini to your computer’s hard drive.

Boot your computer into a recent Ubuntu/Xbuntu distribution. You can do this by running from an OSGeoLive DVD, as explained in OSGeoLive Quickstart.

Insert the USB flash drive into your computer.

../../_images/usb_select.png

Select System Tools ‣ Startup Disk Creator, or search for Startup Disk Creator from the Unity desktop.

../../_images/usb_set_params.png

Select the osgeolive or osgeolive-mini ISO Image that you downloaded earlier.

Select the USB flash drive. If you have extra room you might adjust the slider to create persistent storage space on the USB drive (recommended). In order for this option to be available you will need an 8+ GB USB flash drive.

Select Make Startup Disk

../../_images/usb_installing.png

Wait 20 minutes or so for the USB flash drive to be created.

Booting from the USB drive:

  1. Start with the computer off.
  2. Insert the USB drive into an open USB port.
  3. Power on the Machine and select to boot from USB:
  4. Select to boot from the USB device.
    • Note, that for some computers you will need to have the USB drive inserted into the computer in order to select it.
    • Note also, the USB drive is often listed under hard drives rather than removable devices.
    • This Video demonstrates booting from USB.

Run:

Run as per: OSGeoLive Quickstart

See Also: