Instructions for installing Ubuntu with large persistent storage size on a bootable USB stick. It has been tested with Ubuntu 17.04 and 16.04.2 LTS and a 32 GB SanDisk USB 3.0 stick.
The installation uses mkusb which enables creation of a partition for persistent storage (casper-rw) to allow arbitrarily large space. Alternative tools such as unetbootin use a file for persistent storage and have a maximum of only 4 GB due to FAT limitations.
- USB stick with 16-32 GB capacity to allow a persistant space of >8GB
- Ubuntu iso file from https://www.ubuntu.com/download/desktop
- Parent Ubuntu to run mkusb, which can be on another USB stick
Follow the instructions at https://help.ubuntu.com/community/mkusb
sudo add-apt-repository ppa:mkusb/ppa
sudo apt update
sudo apt install mkusb mkusb-nox usb-pack-efi
- Launch mkusb (eg click Dash and type
mkusb) - Choose
i= Install (make a boot device) - Choose
p= Persistent live - Select the ubuntu iso file to use as source
- Select the taget USB stick to create bootabel Ubuntu on
- Check only
upefifor persistent live settings - Pull slider for space for persistence choose value giving at least 10 GB (eg 50% of 32 GB USB stick). It is claimed that 100% can cause problems because there will be no space for swap files etc
- Select
Goand say OK to all the messages
- Adjust boot sequence on BIOS of PC to use USB as required
- On Dell machines, hold F12 immediately on booting until "Preparing one-time boot menu" acknowledgement shows
- Choose first UEFI USB device in list
- Choose
Run Ubuntu (persistent live)which is default - Booting can require a few minutes wait with a blank screen