BootServices

Differences between revisions 4 and 5
Revision 4 as of 2005-12-27 07:09:13
Size: 2803
Editor: S0106001217cbd164
Comment: add categories
Revision 5 as of 2006-01-30 13:47:31
Size: 2658
Editor: 194
Comment: general reword including moving the warnings about.
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
== Disable start of unnecessary services during boot ==
For convenience of the inexperienced user, a lot of services are started during boot. This often includes services which you never need, either because you just don't want them (e. g. ntpdate, setting your system time from a time server, which delays the boot time quiet a bit especially if you are not on-line when booting) or you simply don't have the device (e. g. the HP printing and scanning system which is of no use for you if you don't own a HP device).
Line 11: Line 9:
While it generally does not harm to have this services started, they increase the boot time which is just annoying. So this is what you gain by deactivating those services: a reduced boot time.[[BR]]
Performancewise you will hardly notice a difference when less services are running, unless you have a small system with very limited resources.
== Stopping of unnecessary services during startup ==
For convenience, a lot of services are started when Ubuntu starts up. This can include services which you'll probably never need or want, either because you just don't want them (e. g. ntpdate, setting your system time from a time server) or you simply don't have the device (e. g. the HP printing and scanning system which is of no use for you if you don't own a HP device). Other services are mandatory for Ubuntu to work properly on your computer.
Line 14: Line 12:
A simple tool to manage the start of services is '''~+bum+~''', the boot-up manager.[[BR]]
There might be other tools out which allow more fine graining, but bum is easy to use and will do the job just fine for most users. If you really need to alter more services try sysv-rc-conf, a ncurses based tool, which gives you control over all services.[[BR]]
You may have to install the package 'bum' first, either via synaptic or with the usual[[BR]]
While it generally does not harm to have these services started, they increase the time it takes to start your computer, by deactivating some of these services you should get a slightly faster start up time.

A simple tool to manage the start of services is BUM, the boot-up manager. There are other tools available which allow a fine grained editing of services, such as sysv-rc-conf, a ncurses based tool, which gives you control over all services.
However for this tutorial we will be focusing on BUM.

== Installing BUM ==
BUM is available in the 'universe' repository, you can install it either via synaptic or by using the following command.
Line 21: Line 23:
It needs root privileges to run, so start it with[[BR]] == Running BUM ==

BUM
needs super user privileges to run, so to start it use
Line 25: Line 29:
and enter your password when required.
Line 26: Line 31:
It takes quiet a while to start up. Don't get impatient it is most likely not crashed. BUM can take a while to start up so be prepared to wait for it a couple of minutes.
Line 28: Line 33:
Within bum you can activate/deactivate the start of a service by simply clicking on the checkbox at the begin of the line for each of the listed services.[[BR]]
It might be sufficient to work on the tab active after start. However, you will see a short explanation for each service, which might help to identify services you don't need, when you switch to the 'Services' tab.[[BR]]
When unchecking a service (= don't start at next boot) which is already running, you are asked whether it should be stopped.
attachment:IconsPage/IconDialog-Warning1.png Warning: Disabling some services will stop your system from booting or running properly.
Line 32: Line 35:
A word of caution, though.[[BR]]
Be careful when deactivating services. At worst case, the wrong service not started might render your system unable to boot/run properly. For instance it is most likely not a good idea to prevent the cupsys service from being started, if you want to print via cups.
Within bum you can activate/deactivate the start of a service by simply clicking on the checkbox at the beginning of the line for each of the listed services.
Line 35: Line 37:
So if in doubt: leave the service activated ! It may be sufficient to work on the first tab in BUM. However if you switch to the 'Services' tab, you will see a short explanation for each service, which might help to identify services you don't need. If you uncheck a service which is already running, you are asked whether it should be stopped.
Line 37: Line 39:
Get more information about it first. You can always come back and deactivate it later. Remember, make sure you know what the service does before preventing it from running. e.g. it is most likely not a good idea to prevent the cupsys service from being started, if you want to print via cups. If in doubt, leave the service enabled until you've been able to find out more about it

Stopping of unnecessary services during startup

For convenience, a lot of services are started when Ubuntu starts up. This can include services which you'll probably never need or want, either because you just don't want them (e. g. ntpdate, setting your system time from a time server) or you simply don't have the device (e. g. the HP printing and scanning system which is of no use for you if you don't own a HP device). Other services are mandatory for Ubuntu to work properly on your computer.

While it generally does not harm to have these services started, they increase the time it takes to start your computer, by deactivating some of these services you should get a slightly faster start up time.

A simple tool to manage the start of services is BUM, the boot-up manager. There are other tools available which allow a fine grained editing of services, such as sysv-rc-conf, a ncurses based tool, which gives you control over all services. However for this tutorial we will be focusing on BUM.

Installing BUM

BUM is available in the 'universe' repository, you can install it either via synaptic or by using the following command.

sudo apt-get install bum

Running BUM

BUM needs super user privileges to run, so to start it use

sudo bum

and enter your password when required.

BUM can take a while to start up so be prepared to wait for it a couple of minutes.

attachment:IconsPage/IconDialog-Warning1.png Warning: Disabling some services will stop your system from booting or running properly.

Within bum you can activate/deactivate the start of a service by simply clicking on the checkbox at the beginning of the line for each of the listed services.

It may be sufficient to work on the first tab in BUM. However if you switch to the 'Services' tab, you will see a short explanation for each service, which might help to identify services you don't need. If you uncheck a service which is already running, you are asked whether it should be stopped.

Remember, make sure you know what the service does before preventing it from running. e.g. it is most likely not a good idea to prevent the cupsys service from being started, if you want to print via cups. If in doubt, leave the service enabled until you've been able to find out more about it

CategoryDocumentation CategoryCleanup

BootServices (last edited 2008-08-06 16:25:04 by localhost)