Ubuntu: How to fix very slow Ubuntu booting?


When I boot up my my newly installed copy of Ubuntu on my custom rig w/4GB DDR3 RAM and a 3 Ghz Intel Core i7, it takes about a minute and a half at the purple loading screen, and then after logging in it takes a while for the icons to show up on the screen. This computer could run and boot Windows 7 faster, so i have a problem here.


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.


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.


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.


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.


I solved this problem by entering the BIOS and then disabling the ACHI SATA controller option and setting the SATA control in "compatibility" mode. It worked just fine for my Toshiba NB200!


Believe it or not its the text output.

open a terminal and run:

sudo nano /etc/default/grub  

change the line:





sudo update-grub2  

It shaved 10 seconds off my 15 second boot time.


Uninstalling hp-lip 3.14.1 helped with the same problem. I used Ubuntu-Tweek to clean everything out.

I'm using Ubuntu 12.04. hp-lip was required for my printer (HP Envy 4500).


in BIOS menu, change SATA controller to compatible. worked on lenovo z500. it's not miracle but it boosts startup considerably. also kill ALL the startup applications. Desktop environments do not matter at all, at least not that much. on my computer Unity, Gnome shell and XFCE take almost the same time to start up so don't put a lot of effort into changing your DE.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »