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 happens in the boot? It starts multiple services, Those services can have numerous errors, so it takes time to try again and again to start that service until it reaches 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. The output of the command will is following like time service name. As there may be problems with any service you have to deal with every service differently, so the stack overflow comes in handy. Just search for that service to reduce its time and can it be disabled.
I will show some example. While installing os I have manually allocated some space but after install, I deleted that swap area and created the new one. But the 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.
So go for it reduce booting time of your Linux operating system.