final hurdle -- boot-up problem

Shaggy Im-erbtham shaggy at loxinfo.co.th
Wed Nov 1 05:38:37 PST 2000


I made it to the end of the book (v2.4) but came up with a problem booting
up the system.

Here are some snips:

INIT: version 2.78 booting
INIT: /etc/inittab[1]: id field too long (max 4 characters)
INIT: /etc/initab[5]: missing process field
/etc/init.d/rcS: line 15: 8 segmentation fault $i start


and

INIT: Entering runlevel: 3
Starting system log daemon............[OK]
Starting kernel log daemon..............[OK]
(none) login:

I cannot get pass this point, not with any root password.

I am still able to floppy-boot and access the $LFS files so if I know what is
wrong I can rectify it.

I am including the suspect problem files: /etc/inittab, etc/init.d/rcS

TIA
Shaggy


/etc/inittab
 Begin /etc/inittab
id:3:initdefault:
si::sysinit:/etc/init.d/rcS
l0:0:wait:/etc/init.d/rc 0
l1:S1;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
f1:0:respawn:/sbin/sulogin
f2:6:respawn:/sbin/sulogin
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
su:S1:respawn:/sbin/sulogin
1:2345:respawn:/sbin/agetty /dev/tty1 9600
2:2345:respawn:/sbin/agetty /dev/tty2 9600
3:2345:respawn:/sbin/agetty /dev/tty3 9600
4:2345:respawn:/sbin/agetty /dev/tty4 9600
5:2345:respawn:/sbin/agetty /dev/tty5 9600
6:2345:respawn:/sbin/agetty /dev/tty6 9600
# End /etc/inittab



/etc/init.d/rcS
#!/bin/sh
# Begin /etc/init.d/rcS

runlevel=S
prevlevel=N
umask 022
export runlevel prevlevel

trap ":" INT QUIT TSTP

for i in /etc/rcS.d/S??*
do
        [ ! -f  "$i" ] && continue;
                $i start
done

# End /etc/init.d/rcS




-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list