DebianThis forum is for the discussion of Debian 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.
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.
Hi
I run a 2.6.7 sarge on pentium III laptop, with acpi, usb, eth0, printer, (sometimes pcmcia), cd-rw, ssh, apache, xfree, about 7 or so partitions to load, and the whole loadin process from the second i hit "Linux" in lilo to the point it ask me to sign in is about 1 minute 10 seconds or so, not countin the inevitable time when it loads the kernel. my list in init.d is
My question is, are there any scripts i can change/remove to make it faster? I mean, even my windoze xp can beat that minute mark. ( not that i want to talk about windoze )
What I've realized is that during boot, the debian first makes a list of things it has to load, and then goes thru each script dealin with them and loads them. is there any way I can quickly realize what my box has to load, and just load those as opposed to linking to other scripts all over the place to find the modules to load? Is 1 minute boot time the average? (I'm running fluxbox, so no time consuming wm bootup)
If it makes you feel any better, my desktop, an AMD K6/233 MMX with 64MB of RAM running SuSE 8.1, takes nearly five minutes from power on to graphical login. After turning it on, I usually find something else to do for a few minutes.
I had a similar situation a few weeks ago, when I was fiddling around with some Server-Client - Network programs like Apache.
I realised that as well as installing Apache, the configuration also installed a bunch of additional scripts, logging progs and deamons that increased the time the machine takes to load.
I could spot that at boot up the machine was checking all the log files associated with Apache.
After that my machine became aproximately 4 times as slow.
My advice to you is unles you need Apache ( just like any other software you don't normally use or don't know what is for ) uninstall it directly - don't bother trying to disable from start-up.
Seriously.. 70 seconds isnt that bad.. really.
Anyhow.. You could definitely try out removing (I'd suggest moving them to a different location) some of your scripts in /etc/init.d/
Now no one can help you which ones are to be removed. Thats cos we dont know if you need them or not. Only you can help yourself there.. Just one note though, you'd better check your rc.5 folder (thats if you boot in init 5) These will be scripts that are actually run when you boot.. simply put they are like links to the original scripts. Removing these will do the trick too. But dont remove the important ones
Oh BTW.. tried reducing the size of the kernel? for that you'd have to compile it yourself. Not sure if you are comfortable with that. Basically that would mean you'd have a lighter kernel to load and rest of the miscellaneous would be loaded as modules.
On my system.. X takes the longest to load.. I finally trimmed the config file to load just the bare necessities.. now its fine..
Thank all for the replies, and sorry if this was a too obvious/dumb of a question to ask. I guess the options are to try removing (parts) of each script and see what happens or recompile kernel. thanks! I only asked because I remember sometime ago that someone had their boot in 40 seconds, that was my goal.
I read an article some time ago where they discussed the possibility to start certain servies in parallell in order to boot faster. Obviously with care since some services need to be started before others. I can't find the article online, but it is possible that it came from IBM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.