|
From: Serge L. <sma...@us...> - 2007-07-06 03:59:38
|
Update of /cvsroot/devil-linux/build/config/etc/initrd In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv800/config/etc/initrd Modified Files: linuxrc Log Message: -- fixed securetty problem. dev is mounted to /dev/ now. Index: linuxrc =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/initrd/linuxrc,v retrieving revision 1.92 retrieving revision 1.93 diff -u -d -r1.92 -r1.93 --- linuxrc 3 Apr 2007 12:01:32 -0000 1.92 +++ linuxrc 6 Jul 2007 03:59:33 -0000 1.93 @@ -174,8 +174,13 @@ # make sure all kernel warnings get lost (seriously!) klogd -c 1 +# print our current running kernel version +echo Kernel $(uname -r) + +# give klogd some time to start +sleep 1 # mount proc -mount -n -t proc none /proc +mount -n -t proc proc /proc # mount sysfs mount -n -t sysfs none /sys @@ -392,8 +397,8 @@ mknod /shm/dev/ram0 b 1 0 echo "Mounting SHM FS on /cdrom/shm" -mount -n -o bind /shm /cdrom/shm -umount /shm +mount -n --move /shm /cdrom/shm +#umount /shm # unmount proc because the final system will mount it again umount /proc @@ -404,7 +409,7 @@ #change to new root and start up the real system pivot_root . initrd -exec /usr/sbin/chroot . /sbin/pre_init $DL_CONFIG_SOURCE $DL_CONFIG_FILE $@ <dev/console >dev/console 2>&1 +exec /usr/sbin/chroot . /sbin/pre_init $DL_CONFIG_SOURCE $DL_CONFIG_FILE $@ <shm/dev/console >shm/dev/console 2>&1 # something went wrong echo |