How to Speed up Booting Into GNOME - A Gentoo Wiki Tip
While there are several ways to cut down the time it takes for a GNU/Linux system to boot up completely, the most popular way is to prevent any unnecessary services from being started at the boot time(if you don’t host web pages from your machine, for example, then disabling the apache server from starting at boot time will save some precious CPU cycles). There are several HOWTOs littered around the internet describing how to identify and disable the services that are not needed by a user. You can go to Desktop -> Administration -> Services in GNOME to have a look at the most important services; the commands ‘rc-status boot’ and ‘rc-status default’ will give you a complete list. Make sure that you understand what a service does before trying to disable them.
Gentoo Wiki has another trick to speed up the boot process of Gentoo OS: start loading GDM at boot time by adding ‘xdm’ to the boot runlevel instead of the default runlevel. I am reproducing the procedure here mainly because the boot time for my Gentoo system got reduced roughly by 40% after I implemented this tip, which by no means is insignificant.
Follow these steps.
- Using your favourite editor, modify one line of code in the file /etc/init.d/xdm:
sh# emacs -nw /etc/init.d/xdm
Substitute the following line:
/sbin/telinit a &> /dev/null
with this line:
/etc/X11/startDM.sh &> /dev/null
(All the above names are case-sensitive.)
- Now run the following two commands:
sh# rc-update del xdm
sh# rc-update add xdm boot
That’s it. To immediately try it out, you can run ‘/etc/init.d/xdm restart’ command, or preferably, can do a full system reboot. The major gain for me after making this modification has been that the system no more gets stuck at the boot time for more than 10 seconds when it can’t find a DHCP server.
NOTE: This tip is meant only for the desktop machines. It’s not advisable for server machines for obvious reasons.
[...] Cómo acelerar el arranque de Gnome: Algunos trucos para que cargue más rápido este entorno de escritorio. [...]
QuotePingback by Kernel Source » Artículos de la semana (2-8 Oct 2006) — October 10, 2006 @ 3:17 am
Featured on BuzzTracker…
…
QuoteTrackback by BuzzTracker.com — November 19, 2006 @ 10:30 am
[...] Dün geceden bu yana haberler bu kadar gibi, bir de ufak tiyo, (purak söyledi): /etc/init.d/xdm dosyasında “/sbin/telinit a &> /dev/null” (ya da buna en benzeyen ) satırı ” /etc/X11/startDM.sh &> /dev/null” diye değiştirin. Ardından: rc-update del xdm rc-update add xdm boot İşinizi görür sanırım, bende 5 saniye hızlandırdı şu boot işini.. [link] [...]
QuotePingback by ah ulan Gnome! « seqizz’in uyuz günlüğü — July 25, 2008 @ 8:23 pm
[...] http://beans.seartipy.com/2006/10/01/how-to-speed-up-booting-into-gnome-a-gentoo-wiki-tip/ [...]
QuotePingback by Gnome hızlandırma ipucu « burak@unix~$ — July 25, 2008 @ 9:15 pm