How to setup a persistent Ubuntu Trusty on USB Drive

Both of these articles are clearly outdated but I found them successful after I did minor adjustments

Part 1:
From PenDriveLinux.Com

Follow the instructions here except one modification.
When it says “Navigate to System > Administration > Startup Disk Creator: ” you instead press the start (I think its called super on linux) button and search Startup Disk Creator instead.

This is not sufficient because you won’t have a ‘persistent’ installation. Pretty much nothing you do when you start-up on the USB drive will be saved for the next session. Don’t try installing from this USB!

Part 2:

No need to read the guide. The only takeaway needed was the addition of the following bolded code in the specified file.


if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Ubuntu persistent" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper persistent quiet splash --
initrd /casper/initrd.lz

menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
menuentry "Install Ubuntu" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
initrd /casper/initrd.lz
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /casper/vmlinuz.efi boot=casper integrity-check quiet splash --
initrd /casper/initrd.lz

You will notice if you reboot from your USB that you will see a new menu entry called “Ubuntu persistent” at the top and that’s the one you click.

The remaining problem for me is the speed. It may be just because we are using a USB stick I don’t know! It seems that USB 3.0 ports should transfer much faster than what I’m getting. One measure I took which may just be a coincidence is I setup an administrative user system settings> user accounts, you will need to set a password to use sudo. If the strong password thing was bothersome for you as it was for me try passwd in terminal once you restart and are logged in as that user.