Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-28-2004, 10:02 PM
|
#1
|
Member
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305
Rep:
|
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
|
|
|
06-29-2004, 02:05 AM
|
#2
|
Member
Registered: May 2003
Location: Calgary, Canada
Distribution: Arch Linux
Posts: 194
Rep:
|
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.
|
|
|
06-29-2004, 02:07 AM
|
#3
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
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...
|
|
|
06-29-2004, 02:43 AM
|
#4
|
Member
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846
Rep:
|
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 :^)
|
|
|
06-29-2004, 03:46 AM
|
#5
|
Member
Registered: Nov 2003
Distribution: slackware 15
Posts: 546
Rep:
|
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 03:48 AM.
|
|
|
06-29-2004, 11:46 AM
|
#6
|
Member
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305
Original Poster
Rep:
|
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
|
|
|
06-29-2004, 12:01 PM
|
#7
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,795
|
For my part disabling hotplugin feature did improve boot speed and general performances too.
|
|
|
06-29-2004, 12:07 PM
|
#8
|
Member
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305
Original Poster
Rep:
|
how do you disable that?
|
|
|
06-29-2004, 12:23 PM
|
#9
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,795
|
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.
|
|
|
07-01-2004, 03:14 AM
|
#10
|
Member
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|