Speed up ubuntu boot speed

tipsAfter I upgraded my Ubuntu to 8.04 from 7.10 ,I found  the booting speed became to be slow,especially after I deleted KDE (i installed KDE once). I have speeded up the boot speed ,I share my experience as follow:

1.Delete Residual Config packages:

go to System->Administration->Synapic package manager, click botton Status to check whether your system has residual config packages.If your ubuntu has the residual config packages,you have to mark the residul config packages for complete removing one by one,and click button Apply to delete them,please see below picture for details:

ubuntu_booting1

2.Delete incomplete packages.

open Terminal,and then implement :

sudo apt-get autoclean

this command can delete all incomplete packages

3.Delete isolated libraies.

sudo apt-get install deborphan

sudo deborphan

check if there are isolated libraies.

If have,please implement below commands to delete them


sudo deborphan | xargs sudo apt-get -y remove --purge

sudo apt-get autoremove

4. Disable unnecessary services

go to System->Administration->Services in order to shut down some unnecessary service, I shut down Bluetooth and Braille display management these 2 services.

ubuntu-booting2

---End---

A. HALIM... ...

A. HALIM...

...

Speed up ubuntu boot

Speed up ubuntu boot speed...

After I upgraded my Ubuntu to 8.04 from 7.10 ,I found the booting speed became to be slow,especially after I deleted KDE (i installed KDE once). I have speeded up the boot speed...

Speed up ubuntu boot

Speed up ubuntu boot speed...

After I upgraded my Ubuntu to 8.04 from 7.10 ,I found the booting speed became to be slow,especially after I deleted KDE (i installed KDE once). I have speeded up the boot speed...

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License
Thu, 03/12/2009 - 21:52
Lee

-purge should be --purge.

If you want to speed up your boot speed you can add "profile" to your kernel arguments in grub bootloader (just add a space at the end, and type 'profile' then boot). It will boot slow the first time cuz it will profile your boot sequence, but you should notice the difference on the next boot. I do this everytime I get a kernel upgrade :O) you may have to type 'e' to edit kernel arguments, select the 'kernel' line, type 'e' to edit. add the profile argument, then type 'b' to boot.

Sat, 02/28/2009 - 16:17
monkey

“sudo deborphan | xargs sudo apt-get -y remove –purge”

does not work

sudo deporhan ; apt-get remove --purge `deborphan`

works. someone else mentions, beware.

does work

Wed, 10/29/2008 - 12:14
abdul

this is fantastic, thanks for the info

Sun, 10/19/2008 - 08:44
tinkertim

Be careful with deborphan, stuff like libc6-xen might get picked up by mistake. Any replacement is a good candidate for this, as well as programs that you installed from source.

For instance, if you have sqlite3 installed to build some source package not installed by apt ... removing it would break that package. If it was something you installed 3 months ago ... you might not remember the dependencies that you introduced :)

Disabling unused services is cool, but piping something like deborphan is unwise.

But, its your PC, break whatever you like :)

Wed, 10/08/2008 - 03:20
baracuda68

I understand about turning off unneeded services to speed up booting, but I don't see how all the purging,autocleaning,etc, of packages affects boot up speed, even though you do reclaim some disk space...

Tue, 10/07/2008 - 18:44
Jason

Great article... Thumbs Up on Stumble.

Sun, 07/06/2008 - 13:11
SUperDoer

thanks for your howto,

i do not notice a speed-up on boot in my system, but it is a very nice guide for how to clean the system, thanks again

Sat, 06/28/2008 - 05:06
admin

Jim,polybart you are right,thanks,i have just revised this typo error.

Sat, 06/28/2008 - 03:47
polybart

Haha, I had an "erro" in my comment on errors! Beautiful!

Sat, 06/28/2008 - 03:46
polybart

Great tutorial! I think there are some erros in it though...
In step 2 shouldn't "sudo autoclean" should be "sudo apt-get autoclean"?
Additionally, in step 3 shouldn't "sudo deborphan | xargs sudo apt-get -y remove –purge" be "sudo deborphan | xargs sudo apt-get -y remove --purge"?
Thanks again.

Fri, 06/27/2008 - 23:11
Jim

Hi, great tips and very useful page, but i think the second tip should say

sudo apt-get autoclean

;)