Live USB flash drive  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
anticapitalista
Developer
Posts: 4288
Joined: Sat Jul 15, 2006 10:40 am

Re: Live USB flash drive

#11 Post by anticapitalista »

There is also a nosavestate option you could add manually to the live boot menu
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

psychlone
Posts: 7
Joined: Sun Jul 02, 2023 1:20 pm

Re: Live USB flash drive

#12 Post by psychlone »

Thanks @fehlix . I thought I'd used dd when making the live USB, but I'd got my sticks mixed up (I have many) and I was looking at one where the persistence option had been been checked in Live USB Maker. I've just redone that one with dd (since I have no use for persistence on it) and the state-files and folders are absent. Thanks very much for your help.

psychlone
Posts: 7
Joined: Sun Jul 02, 2023 1:20 pm

Re: Live USB flash drive

#13 Post by psychlone »

Thanks for the tip @anticapitalista - I hadn't come across that parameter before, and I think I might have a use for it in the future when booting a full install.

Charlie Brown

Re: Live USB flash drive

#14 Post by Charlie Brown »

psychlone wrote: Mon Jul 03, 2023 2:40 pm... might have a use for it in the future when booting a full install.
https://mxlinux.org/wiki/system/boot-parameters/#Loading%20Modules wrote:
savestate (LiveUSB Only) Save certain “state” files across reboots even without persistence enabled. Also save certain machine-specific state files across reboots. You can control which files get saved by editing the files /live/boot-dev/antiX/state/general-state-files and /live/boot-dev/antiX/state/machine-state-files. Those files and the directory they are in will be created automatically the first time you boot the LiveUSB. This is enabled by default and it is “sticky” so once you enable it it will stay enabled until you turn it off. See below.

nosavestate (LiveUSB Only) disable saving state files. See description above. This too is sticky so when you use it saving state will stay disabled until you re-enable it.

psychlone
Posts: 7
Joined: Sun Jul 02, 2023 1:20 pm

Re: Live USB flash drive

#15 Post by psychlone »

Thanks @Charlie Brown . I guess I might not have a use for it, then. Still, you never know: if I start using persistence again it could come in useful.

Post Reply

Return to “MX Help”