this post was submitted on 06 Jun 2025
34 points (97.2% liked)

Linux

54955 readers
499 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

Has anyone successfully set up a live boot of Linux Mint with persistence on a USB drive, similar to how Tails OS operates? I'm looking to save files and installed applications across reboots. If so, could you share your method or any guides you found helpful? Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] utopiah@lemmy.ml 0 points 1 day ago

I don't have that need but if I were to do that I would

  • boot normally
  • identify which applications I want
  • make a directory on the USB stick calls Apps/ and put them there
  • I would run them from there directly, not copy them then run
  • I would check which files are created in my home directory (e.g. using find filtering by files created during the last 5 minutes)
  • I would stop the run apps, move the new files to my USB in a new directory named content/
  • I would reboot, mount USB stick, move files from content/ in the right location, run the app from Apps/ and see if it works

Assuming that would work I would make a (bash) script to automate all that, probably relying on rsync and find. I would then try to find ways to automate more with USB rules (namely mount the right USB stick automatically, run the script too, unmount prior to shutdown, etc).

My main point being that I'd be iterative about it, try, test, document as live script and try again because it's quite a specific use case.