LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-11-2004, 09:49 AM   #1
saurya_s
Member
 
Registered: Nov 2003
Location: Oxford
Distribution: Mandrake
Posts: 158

Rep: Reputation: 30
Fast booting in Linux


Hi guys
Can I make Linux to boot very fast.
Well I have an OS X as well and after a fix from here
http://www.broadbandreports.com/foru...e=flat~start=0
it boots in 50sec as compared to 2min 45sec without it.
I assume there must be something similar to this for Linux.
Does anybody know how to do it?
Thanks
SS
 
Old 01-11-2004, 10:31 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
i think that problem you ran into before is specific to OS X.

there's alot of little things you can do to make linux boot faster, but not
that particular one.
 
Old 01-11-2004, 10:44 AM   #3
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Most of the boot time in Linux is for loading modules, running services, and stuff like that. To speed up boot time, you can compile a custom kernel with only the modules you need (or just compile all the stuff you need into the kernel, compile stuff you only occasionally use as modules, and load them when you need them; don't enable anything you don't need); also, find out what services and daemons are running at boot time (usually the things listed in /etc/init.d), and disable the ones you don't need (if you're using Mandrake, in the control center there is a list of services that you can selectively turn off). It's quite possible to get Linux to boot in less than 50 seconds!
 
Old 01-11-2004, 11:42 AM   #4
saurya_s
Member
 
Registered: Nov 2003
Location: Oxford
Distribution: Mandrake
Posts: 158

Original Poster
Rep: Reputation: 30
Yes, I have been to the Mandrake control, centre for system to narrow down to what services I don't need at startup. But whatever is left is the basic onew as I think that everybody needs.
I couldn't understand webmin- what does this do?
Apart from that is there any other way of making it faster.
Thanks
 
Old 01-11-2004, 12:02 PM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
I believe webmin is a service that allows you to do certain administrative tasks over a web interface so you can do them remotely. My guess is if you are running a desktop you can turn that off.


My best guess for your slow down is Mandrake trying to auto-detect all your hardware. It has been a while since I have used a distro like Mandrake but in the past I have seen them try and modprobe just about everything to make sure they detect as much hardware as possible... this of course can take forever.

Last edited by jtshaw; 01-11-2004 at 12:05 PM.
 
Old 01-11-2004, 01:46 PM   #6
saurya_s
Member
 
Registered: Nov 2003
Location: Oxford
Distribution: Mandrake
Posts: 158

Original Poster
Rep: Reputation: 30
Thanks
I think then I can putoff webmin off.
I think you are surely right about its detection of all hardware.So what remedy you suggest.
Wehn I installed, I put a CD writer, zip drive etc, so if i don't use them regularly, can I turn them off.
What do you guys do normally, I guess most prople don't need CD wrtier/zip everyday.
Thanks
SS
 
Old 01-16-2004, 07:31 PM   #7
saurya_s
Member
 
Registered: Nov 2003
Location: Oxford
Distribution: Mandrake
Posts: 158

Original Poster
Rep: Reputation: 30
Hi all
I move my machine from work to home, so when I boot at home it takes a very long time to enable eth0. Can I disable it so that it boots very fast at home.
So I guess if I do that, it won't go to LAN when I boot there. I guess I can strart it from some command line when on lan? How can I do that?
Thanks
SS
 
Old 01-16-2004, 09:13 PM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
ifconfig eth0 down

or you could start in a runlevel that doesn't have networking
 
Old 01-16-2004, 09:47 PM   #9
saurya_s
Member
 
Registered: Nov 2003
Location: Oxford
Distribution: Mandrake
Posts: 158

Original Poster
Rep: Reputation: 30
So, if I do that while on dialup, it won't put eth0 on or try to hunt for it.
When I put my machine at LAN, then I guess by default it won't identify it. Now if I do ifconfig eth0 up will it put back on LAN?
SS
 
Old 01-17-2004, 01:08 AM   #10
speck
Member
 
Registered: Nov 2001
Location: California
Distribution: Slackware 14.1
Posts: 283

Rep: Reputation: 55
An article on the IBM should be exactly what you're looking for. The article references Redhat, but the general idea should apply to Mandrake as well.

Speck
 
Old 01-17-2004, 04:36 AM   #11
saurya_s
Member
 
Registered: Nov 2003
Location: Oxford
Distribution: Mandrake
Posts: 158

Original Poster
Rep: Reputation: 30
Hi
the ifconfig down thing doesn't work.
I sis that ,but when I rebooted the computer, it still spent about 2 min in bringing up the eth0 interface.
Also, when I installed, I put zip drive. Normally, i don't use it now, can I stop it from loading while booting. Also, I have an external cd writer which has similar situtation but i want it be loadable when I want to burn CD.
Right , I am reading the IBM article and see what I make out of it.
SS
 
  


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
FAST (Mega fast Mirror) SUSE 10 beta 4 download 1kyle Suse/Novell 2 09-07-2005 11:13 AM
Suitable, Fast booting Linux Distro proudclod Linux - Distributions 1 09-06-2004 02:18 PM
Fast Booting Boffy Linux - General 2 07-14-2004 08:59 AM
fast booting linux to play videos? nikd Linux - General 6 06-07-2004 02:55 AM
Dual Booting - Please Reply Fast Steelrat Linux - Newbie 3 02-14-2004 08:04 PM


All times are GMT -5. The time now is 11:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration