How to fix very slow Ubuntu booting?

Solution 1:

Easiest would be to open the terminal and then write "dmesg" to look for gaps as Peck proposed. The output would be less verbose than the messages one. You will see the time stamps within "[]" brackets.

This is clearly a bug. With that system you should not have a boot longer than ~10 seconds.

Solution 2:

I would check System > Administration > Log File Viewer > Messages. It may show something lagging or stalling before it backgrounds the process while booting. The log has time date stamp with seconds. Look for excessive gaps in the seconds,, etc. and repeated items. If your box has been booted over successive days you may be able to compare previous logs.

Solution 3:

Install bootchart and pybootchartgui and upload the .png file in /var/log/bootchart.

Anyway, it'll show you the entire procedure from system up till the complete boot. Disable time-consuming but non-required packages. Install the application bug for this.

All these packages can be installed this way:

sudo apt-get install bootchart pybootchartgui

Also run the command:

sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop

Now open 'Startup Applications' and uncheck whatever you don't wish to load during boot.

Solution 4:

You could start by disabling some services at startup like Bluetooth and Remote Desktop and Gnome Login Sound.

Go to System > Administration > Startup Applications to de-select the items for running at startup and see if you notice any change in boot up time.