I want to test Ubuntu using the 'Try Ubuntu' option on a USB drive, but whenever I remove the USB, everything resets. Is there a way to preserve my data and settings during this trial?
4 Answers
Another option is to create a second USB for persistence. You can set aside space on it to save your settings and applications. Just be mindful that USB drives can wear out quickly over time, especially with frequent writes.
When you're running Ubuntu from a USB drive, removing it usually crashes the system. However, you can create a live USB with persistence, which allows you to save your changes and installed applications. You’ll need the ISO file to set this up, and it can be done using the Startup Disk Creator. Just keep in mind that USB drives are not always reliable for regular use, so it’s best to install Ubuntu on your SSD or HDD if you plan to use it often.
If you're okay with using cloud storage, you could create a free account with a service like Mega. You could install MegaSync on your live session to back up your files each time you log in, which gives you an alternative way to save your stuff without worrying about the USB drive itself.
I suggest checking out some installation tips that are often shared in forums. They can guide you to set up a persistent USB drive effectively. Don't forget to connect over an ethernet cable if possible and always eject the USB drive once you're done to avoid issues.

You can also consider using an NVMe drive in a USB enclosure for better performance and reliability. This gives you a portable option without the hassle of a typical USB stick.