Reduce Booting Time of Operating System

Hey, does your linux operating system taking too much time to boot ? So, here we are, going to reduce booting time of the system.

So what happen in boot? It start multiple services, Those services can have multiple errors so it takes time to try ag

ain and again to start than service until it reach some threshold or some of the services may not be that useful.

So to find out the time utilize by each service use command systemd-analyze blame. Output of the command will is following like time service name. As there may be problem with any service you have to deal with every service differently, so the stack overflow comes in handy. Just search about that service to reduce it time and can it be disabled.

Example:

I will show some example. While installing by os i have mannually allocated some space but after install i deleted that swap area and created the new one. But system does know about swap area due to which service  dev-sda6.device
was taking more than a minute. I figured out and change the file /etc/fstab which store the drive UUID for swap,boot and root also. To find UUID use this command sudo blkid

Following data show the output of command.

8.119s NetworkManager-wait-online.service
8.043s dev-sda6.device
5.483s ModemManager.service
5.455s networking.service
5.170s grub-common.service
4.061s snapd.service
4.016s lightdm.service
3.164s plymouth-start.service
2.634s apport.service
2.515s NetworkManager.service
2.364s ondemand.service
2.334s speech-dispatcher.service

So go for it reduc booting ime of your linux operating system.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *