Advertisement
v1ral_ITS

easy persistent instructions

Apr 6th, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.93 KB | None | 0 0
  1. Setting Up Persistence (Configuring the Partition)
  2.  
  3. Once the partition manager finished, reboot your computer and boot up from your USB drive. Choose the option "Live USB Persistence", and when it's booted up, open a Terminal and use these commands:
  4.  
  5. Determine which partition of your drive you'll use
  6. fdisk -l
  7.  
  8. Remember your drive had a FAT32 partition and a Ext4 (Linux) one?
  9.  
  10. Make a directory on the filesystem to mount your USB
  11. mkdir -p /mnt/my_usb
  12.  
  13. Mount the partition on the directory you made (don't click the desktop icon labeled persistence!)
  14. mount /dev/sdc2 /mnt/my_usb
  15.  
  16. Add a configuration file to enable persistence
  17. echo "/ union" > /mnt/my_usb/persistence.conf
  18.  
  19. Unmount the partition and reboot
  20. umount /dev/sdc2 && reboot
  21.  
  22. Now, if you boot up to Live USB Persistence, you'll be able to save stuff everywhere on your Linux filesystem, and every configuration you make locally will be available everywhere you plug it in :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement