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!
Discerning USB persistence mode while already booted.
- dolphin_oracle
- Developer
- Posts: 22398
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Discerning USB persistence mode while already booted.
Quick system info will the boot parameters in use, including the persistence ones.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: Discerning USB persistence mode while already booted.
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.
- dolphin_oracle
- Developer
- Posts: 22398
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Discerning USB persistence mode while already booted.
This command may not be exactly right but close. Maybe
Code: Select all
cat /proc/cmdline
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: Discerning USB persistence mode while already booted.
Greatly appreciated!
Re: Discerning USB persistence mode while already booted.
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.
- dolphin_oracle
- Developer
- Posts: 22398
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Discerning USB persistence mode while already booted.
I don’t remember if our “antiX” conky had that info, but the default theme on actual antiX isos does display that info.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: Discerning USB persistence mode while already booted.
Will check it out, thanks so much!
Re: Discerning USB persistence mode while already booted.
/usr/local/bin/persist-enabled