live cd! init troubles
sreekant kodela
sreekant_kodela at yahoo.com
Wed Nov 23 23:26:15 PST 2005
Hi folks
I used busybox to make a live cd. Rest of the binaries
are from slackware 10.2. My init reads as below. But
the trouble is first console does not allow login.
Infact it echos the username and doesnot read the
passford. But after a couple of attempts it allows me
to login fine. Rest of the consoles 2-5 behave as they
should!
Any ideas:
inittab :
---------------
::sysinit:/etc/sysinit
#::respawn:-/bin/ash
::respawn:/sbin/getty 38400 /dev/vc/1
::respawn:/sbin/getty 38400 /dev/vc/2
::respawn:/sbin/getty 38400 /dev/vc/3
::respawn:/sbin/getty 38400 /dev/vc/4
::respawn:/sbin/getty 38400 /dev/vc/5
::restart:/sbin/init
::ctrlaltdel:/sbin/halt
-----------------------------------
/etc/sysinit
-----------------------------------
#! /bin/ash
/bin/mount -av
#mount cd and setup cd based links
/bin/mntcd
/bin/ln -sf /cdrom/zz/usr/* /usr/
/bin/ln -sf /cdrom/zz/etc/* /etc/
/bin/ln -sf /cdrom/zz/bin/* /bin/
/bin/ln -sf /cdrom/zz/lib/modules/2.4.31/*
/lib/modules/2.4.31/
/bin/rm /lib/modules/2.4.31/*.dep
/bin/ln -sf /etc/X11/* /etc/X11/
#setup mouse link
/bin/ln -sf /dev/misc/psaux /dev/mouse
#check sanity
/usr/bin/depmod -a > /dev/null 2>&1
/sbin/ldconfig > /dev/null 2>&1
/bin/stty sane -F /dev/vc/0
cat /etc/uk.bmap | /sbin/loadkmap
/bin/hostname Botopop-1
-----------------------------------------------
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
More information about the busybox
mailing list