next up previous contents
Siguiente: Comprobación del arranque vía Subir: Preparación de la máquina Anterior: Configuración del fichero /etc/sysconfig/network-scripts/ifcfg-eth0.   Índice General

Configuración del fichero /etc/rc.d/rc.sysinit.

En este archivo tenemos que comentar o eliminar las líneas que hacen referencia al chequeo de las unidades. Estas líneas son las siguientes:
if [ -f /fsckoptions ]; then
fsckoptions=`cat /fsckoptions'
else f
fsckoptions=
fi
if [ -f /forcefsck ]; then
fsckoptions=``-f $fsckoptions''
fi
if [ ``$BOOTUP'' != ``serial'' ]; then
fsckoptions='' -C $fsckoptions"
else
fsckoptions=`` -V $fsckoptions''
fi
_RUN_QUOTACHECK=0
if [ ! -f /fastboot ]; then
STRING=``Checking root filesystem''
echo $STRING
initlog -c ``fsck -T -a $fsckoptions /''
rc=$?
if [ "$rc" = "0" ]; then
success "$STRING" echo
elif [ "$rc" = "1" ]; then
passed "$STRING" echo
fi
# A return of 2 or higher means there were serious problems.
if [ $rc -gt 1 ]; then
failure "$STRING"
echo
echo
echo "*** An error occurred during the file system check."
echo "*** Dropping you to a shell; the system will reboot"
echo "*** when you leave the shell."
PS1=``(Repair filesystem) # # ''; export PS1
sulogin
echo ``Unmounting file systems''
umount -a
mount -n -o remount,ro /
echo ``Automatic reboot in progress.''
reboot -f
elif [ ``$rc'' = ``1'' ]; then
_RUN_QUOTACHECK=1
fi
fi
_RUN_QUOTACHECK=0
# Check filesystems
if [ ! -f /fastboot ]; then
STRING="Checking filesystems"
echo $STRING
initlog -c ``fsck -T -R -A -a $fsckoptions''
rc=$?
if [ "$rc" = "0" ]; then
success "$STRING"
echo
elif [ "$rc" = "1" ]; then
passed "$STRING"
echo
fi
# A return of 2 or higher means there were serious problems.
if [ $rc -gt 1 ]; then
failure "$STRING"
echo
echo
echo ``*** An error occurred during the file system check.''
echo ``*** Dropping you to a shell; the system will reboot''
echo ``*** when you leave the shell."
PS1=``(Repair filesystem) # # ''; export PS1
sulogin
echo ``Unmounting file systems''
umount -a
mount -n -o remount,ro /
echo ``Automatic reboot in progress.''
reboot -f
elif [ ``$rc'' = ``1'' -a -x /sbin/quotacheck ]; then
_RUN_QUOTACHECK=1
fi
fi


next up previous contents
Siguiente: Comprobación del arranque vía Subir: Preparación de la máquina Anterior: Configuración del fichero /etc/sysconfig/network-scripts/ifcfg-eth0.   Índice General
Ismael Olea 2004-03-22