add “compact” in global section like this :
append=” vt.default_utf8=0″
boot = /dev/sda
compact
boot = /dev/sda
compact
save and run lilo.
rc.M
The /etc/rc.d/rc.M file is run when the system boots into multi user mode.
There are three edits in this file that will greatly improve boot time.
First, place an ‘&’ following the line that initializes the hotplug system. Find this section:
There are three edits in this file that will greatly improve boot time.
First, place an ‘&’ following the line that initializes the hotplug system. Find this section:
# Initialize the hotplugging subsystem for Cardbus, IEEE1394, PCI,
and USB devices:
if [ -x /etc/rc.d/rc.hotplug -a -r /proc/modules ]; then
# Don't run hotplug if 'nohotplug' was given at boot.
if ! grep nohotplug /proc/cmdline 1> /dev/null 2> /dev/null ; then
echo "Activating hardware detection: /etc/rc.d/rc.hotplug start"
. /etc/rc.d/rc.hotplug start
fi
fi
And add the ‘&’ at the end of the . /etc/rc.d/rc.hotplug start line like this:
# Initialize the hotplugging subsystem for Cardbus, IEEE1394, PCI,
and USB devices:
if [ -x /etc/rc.d/rc.hotplug -a -r /proc/modules ]; then
# Don't run hotplug if 'nohotplug' was given at boot.
if ! grep nohotplug /proc/cmdline 1> /dev/null 2> /dev/null ; then
echo "Activating hardware detection: /etc/rc.d/rc.hotplug start"
. /etc/rc.d/rc.hotplug start &
fi
fi
Next, find the following section and comment it out by placing a ‘#’ in front of each line.
# Update all the shared library links:
if [ -x /sbin/ldconfig ]; then
echo "Updating shared library links: /sbin/ldconfig"
/sbin/ldconfig
fi
# Update the X font indexes:
if [ -x /usr/X11R6/bin/fc-cache ]; then
echo "Updating X font indexes: /usr/X11R6/bin/fc-cache"
/usr/X11R6/bin/fc-cache
fi
That section should now look like the following.
# Update all the shared library links:
#if [ -x /sbin/ldconfig ]; then
# echo "Updating shared library links: /sbin/ldconfig"
# /sbin/ldconfig
#fi
# Update the X font indexes:
#if [ -x /usr/X11R6/bin/fc-cache ]; then
# echo "Updating X font indexes: /usr/X11R6/bin/fc-cache"
# /usr/X11R6/bin/fc-cache
#fi
These commands only need to be run on occasion. Updating shared libraries really only needs to be done when you add or remove shared libraries, and similarly X font indexes only when fonts
are added and removed