Hi all, im currently running ubuntu mate 15.04 but have a very long boot time. ive looked all over askubuntu.com and there are plenty of examples of this but no real help.
after trying many commands that appear outdated or dont run on this system i did systemd-analyze blame and got the results below... I'm very new to linux so i wondered if anyone can see something that is causing the hang up?
How long is "a very long boot time"? 3-5 minutes? Is it stuck on a blank screen, for instance?
Another way to see what's holding up boot time is to watch the console during boot up - To do that:
Hold SHIFT during start-up - this reveals GRUB 2, the boot loader.
Press Tab to edit the command line.
Remove quiet splash at the end -- This makes the system more verbose when booting.
Press F10 or CTRL+X to boot, this only applies for that session, it's not saved permanently.
This may also catch any other culprit to see what's taking the longest -- There is an old Pentium 4 machine in my house that was stuck on a "udev job is waiting to complete" and timed out after 3 minutes. I presumed the kernel/systemd used in 15.04 was having problems, so I left it on 14.04 -- which uses Upstart.
Do you have an AMD or NVIDIA card? If you do, with their proprietary drivers too? gpu-manager and plymouth (the splash screen) suggests to me the hold up is because of the display.
PS. Interesting, my output suggests it could be much faster if it wasn't waiting for the network:
Guys, are you using the proprietary graphics drivers?
I’m using the onpen source nouveau driver for my nvidia gpu and I have this
575ms gpu-manager.service
@anon42388993 i am running linux on a AMD quad core with radeon graphics. Not the best cpu i know but thats why i have been happy using MATE. I havent tried changing to upstart yet, in fact i didn’t even know that was an option so i’ll give it a go.
@lah7 i timed the boot at just over 3 minutes and it was well under a minute when i first installed MATE 15.04 a few months back. I am using the proprietary AMD drivers so would you suggest i look at using open source? I have tried removing ‘quiet splash’ from the command line in the past but for some reason i cant boot out of the editor so i have to do a hard reset which is frustrating to say the least!
Do you observe any disk activity while starting up? From the sounds of 3 minutes, it sounds like a timeout while waiting for a specific job to finish (assumption from past experience on another PC taking forever to load)
Removing “quiet splash” from the boot options would reveal if this is the case. It should boot after pressing F10(or FN+F10 if on laptop) or CTRL+X after deleting the 2 words, not sure why a hard reset would be needed.
As for the drivers, you could give the open source drivers a test, but we haven’t quite found evidence that these are definitely the culprit, as it takes 22 seconds for the service to start… but it could be holding everything up after it’s started?
well, i ended up messing about with updating grub and changing various settings and basically making things a lot worse so i saved all i needed to an external hard drive and did a compete fresh install of ubuntu MATE 15.10. All working very nicely now and at the speed that i had come to expect