ubuntu boot takes a long time

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

ubuntu boot takes a long time

Post 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
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Choose the Right Board

Post 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.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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.
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

thank you

Post 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
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

@Everah: 6 minutes? Dude... sounds like it's time for a re-install...
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post 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.
User avatar
DaveTheAve
Forum Contributor
Posts: 385
Joined: Tue Oct 03, 2006 2:25 pm
Location: 127.0.0.1
Contact:

Post 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.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

10 secs is the difference between "a long time" and "great" ? and 1 minute is "a long time" ?

Sheesh..
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post 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?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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. :)
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Re: thank you

Post 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? ;)
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Mac boot time

Post 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???
User avatar
arjan.top
Forum Contributor
Posts: 305
Joined: Sun Oct 14, 2007 4:36 am
Location: Hoče, Slovenia

Post 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)
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

re: bootchart

um, awesome! 8O
Post Reply