speeding up bootproces
Which services could I disable for speeding up the bootproces? I use Fedora Core 2.
|
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 |
Hi,
Is it impossible that I remove too many, so that Linux won't start anymore? Johan |
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 |
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 |
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 |
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 |
All times are GMT -5. The time now is 10:59 PM. |