Linux Lite Forums
Regaining a minute of boot time on your HDD - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Tutorials (https://www.linuxliteos.com/forums/forumdisplay.php?fid=21)
+--- Thread: Regaining a minute of boot time on your HDD (/showthread.php?tid=6748)



Regaining a minute of boot time on your HDD - bonnevie - 01-30-2020



Recently I noticed that my boot time went from 1:17 to 2:25 for no reason since I didn't change anything except upgrading Linux Lite. 
When I ran
Code:
systemd-analyze
and
Code:
systemd-analyze blame
I found out that a Ubuntu service called motd-news.service (motd stands for Message Of The Day) was entirely responsible for it.
http://i.imgur.com/TkyWUYw.png
Last time I checked, Dec. 15, 2019, it wasn't slowing down my boot-up time.
http://i.imgur.com/MRfentK.png


motd-news.service has its use for people running servers. Read
https://www.ostechnix.com/how-to-disable-ads-in-terminal-welcome-message-in-ubuntu-server/
and
https://ma.ttias.be/what-exactly-being-sent-ubuntu-motd/   
to learn more about it and some related privacy issues but i won't get into that.  These links explain a simple step to disable motd-news.service in its config file. I'd rather have you read it than me explaining it  Smile  so you decide what's best for you.
Since I run an old single-core machine, I want to give it every bit of help to make it start as fast as it can!  That's why I chose Linux Lite in the first place.
After modifying the related config file, my boot time is now back to what it was as you can see in my screenshots above.


PS: needless to say, the boot time gain on a SSD will be less than on a HDD.


Re: Regaining a minute of boot time on your HDD - Artim - 01-30-2020

It sounds like something [member=2]Jerry[/member] and Company can pre-configure in the next version of LL!
Thanks for sharing that!



Re: Regaining a minute of boot time on your HDD - robinc - 01-31-2020

Useful.

No change to boot up speed but shaved RAM down to 308MB clean start.


Re: Regaining a minute of boot time on your HDD - trinidad - 01-31-2020

It's already modified for LL in the current release. The message and link in your terminal is about Linux Lite. Vbox uses it also, as does SSH which on occasion has a reminder kind of necessity i/e reminds you what kernel and OS terminal you're on. 

TC