Segunda fase de instalacion Woody se cicla
Hola, estoy intentando instalar Woody desde cero y desde CDs
y me ha surgido el siguiente problema:
1.- Arranco desde CDROM
2.- Elijo la instalacion normal (o sea <INTRO>)
3.- Sigo todos los pasos, y configuro lo que me va pidiendo
4.- Se instalan en el disco duro, los paquetes basicos
5.- Me pide que reinicie, y reinicio.
...
6.- Despues de reiniciar sigue la configuracion. Segun recuerdo,
pide zona horaria, ..., y el sistema de proteccion de las passwords
Pero justo despues de confirmar las preguntas sobre las passwords
(MD5, Shadows)
El programa vuelve al inicio, o sea, me vuelve a pedir la zona
horaria, y asi hasta el infinito.
En el inittab encuentro la siguiente linea (segun parece este
inittab es temporal, porque tambien existe un inittab.real, que
debe sustituir al actual de configuracion del sistema):
1:2345:respawn:/usr/sbin/termwrap /usr/sbin/base-config </dev/tty1 >/dev/tty1 2>&1
He mirado el script /usr/sbin/base-config y no veo nada que me de
una pista.
¿Que puede estar pasando?
Adjunto inittab y base-config
# /etc/inittab: init(8) configuration.
#
# WARNING: This file is installed by the Debian boot disks.
# It is not meant to be used by default, but only to make
# sure that certain configurations are done after the initial
# boot into a new system. The real inittab is most likely
# named /etc/inittab.real.
#
# $Id: inittab.install,v 1.8 2001/10/03 09:05:05 rhirst Exp $
id:2:initdefault:
si::sysinit:/etc/init.d/rcS
~~:S:wait:/sbin/sulogin
l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -r now
kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop
#1:2345:respawn:/usr/sbin/termwrap /usr/sbin/base-config </dev/tty1 >/dev/tty1 2>&1
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
# For serial-console installs (will be edited by base configuration)
#
#T0:2345:respawn:/usr/sbin/termwrap /usr/sbin/base-config </dev/ttyS0 >/dev/ttyS0 2>&1
#T1:2345:respawn:/usr/sbin/termwrap /usr/sbin/base-config </dev/ttyS1 >/dev/ttyS1 2>&1
#T2:2345:respawn:/usr/sbin/termwrap /usr/sbin/base-config </dev/ttyS2 >/dev/ttyS2 2>&1
#T3:2345:respawn:/usr/sbin/termwrap /usr/sbin/base-config </dev/ttyS3 >/dev/ttyS3 2>&1
#T4:2345:respawn:/usr/sbin/termwrap /usr/sbin/base-config </dev/ttyS4 >/dev/ttyS4 2>&1
#T5:2345:respawn:/usr/sbin/termwrap /usr/sbin/base-config </dev/ttyS5 >/dev/ttyS5 2>&1
# T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
# T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
# T2:23:respawn:/sbin/getty -L ttyS2 9600 vt100
# T3:23:respawn:/sbin/getty -L ttyS3 9600 vt100
# T4:23:respawn:/sbin/getty -L ttyS4 9600 vt100
# T5:23:respawn:/sbin/getty -L ttyS5 9600 vt100
#!/bin/sh -e
# This program handles debian's second stage install -- after installing
# the base system and rebooting, the inittab runs this program.
if [ -x /usr/bin/script -a -z "$BASE_CONFIG_IN_SCRIPT" ]; then
# We want this program to run inside script. So if it's not already
# running, run script.
export BASE_CONFIG_IN_SCRIPT=1
# Timing data is collected, so the whole installation experience
# can play back with the replay command.
SHELL=$0 exec script -q -a /var/log/installer.log -t 2>>/var/log/installer.timings
exit 1 # never reached
fi
SHELL=/bin/sh
export SHELL
# Source it here to set LANG, so debconf uses the installation language.
if [ -e /root/dbootstrap_settings ]; then
. /root/dbootstrap_settings || true
if [ ! -z "$LANG" ]; then
export LANG
fi
fi
# XXX Not localized. Oh well, neither is the kernel.
echo "Configuring the base system..."
cleanup () {
cd /
if [ "$TMPDIR" ]; then
rm -rf $TMPDIR
fi
exit
}
if [ -e /root/dbootstrap_settings ]; then
# New install.
# Trap most signals because a ctrl-c killing base-config
# in the middle of the second stage install would be bad.
trap "" 1 2 3 15
if [ "$KEEP_BASE_DEBS" != yes ]; then
# Free up some disk space used by the debs that debootstrap
# downloaded to install the base system. Those debs are mostly
# useless now.
apt-get clean || true
fi
else
# Running again on an existing install. Just trap ctrl-c, and
# cleanly exit.
trap cleanup 2
fi
# Copy the base-config scripts into a temp directory. This is done so if
# base-config removes itself, the run-parts still finds all the scripts.
TMPDIR=/tmp/base-config.$$
mkdir $TMPDIR
cp -a /usr/lib/base-config/* $TMPDIR
# If this is a new install, pass "new" as the first parameter to each
# script.
if [ -e /root/dbootstrap_settings ]; then
PARAM=new
fi
# Run each script. Check return codes, and if they are >= 10,
# jump to the script matching the code.
cd $TMPDIR
# That trailing space is important.
SCRIPTS="$(echo $(find * -type f -regex '[-_A-Za-z0-9]*' | sort -n)) "
ORIGSCRIPTS="$SCRIPTS"
while [ ! -z "$SCRIPTS" ]; do
script=${SCRIPTS%% *}
SCRIPTS=${SCRIPTS#* }
# Catch sigchilds, and abort. The user probably hit ctrl-c..
# (Note that if we already trapped sigint above, then this has no
# effect anyway.)
trap cleanup 20
set +e
./$script $PARAM
CODE=$?
set -e
# Untrap to prevent other child processes from killing base-config.
trap 20
if [ "$CODE" != 0 -a "$CODE" -lt 10 ] || [ "$CODE" -gt 100 ]; then
echo "base-config: $script exited with return code $CODE" 2>&1
# Don't really fail for now anyway. May change later.
elif [ "$CODE" -ge 10 -a "$CODE" -le 100 ]; then
# Jump to CODE. Just reset SCRIPTS and scan forward until
# we get to someting marked CODE or higher.
SCRIPTS="$ORIGSCRIPTS"
while [ ! -z "$SCRIPTS" ]; do
if [ "$(expr "$SCRIPTS" : '\([0-9]*\)')" -ge "$CODE" ]; then
break
fi
SCRIPTS=${SCRIPTS#* }
done
fi
done
cleanup
# That's all, folks! (On an initial install, the user sees a login prompt next)
Reply to: