Page 1 of 2

ubuntu boot takes a long time

Posted: Tue Dec 04, 2007 11:57 am
by yacahuma
i am using ubuntu 7.10 in a new laptop. Its is taking a very long time. I used to have 7.04 on an old laptop and it was almost as fast as a mac. I am sure something is holding up the boot process. It there anyway I can track what ubuntu is doing????


Thank you

Choose the Right Board

Posted: Tue Dec 04, 2007 12:04 pm
by RobertGonzalez
Moved to Linux.
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:1. Select the correct board for your query. Take some time to read the guidelines in the sticky topic.

Posted: Tue Dec 04, 2007 8:01 pm
by volka
When you boot the first thing you see when your bios is done is the bootlader grub - but only for a second or two. Press esc to enter the menu.
The first option should be your default boot option. Something like Ubuntu 7.10 kernel 2.6.22-14-generic
Press e to edit this configuration.
Move to the line starting with kernel and press e to edit the line.
Remove the two words quite splash from that line and press enter.
Move to the last line, should be quiet, and delete the line by pressing d
Press b to boot with this modified configuration.
Your Ubuntu should now boot without the boot splash but a text log of what it's doing.
Changes are not permanent, the next time you boot the boot splash is there again.

thank you

Posted: Wed Dec 05, 2007 7:41 pm
by yacahuma
Great that is exactly what I needed.


After a couple a of tries I got


1min with the splash
50sec witout the splash

The only thing I say took a long time was the unix printing cupsd ( do I need that??)


still 50 secs seem to be a LONG LONG TIME. It makes it worst when washing a black screen. It will be nice to see a loading bar.

Any tips on how to cut this time. I am writing this on a mac. After I restart I will post how much it takes.


Thank you

Posted: Thu Dec 06, 2007 10:18 am
by RobertGonzalez
Are you saying it only takes 50 seconds from cold to desktop? That is about what I get for my Fedora 7 install.

WinXP... about 3 and half minutes to desktop. To an actual working desktop with loaded apps? 6 minutes.

Posted: Fri Dec 07, 2007 3:59 am
by Kieran Huggins
@Everah: 6 minutes? Dude... sounds like it's time for a re-install...

Posted: Fri Dec 07, 2007 5:36 am
by Maugrim_The_Reaper
4 minutes for WinXP, Vista is probably 6-8 minutes. Yep, unless you're using an absolutely bare bones Windows system the loading times are otherwise split between booting to the login screen, and then waiting while it loads everything into RAM. I noticed that installing Kapersky drags it out quite a bit when scanning startup processes and critical areas.

I've rarely seen Ubuntu's speed as an issue. It's usually quite brisk.

Posted: Fri Dec 07, 2007 9:11 am
by DaveTheAve
I personaly don't use the CUPS Daemon because I don't have a printer but I leave it installed because I tend to save alot of openoffice documents to PDFs using a postscript printer.

Also, a note about load times: If your loading in under a minute, thats great. My desktop-station, loaded with dev. servers, takes about the same time. However, why does it really matter when you can leave the machine on? You hardly ever really need to restart! If you update the X-Server just do a Ctrl-Alt-Backspace and restart the service!

Note: I'm an AppArmour user as-well, so i'm sure that has got to add some time to the load.

Posted: Fri Dec 07, 2007 9:17 am
by Jenk
10 secs is the difference between "a long time" and "great" ? and 1 minute is "a long time" ?

Sheesh..

Posted: Fri Dec 07, 2007 9:45 am
by John Cartwright
I recently switched from my Vista 1.6gz PentiumM, 1gb RAM laptop to Ubuntu and my load time shot through the roof. Ubuntu sits at a black screen for about 2-3 minutes before finally hitting the login screen. Before with Vista the boot time wasn't spectacular but it was about a minute.

Windows for the win? Eeek.

//off topic Vista laptop battery life was 3-4 hours. I only get 2 hours using Ubuntu after with no programs running?

Posted: Fri Dec 07, 2007 11:15 am
by feyd
When I was on Windows, it booted completely in about a minute. Ubuntu on the same machine booted in about the same. It did have 4GB of RAM though. :)

My Mac boots faster, less RAM or not. :)

Re: thank you

Posted: Fri Dec 07, 2007 4:51 pm
by volka
yacahuma wrote:Any tips on how to cut this time.
You could try https://help.ubuntu.com/community/InitNG
yacahuma wrote:I am writing this on a mac. After I restart I will post how much it takes.
It took forever? ;)

Mac boot time

Posted: Sat Dec 08, 2007 8:03 am
by yacahuma
On my I mac 20" it take 21 sec from pushing the on button to loggin screen. That is fast.


I search a bit and found bootchart . I installed it and it produced this graph
http://www.stccorp.net/gutsy-20071208-1.png


Also it seems that you can run stuff in parallell but is not that easy to do. Maybe that is what Mac is doing . I wonder why Ubuntu does not do the same thing.


Any ideas on the graph???

Posted: Sat Dec 08, 2007 12:35 pm
by arjan.top
I have 32s on kubuntu 7.10 (with vmware, apache, mysql)

And there is a faster way to boot, is is called initNG (http://en.wikipedia.org/wiki/Initng)

Posted: Mon Dec 10, 2007 1:20 pm
by Kieran Huggins
re: bootchart

um, awesome! 8O