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
David Foerster
  • 35,754
  • 55
  • 92
  • 145
Porcupine
  • 599
  • 2
  • 5
  • 22
  • Looks like you ran a blame report. Did you look up the largest culprits? What did you find? – user535733 Jun 05 '18 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. – David Foerster Jun 05 '18 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... https://askubuntu.com/questions/1196874/18-04-grub-takes-about-6-minutes-to-boot-lvm-problem – Aquarius Power Dec 17 '19 at 18:10

1 Answers1

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

Adarsh
  • 13
  • 3
  • 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 '20 at 08:58