[Tutorial] Live usb with persistence over 4GB

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
User avatar
pbear
Level 4
Level 4
Posts: 395
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: [Tutorial] Live usb with persistence over 4GB

Post by pbear » Wed Jan 24, 2018 7:57 pm

This came up in a couple of threads recently, so I decided to give mkUSB a whirl. Having done it both ways, I'd say they're pretty similar in terms of difficulty. And both work. On the whole, though, I agree with Spearmint2 that mkUSB is a better choice. Was developed by senior Ubuntu guru sudodus (Nio Wiklund) to do precisely this task and is now on version 12 ("dus"). Also, unlike MultiSystem, mkUSB can be installed to a live session.

Anyhoo, Linux is all about choice. As this is a tutorial, I thought it would be helpful to jot down the steps. Here is the path I found works best.

1. Install app. There are several options, but this is adequate for a single user looking for the current version:

Code: Select all

sudo add-apt-repository ppa:mkusb/ppa
sudo apt-get update
sudo apt-get install mkusb usb-pack-efi
2. Install to USB. Start app from Menu: System Tools (or type mkusb in Terminal), then select option “d” (for 12). Enter sudo password. Acknowledge overwrite warning. Select install, then ‘Persistent live’. Navigate to select source ISO; select target drive from list; “Use defaults” for drive settings. Select % of remaining space for persistence (I use 95%). Read warnings. Double check installation target. Hit “Go”. Confirm proceed even though not installing Ubuntu. For a nice walkthrough with screenshots, see answer by user Harsh halfway down this askubuntu page, starting with “I would like to expand on the answer … “ Also see the Quick Start Manual.

3. Cleanup. The reason I only use 95% of the remaining space for the persistent partition is that I want to leave room for wear leveling. Quit mkUSB, open GParted and delete the usbdata partition on the USB drive (space becomes unallocated). Also, although sudodus doesn't mention anything about not mounting the persistent partition, but I follow Laurent85's advice and disable automount for an mkUSB persistent drive.

That should work for most folks. For more information, see official website (same link as Spearmint2 gave above), especially the discussion of persistence, and an omnibus thread on the app sudodus maintains on the Ubuntu Forum.

BTW, a large persistent drive has useful applications, but I still think the better solution for most situations is full install to USB hard drive.
Time flies like an arrow. Fruit flies like a banana.
Running Mint 18.3 Mate 64 bit (by upgrade from 18.1-2)

Post Reply

Return to “Tutorials”