Page 1 of 1
Discerning USB persistence mode while already booted.
Posted: Sat Jun 22, 2024 11:46 am
by pbird
My kid has a USB stick with a persistent MX Linux install on it. Occasionally — not sure how — persistence will get un-selected and he'll boot the drive, do some work, and then not realize until it's too late that it wasn't saved on shutdown. I'm wondering if there's any indicator he can look for while already booted into the USB stick of whether he's running a persistent session and/or what persistence mode has been selected (all, static, etc.).
Thanks, all!
Re: Discerning USB persistence mode while already booted.
Posted: Sat Jun 22, 2024 11:57 am
by dolphin_oracle
Quick system info will the boot parameters in use, including the persistence ones.
Re: Discerning USB persistence mode while already booted.
Posted: Sat Jun 22, 2024 12:11 pm
by pbird
Thank you so much! Quick follow-on: Is there a handy CLI command I can use to check the same status? Thinking of including it in the Conky display so it’s visible for him at a glance.
Re: Discerning USB persistence mode while already booted.
Posted: Sat Jun 22, 2024 12:25 pm
by dolphin_oracle
This command may not be exactly right but close. Maybe
Re: Discerning USB persistence mode while already booted.
Posted: Sat Jun 22, 2024 12:31 pm
by pbird
Greatly appreciated!
Re: Discerning USB persistence mode while already booted.
Posted: Sat Jun 22, 2024 12:45 pm
by pbird
Just as an aside, this seems like something that would be super handy for all persistent USB users to have in the Conky display. Any chance of it becoming a default or pre-installed config option for USB stick installations? Happy to share my modified Conky config if/when I get it working.
Re: Discerning USB persistence mode while already booted.
Posted: Sat Jun 22, 2024 1:10 pm
by dolphin_oracle
I don’t remember if our “antiX” conky had that info, but the default theme on actual antiX isos does display that info.
Re: Discerning USB persistence mode while already booted.
Posted: Sat Jun 22, 2024 1:21 pm
by pbird
Will check it out, thanks so much!
Re: Discerning USB persistence mode while already booted.
Posted: Sat Jun 22, 2024 3:08 pm
by i_ri
/usr/local/bin/persist-enabled