LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-28-2004, 09:02 PM   #1
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Rep: Reputation: 30
Slow Bootup


I am currently using Slackware 10.0 with the 2.6.7 kernel and my machine takes 40 seconds to bootup. Is this normal???? Can anyone tell me how to make it boot up faster.

Note: It used to boot up faster but then after some time (I didn't do any changes, just updates), it started to bootup slowly)

XPediTioN
 
Old 06-29-2004, 01:05 AM   #2
nirvanix
Member
 
Registered: May 2003
Location: Calgary, Canada
Distribution: Arch Linux
Posts: 194

Rep: Reputation: 30
mine is slow too

Mine takes longer to boot up also, I think partly it's because my hard drive read speed has dropped off dramatically with the 2.6.7 kernel. You can check this with hdparm. Also there seems to be more going on in the bootup with the new kernel (ACPI, reiserfs journal checking, etc.). One thing you could do is not run the ldconfig every time you boot up - it's not really necessary unless you've installed new software. That will cut about 10 secs off the boot. I comment this step out in /etc/rc/d/rc.M and only run it after I install new software.
 
Old 06-29-2004, 01:07 AM   #3
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Xpedition, we can't know why your startup is too slow magically, maybe you just run a bunch of services at startup, dhcp discovery slows the bootup a little, running fc-cache too, and a lot of things do it too...
 
Old 06-29-2004, 01:43 AM   #4
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
well, i took a look at the kernel .config on 2.6.7, and there are lots of things compiled as modules, best advice would be to compile the kernel yourself, just build everything you need into the kernel, it makes a huge difference, remeber that modules take time to probe and load.

enjoy :^)
 
Old 06-29-2004, 02:46 AM   #5
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
You can also get lilo working a bit faster editing your lilo.conf like
Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
# append="hdc=ide-scsi"
boot = /dev/fd0
message = /boot/boot_message.txt
compact #####this is the line you should add######
prompt
timeout = 1200
ans so on......
Make sure you have a boot disk by your side as this could cause problems with LBA32

Last edited by urka58; 06-29-2004 at 02:48 AM.
 
Old 06-29-2004, 10:46 AM   #6
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Original Poster
Rep: Reputation: 30
It used to be very quick but now it takes a long time. I commented the ldconfig part in rc.M, and it does improve a little but it still takes a long time in the : Going multiuser... part. Anyone?
XPediTioN
 
Old 06-29-2004, 11:01 AM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
For my part disabling hotplugin feature did improve boot speed and general performances too.
 
Old 06-29-2004, 11:07 AM   #8
XPediTioN
Member
 
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305

Original Poster
Rep: Reputation: 30
how do you disable that?
 
Old 06-29-2004, 11:23 AM   #9
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
chmod -x /etc/rc.d/rc.hotplug but after that you may edit rc.modules or rc.local to add some modprobe lines to load your modules at boot.
 
Old 07-01-2004, 02:14 AM   #10
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
I had 9.1 on my laptop which had been upgraded to current and therefore was at 10 booting OK, ldconfig the longest but not too bad.
Then I wiped it and did a clean install of 10 and now hotplug takes ages. Hdparm shows the disk is still at the same speed.
 
  


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 bootup neverwhere Linux - General 4 10-03-2004 10:35 PM
Slow bootup with new kernel Pho Debian 2 09-11-2004 09:03 PM
Slow bootup TazG Linux - General 3 08-06-2004 09:00 PM
Slow Bootup distortedstar Linux - Software 2 05-10-2004 07:06 AM
slow bootup naflan Slackware 9 09-30-2003 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:05 AM.

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