LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-09-2009, 02:29 PM   #1
devinmcelheran
Member
 
Registered: Jan 2009
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 145

Rep: Reputation: 16
Boot is Fairly Slow In Hardy


When I boot up, it takes a considerable amount of time to get to the login, upwards of a minutes and a half, maybe two minutes or more, is there any way I can fix this? With XP, which I hate to compare to, my boot time was maybe thirty seconds. Can any one help me?

Note: I'm a pretty big noob, so explain slow and thorough please and thank you.
 
Old 03-09-2009, 02:40 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
When the computer boots, look where it stalls
or
take a look in
dmesg
or enable bootlog
Code:
sudo gedit /etc/default/bootlogd
# Run bootlogd at startup ?
BOOTLOGD_ENABLE=No
set this to yes
 
Old 03-09-2009, 02:47 PM   #3
devinmcelheran
Member
 
Registered: Jan 2009
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 16
Okay, I'll do that when I get home, because I'm at school right now, and I'll have to get back to you tomorrow because I don't have internet access at home.
 
Old 03-09-2009, 02:55 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
because I don't have internet access at home.
probably an issue with dhcp, boot will halt until dhcp has finished.
 
Old 03-10-2009, 02:15 PM   #5
devinmcelheran
Member
 
Registered: Jan 2009
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 16
I have bootlog enabled, so what do I do now? And my not having a connection at home is just that I don't have internet, nothing wrong with my laptop.
 
Old 03-10-2009, 02:39 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
While you boot, look at the messages on the screen and look where the boot stalls.
Or look in /var/log/boot
 
Old 03-11-2009, 10:05 AM   #7
devinmcelheran
Member
 
Registered: Jan 2009
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 16
What will the boot log show? and I'm guessing you'd like me to post it right?
 
Old 03-11-2009, 10:12 AM   #8
Matey
Member
 
Registered: Jan 2009
Posts: 114

Rep: Reputation: 17
Quote:
Originally Posted by repo View Post
probably an issue with dhcp, boot will halt until dhcp has finished.
Good answer, I agree.

Also is this a dual boot machine? some times if you install diskless partition for linux it takes longer to setup the OS because it has to create and simulate the real files and folders.
 
Old 03-11-2009, 10:27 AM   #9
devinmcelheran
Member
 
Registered: Jan 2009
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 16
It only has Ubuntu 8.04 on it. And what is dhcp, isn't it something to do with networking? But, I only have Ubuntu on it, and it was never so slow before, it should boot fairly quick, I have a half gb of ram and a 1.7 ghz processor. I've never seen it so slow.
 
Old 03-11-2009, 01:09 PM   #10
GraysonPeddie
Member
 
Registered: Jul 2008
Location: Tallahassee, FL 32304
Distribution: Bebian Sid for server, KXStudio 12.04 Beta 1 for desktop
Posts: 33

Rep: Reputation: 1
Yes. DHCP is Dynamic Host Configuration Protocol. It automatically gives out IP addresses within a specific range (like 192.168.20.11 to 192.168.20.20, for example).
 
Old 03-11-2009, 01:38 PM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
While you boot, look at the messages on the screen and look where the boot stalls.
Did you looked at the screen?
 
Old 03-11-2009, 02:15 PM   #12
devinmcelheran
Member
 
Registered: Jan 2009
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 16
I think it slowed down at the "gathering files needed to boot" or something along those lines. But I've now noticed an over declne in system speed, and I don't know why.
 
Old 03-11-2009, 03:27 PM   #13
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
bootchart is a pretty nice tool.
 
Old 03-12-2009, 02:37 PM   #14
devinmcelheran
Member
 
Registered: Jan 2009
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 16
I watched the text as I booted, and the two big time takers were "reading files needed to boot" and "waiting for root files system". Is there any way I can speed this up?
 
Old 03-14-2009, 10:27 PM   #15
devinmcelheran
Member
 
Registered: Jan 2009
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 16
This is my boot chart, I'm not sure how to read it, but if anyone can help me it'd be nice.
Attached Thumbnails
Click image for larger version

Name:	hardy-20090314-1.png
Views:	2
Size:	147.6 KB
ID:	307  
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow ata scanning with Ubuntu Hardy on Acer Aspire 5051 mhowell Ubuntu 7 03-21-2009 06:47 PM
PC is running entirely too slow Ubuntu 8.04 The Hardy Heron Bobbi821 Linux - Newbie 1 01-10-2009 11:55 PM
Ubuntu hardy is very slow at startup welder_tim Linux - Desktop 1 08-07-2008 07:44 PM
USB 2.0 is slow on Hardy Heron. Ordinary12 Ubuntu 1 05-18-2008 06:33 AM
slow to boot, slow dns resolution after host name change FC5 edavis6678 Linux - Newbie 3 01-03-2007 07:26 PM


All times are GMT -5. The time now is 10:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration