How can I make my flashdrive persistent?
Persistent live system
UNetbootin has a built in persistence option, it uses a file named casper-rw for persistence. Maximum size of UNetbootin's persistence file is 4GB and is size limited by the FAT32 file system.
Mkusb creates an Ubuntu flash drive that boots using grub2. It uses a FAT32 boot partition, a ISO9660 read only OS partition, an ext casper-rw persistence partition, (not limited to 4GB), and a NTFS partition that can be used by Linux or Windows.
Full installed system
You can alternately do a Full install to USB drive.
It is recommended to first unplug the internal HDD, boot the installer drive, insert the USB target drive and install to it.
"Something else" can be used to add a boot partition, a NTFS partition for Windows, a "/home" partition and swap.
Related videos on Youtube
Raul Gomes
Updated on September 18, 2022Comments
-
Raul Gomes over 1 year
I'm currently running
ubuntu 17
on my flashdrive. It's the first time I use linux and I have no idea what`s going on. I followed this tutorial but when the computer boots it shows a few options, like install ubuntu or try it. I always choose the second one. If I choose install, can it be done in the flashdrive with the ISO?-
karel almost 7 yearsPossible duplicate of Persistent Ubuntu USB drive and How do I install Ubuntu to a USB key? (without using Startup Disk Creator)
-
-
Anwar almost 7 yearsNot true unless persistent is enabled which is not the case for later Ubuntu release afaik. Settings will get lost
-
sudodus almost 7 years@RaulGomes, If you are running Windows now, and want to use mkusb, you can clone a compressed image of a linux system with mkusb installed. See these links, help.ubuntu.com/community/mkusb/… , wiki.ubuntu.com/Win32DiskImager/compressed-image_2_USB-or-SD
-
Gabriel Staples over 3 yearsmkusb seems to work great. Excellent instructions here: howtogeek.com/howto/14912/…