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.
1probably it's waiting for something and times out, can you check /var/log/messages after you booted? It has a log with the times from during the boot sequence.– steabertApr 16, 2011 at 19:35
4You might try running bootchart. Also see this answer– belacquaApr 16, 2011 at 20:19
@belacqua, it seems the bootchart Ubuntu packages are not available for download anymore bootchart.org/download.html– Marco LackovicMay 23, 2012 at 11:06
1In Ubuntu 12.04 there is an alternative application to bootchart called pybootchartgui available in Ubuntu Software Center.– Marco LackovicMay 23, 2012 at 14:53
1With SSD or without SSD?– BigSackJun 18, 2012 at 8:36
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.
7I did $dmesg and I get bunch load of output now what to look for? Jan 3, 2015 at 11:18
2Look for the lines with a big difference of timestamps value. For example, in my case I've noticed that before the line
cgroup: new mount options do not match the existing superblock, will be ignoredthe system was loading for 10 seconds but this one step took the whole 90 seconds which is bad (caused by wrong swap partition id). So that's the way to nail down your problem. Jul 30, 2016 at 17:20
What do you do when you isolate the problem? I don't know anything about partitions or booting in general– Matt GNov 12, 2017 at 16:03
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.
1Thanks! Helped me find an issue where the swap partition was moved on a disk, so the UUID for it was no longer valid. Can't imagine how I would have figured that out without this tip– ZaneJul 16, 2016 at 0:13
4Now that this System > ... > Messages menu structure does not exist any more in recent Ubuntu versions, how can I reach the same UI? I found a log viewer, but it doesn't have a "Messages" section. Sep 10, 2018 at 8:50
pybootchartgui and upload the .png file in
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:
It shaved 10 seconds off my 15 second boot time.
quietis great but one sometimes needs to see what's going on on startup and notice any immediate errors. Sep 4, 2019 at 5:34
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).
It is crazy, but I think it solved my problem. I had a terrible delay (It felt like minutes) to load the desktop at start up. I did two things: 1) uninstall hp-lip, 2) empty my overfilled rubbish bin. One of those things made it happen. Now almost immediate start up of desktop :D Oct 12, 2019 at 23:19
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.
2SATA mode should be in AHCI for performance. Changing it to IDE-compatible only slows it down for compatibility with older braindead operating systems. I don't see why this would be useful. Oct 14, 2013 at 20:26
1That would slow even more the boot.– BraiamOct 14, 2013 at 22:06