Advertisement
v1ral_ITS

Easier FS USB Persistent Instructions

Jul 27th, 2018
702
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.76 KB | None | 0 0
  1. Installing mkusb
  2.  
  3. Open a terminal (Ctrl+Alt+T) and run the following commands one by one:
  4.  
  5. sudo add-apt-repository universe
  6. sudo add-apt-repository ppa:mkusb/ppa
  7. sudo apt-get update
  8.  
  9. sudo apt-get install mkusb
  10.  
  11. The last command might fail (though unlikely) as mkusb (GUI version) has some dependencies that are not preinstalled/active in the live version of Ubuntu.
  12.  
  13. No need to panic though, the developer has also created a text only version. Run:
  14.  
  15. sudo apt-get install mkusb-nox
  16.  
  17. Creating the persistent drive
  18.  
  19. I will focus on the main GUI version as that is the one I have used. So if you installed the default mkusb (GUI version) run:
  20.  
  21. sudo -H mkusb /path/to/iso/filename.iso p
  22.  
  23. For example I have copied my Ubuntu iso to the the home folder, so I type:
  24.  
  25. sudo -H mkusb ubuntu-16.04-desktop-i386.iso p
  26.  
  27. The last p parameter tells mkusb that I want a persistent live install. If you omit that you will get a simple live USB.
  28.  
  29. After you run the command the GUI will open. Follow these steps next:
  30.  
  31.     Screen 1: Click Select target device
  32.     Screen 2: Double-Click the device you want to install to.
  33.     Screen 3: Double check you have selected the right device. Tick the check-box and click Go.
  34.  
  35.     Screens 4, 5: Just click quit and let mkusb decide what's best.
  36.  
  37.    After this mkusb will load some files. Wait patiently till the next input screen.
  38.  
  39.    Screen 6: Enter the percentage of USB drive space you want to allot for persistence file-system. The remaining will show up as portable storage device.
  40.  
  41.    Note: Do not enter a value like 100% as some memory will be required for the Ubuntu OS files. Apparently entering 100% now works. As mentioned in @LMB comment, using 100% means the entire USB is used for the OS and the persistent storage
  42.  
  43. Done!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement