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 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: https://wiki.osgeo.org/wiki/Live_GIS_Disc_Quick_Start_for_USB
A USB flash drive (8+ Gig is recommended).
An OSGeoLive ISO image (downloaded from: OSGeoLive downloads) or converted from a DVD.
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/sdXis the block device for the USB drive, where
lsblkto list block devices and
dmesgto see kernel messages identifying the USB drive when it is connected.
The USB drive should not be mounted.
sudois not required if the command is run as
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.)
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 Getting started with OSGeoLive.
Insert the USB flash drive into your computer.
Select, or search for Startup Disk Creator from the Unity desktop.
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
Wait 20 minutes or so for the USB flash drive to be created.
Booting from the USB drive:¶
Start with the computer off.
Insert the USB drive into an open USB port.
Power on the Machine and select to boot from USB:
Most computers are not set to boot from a USB drive by default.
When booting, look for a message indicating a Boot Menu (most commonly you press F12)
If your computer does not have a boot menu, then boot into your system BIOS. The button to enter BIOS varies by brand and model of computer. If you can’t figure out yours try this website that lists many BIOS hotkeys. https://www.mydigitallife.net/comprehensive-list-of-how-key-to-press-to-access-bios-for-various-oem-and-computer-systems/
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 as per: Getting started with OSGeoLive