Switch settings for fastest live usb boot/shutdown

Message
Author
User avatar
mmikeinsantarosa
Developer
Posts: 2250
Joined: Thu May 01, 2014 10:12 am

Switch settings for fastest live usb boot/shutdown

#1 Post by mmikeinsantarosa »

I've made several live usb's for friends and they much appreciated the OS but they all seem to have the same gripe. Shutdown from the live usb desktop takes quite a bit of time. I've tinkered with the settings during boot for the various persistence & option values but just can't chop off much time. I'd like to be able to do this with a save all but maybe only one of the frugals will do this.

For a save all persistence, are there known values to use for fastest boot and shutdown times?

thanks - mike
LT: MX19.1 Quad Core model: Intel Core i7-6820HQ Kernel: 5.0.0-7.1-liquorix-amd64 x86_64

User avatar
dolphin_oracle
Developer
Posts: 22804
Joined: Sun Dec 16, 2007 12:17 pm

Re: Switch settings for fastest live usb boot/shutdown

#2 Post by dolphin_oracle »

the static persistence options will shutdown faster than the non-static ones, as there is a rsync operation at shutdown otherwise.

other than that I got nothing.
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.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
fehlix
Developer
Posts: 12947
Joined: Wed Apr 11, 2018 5:09 pm

Re: Switch settings for fastest live usb boot/shutdown

#3 Post by fehlix »

Create a launcher with this command:

Code: Select all

pkexec /usr/bin/persist-save
So that persist-save can be done manually before shutdown, and within 60 seconds a following shutdown
would not try to perform any persist-save. And even after 60 seconds, any changes detected by rsync
are minimal and require often less then a second to get performed.
At least it would show the shutdown is fast, but the persist-save might just take longer.

User avatar
mmikeinsantarosa
Developer
Posts: 2250
Joined: Thu May 01, 2014 10:12 am

Re: Switch settings for fastest live usb boot/shutdown

#4 Post by mmikeinsantarosa »

thanks guys!
LT: MX19.1 Quad Core model: Intel Core i7-6820HQ Kernel: 5.0.0-7.1-liquorix-amd64 x86_64

User avatar
mmikeinsantarosa
Developer
Posts: 2250
Joined: Thu May 01, 2014 10:12 am

Re: Switch settings for fastest live usb boot/shutdown

#5 Post by mmikeinsantarosa »

dolphin_oracle wrote: Sun Jul 13, 2025 3:22 pm the static persistence options will shutdown faster than the non-static ones, as there is a rsync operation at shutdown otherwise.

other than that I got nothing.
That is the ticket DO :number1: . Much quicker than anything I tired.
LT: MX19.1 Quad Core model: Intel Core i7-6820HQ Kernel: 5.0.0-7.1-liquorix-amd64 x86_64

Post Reply

Return to “Software / Configuration”