LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-18-2014, 05:41 AM   #1
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Rep: Reputation: Disabled
Slow boot


My Linux Mint17 installed on an old HD in a Pentium4 3.4GHz machine seems very slow to boot - about 6 mins. It is dual boot with WindowsXP on a much faster drive.
Does the attached boot.log give any clues or is the HD too slow?
Attached Files
File Type: txt Linux bootlog.txt (5.0 KB, 20 views)
 
Old 08-18-2014, 05:57 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
you need to try dmesg to see the boot log.
 
Old 08-18-2014, 06:07 AM   #3
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
I've got Linux Mint 17 on my system, Asus M5A78L-M USB3 mobo, AMD FX6300 processor plus 8Gb memory. Like you, it takes a long time to boot, about 4 mins I think. There's a long period of time when it looks like nothing's happening; no disk activity, nothing on screen then it bursts back into life and finishes booting. I haven't done much research into why yet though I've installed a boot logger which graphs the boot process and presents it as a .png file (If I could only remember what it was called!! I'm sure one of the guys here will help out with the name.)

Play Bonny!

 
Old 08-18-2014, 06:16 AM   #4
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Original Poster
Rep: Reputation: Disabled
I found the file that I attached by looking in /var/log/boot.log. Would that be the same as dmesg that pan64 suggested?
 
Old 08-18-2014, 08:27 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
just execute dmesg and you will see the difference
 
Old 08-18-2014, 06:17 PM   #6
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Further to my previous post, download bootchart using synaptic package manager and read the instructions. Everytime you boot the system it'll generate a bootchart.png file in /var/log/bootchart, for example:
Quote:
Big-Max-qiana-20140810-1.png
(Note the date stamp!)

Open with something like Image Viewer to check your results.

Thanks to yancec for originally bringing this to my notice.

Play Bonny!

 
Old 08-20-2014, 05:16 AM   #7
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Original Poster
Rep: Reputation: Disabled
I have installed bootchart and tried to attach the resulting .png file. How can I attach this file as it 722Kb which is too large.
Also I have now installed Linux Mint17 in a partition on the faster hard drive. It also takes 6 mins to boot - just marginally quicker.
 
Old 08-20-2014, 08:20 AM   #8
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Original Poster
Rep: Reputation: Disabled
I have tried dmesg, but how do you interpret it? It gives many lines of numbers.
 
Old 08-20-2014, 09:01 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Just attach it to your next post, so that we can have a look at it.
 
Old 08-20-2014, 09:20 AM   #10
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Original Poster
Rep: Reputation: Disabled
Attached is the result of dmesg.
Attached Files
File Type: txt dmesg result.txt (24.3 KB, 25 views)
 
Old 08-20-2014, 10:18 AM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
This can't be the complete dmesg output, there must be much more. At this point your system is already running for 320 seconds, we need to get back further in that log to see what holds the boot for so long (though it seems that your network card might be involved).
 
Old 08-20-2014, 11:37 AM   #12
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Original Poster
Rep: Reputation: Disabled
Sorry, I missed off the top. Attached is the result of another dmesg.
Attached Files
File Type: txt dmesg result2.txt (24.3 KB, 12 views)
 
Old 08-20-2014, 12:30 PM   #13
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
That still isn't the complete dmesg output, try it with
Code:
dmesg > dmesg-result.txt
to get the complete output. We are now only one second further back in the log, still not enough.
 
Old 08-20-2014, 02:00 PM   #14
Brian4882
Member
 
Registered: Aug 2014
Location: Leicester, UK
Distribution: Mint17
Posts: 34

Original Poster
Rep: Reputation: Disabled
Done dmesg > dmsg-result.txt and attached the file. Previously I had just copied the terminal output to a Linux text edit file.
Attached Files
File Type: txt dmseg-result.txt (92.1 KB, 27 views)
 
Old 08-20-2014, 04:18 PM   #15
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
OK, it seems that there is a problem with your network card or its driver.
Does the network card work reliably in Windows? If so it is possible that this is a driver problem. It may help to try an older or newer kernel, to see if this is a regression or probably already fixed in a newer kernel version.
 
  


Reply



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 boot 10.04 wb8nbs Ubuntu 9 10-18-2010 01:54 PM
Slow boot SavoTU Slackware 9 03-14-2010 03:02 PM
slow to boot, slow dns resolution after host name change FC5 edavis6678 Linux - Newbie 3 01-03-2007 06:26 PM
windows boot slow on dual boot machine fobster Linux - Newbie 4 04-21-2006 07:58 AM
slow boot up ust Linux - Software 2 08-17-2005 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:22 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
Open Source Consulting | Domain Registration