LinuxQuestions.org
Help answer threads with 0 replies.
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 06-18-2004, 05:54 AM   #1
jpostma
Member
 
Registered: Jun 2003
Location: Alphen ad Rijn -- The Netherlands
Distribution: Fedora Core 2 - Slackware 12
Posts: 119

Rep: Reputation: 15
speeding up bootproces


Which services could I disable for speeding up the bootproces? I use Fedora Core 2.
 
Old 06-18-2004, 06:30 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Hi,

The short answer is, "the ones that you don't need".

Have a look at the messages that appear when you boot up. You don't have to reboot to see these, use the command "dmesg". Read up on the ones you don't understand, and if there are things there that you don't need you can remove them from your kernel and/or disable them in your init files.

John
 
Old 06-18-2004, 06:49 AM   #3
jpostma
Member
 
Registered: Jun 2003
Location: Alphen ad Rijn -- The Netherlands
Distribution: Fedora Core 2 - Slackware 12
Posts: 119

Original Poster
Rep: Reputation: 15
Hi,

Is it impossible that I remove too many, so that Linux won't start anymore?

Johan
 
Old 06-18-2004, 07:33 AM   #4
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Hi,

Sure, it's possible that you could screw up your system temporarily, but if you read up on what you're doing, make backups of your config files (anything in /etc) and only remove one service at a time, you're unlikely to have serious problems.

John
 
Old 06-19-2004, 03:04 AM   #5
seidren
Member
 
Registered: May 2003
Distribution: Ubuntu, Windows XP
Posts: 90

Rep: Reputation: 16
I use RH9, and I removed the hardware detection thing(kudzu), xinted, httpd, MySQLd, the keymap loader, module dependency checking and other stuff which took time at the boot process.

I have a P4 1.6Ghz 128MB and the machine boots to X in 27s~30s

Last edited by seidren; 06-19-2004 at 03:42 AM.
 
Old 06-19-2004, 04:48 AM   #6
gredhat
LQ Newbie
 
Registered: Jun 2004
Location: Delhi, INDIA
Distribution: Redhat, Fedora, Suse
Posts: 16

Rep: Reputation: 0
u can use the gui for disabling the unwanted services as it shows the discription in the right hand windows for the service selected. U can use two methods for gui start

1. system-config-services (type in console)
2. From the menu sytemsetting ->server setting-> services

hope it helps
 
Old 06-19-2004, 04:59 PM   #7
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
there are a bunch of places in the bootscripts that use delays, cause the commands need them on some computers. usually they use "sleep". like sleep 2s, for wait 2 seconds. if you comment all of those out, or lower them, you can cut a bunch off your boot time.
go in your init.d directory, or appropriate for your distribution, and run
grep sleep *|less
you can find em easy that way. chances are you can get away without them. just remember what you did incase something quits working right.
crap like this.

functions: usleep 100000
functions: sleep 1
functions: sleep 1 # changed from 3
halt:sleep 2 #changed from 5
halt: sleep 1 #changed from 2
halt: sleep 2 #changed from 5
netfs: sleep 2
netfs: sleep 5
pcmcia: kill -0 $PID 2>/dev/null && sleep 2 && \
pcmcia: kill -0 $PID 2>/dev/null && sleep 2 && \
pcmcia: kill -0 $PID 2>/dev/null && sleep 2 && \
single:sleep 2 # changed from 5

Last edited by whansard; 06-19-2004 at 05:09 PM.
 
  


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
Speeding up ssh -X viniosity Linux - General 1 12-13-2004 04:49 PM
Speeding it up.. Jordie Linux - Software 3 12-05-2004 08:37 AM
Speeding up OOo micxz Linux - General 2 11-09-2004 01:56 AM
Need help speeding up my boot NonSumPisces Linux - General 2 09-05-2004 05:42 PM
speeding up dd NiallC Linux - General 6 08-18-2003 11:37 AM


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