Rufus Persistent Pendrive install
That works with both BIOS and UEFI
Rufus does an OK job of installing Ubuntu Live to USB.
It works with both BIOS and UEFI.
It does not do Persistent installs out of the box.
Many people prefer a Persistent pendrive that will save changes.
Create a Live pendrive using Rufus.
Boot the Rufus pendrive toram to make the drive editable, (press shift when booting, press Esc from language, press F6, press Esc, type a space and "toram" after "quiet splash ---", and press Enter).
Create a casper-rw file:
sudo dd if=/dev/zero of=casper-rw bs=1M count=512
sudo mkfs.ext3 -L casper-rw -F casper-rw
(where count=512 is persistence size, with max 4GB).
Move the new casper-rw file from home to the root of the Live Pendrive.
In Terminal edit /isolinux/txt.cfg, (for BIOS boot persistence) and /boot/grub/grub.cfg, (for UEFI boot persistence), add a space and the word "persistent" after "quiet splash ---" in each.
Shut down and reboot the persistent drive.
A home-rw file can be created by renaming a casper-rw file. It can add extra persistence by storing your home related data in it's own file up to 4GB in size.
*Casper-rw partitions do not work with Rufus.