3

Please suggest if you have some experience with what can I do to decrease boot time. What is the reason for the userspace taking so long?

$ sudo systemd-analyze time
Startup finished in 3.395s (firmware) + 14.332s (loader) + 38.152s (kernel) 
+ 3min 3.432s (userspace) = 3min 59.313s
graphical.target reached after 2min 3.881s in userspace
3
  • Looks like you ran a blame report. Did you look up the largest culprits? What did you find?
    – user535733
    Jun 5, 2018 at 19:44
  • What's behind the three loop devices and what kind of storage device is behind /dev/sda7, all of which take upwards of 10s to mount, which is about two orders of magnitude more than it should take. Did you check them for hardware errors? Drives tend to become slow when they degrade due to age or manufacturing errors. I don't know about Plymouth; that could just be to display something pretty until all the other boot tasks are finished, which you can test by decreasing the time spent on other things. Jun 5, 2018 at 21:58
  • I just updated the whole system, grub too. It took 6 mins to boot, it seems to take a huge long time scanning for LVM partitions... askubuntu.com/questions/1196874/… Dec 17, 2019 at 18:10

1 Answer 1

0

you can try to change timeout to 0 in

sudo nano /etc/default/grub

then ctrl+o to save changes, "Enter", and finally ctrl+x to exit

if above command does not work this might help you

1
  • Hello and welcome to askubuntu. The solution you are recommending will definetly not reduce boot time significantly in the case at hand.
    – Bruni
    Jun 10, 2020 at 8:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.