--- alx-src/trunk/alxinstall-ng/bin/alxinstall-ng.sh 2005/04/18 20:27:57 260 +++ alx-src/trunk/alxinstall-ng/bin/alxinstall-ng.sh 2005/04/18 21:28:22 261 @@ -1,6 +1,6 @@ #!/bin/sh # -# $Header: /home/cvsd/alx-cvs/alx-src/alxinstall-ng/bin/alxinstall-ng.sh,v 1.2 2005-04-18 20:27:57 niro Exp $ +# $Header: /home/cvsd/alx-cvs/alx-src/alxinstall-ng/bin/alxinstall-ng.sh,v 1.3 2005-04-18 21:28:22 niro Exp $ # # AutoSta_LX Installation Script # version: 0.8b @@ -544,9 +544,13 @@ fi ##enters chroot - mount -t proc proc $INSTALLPATH/proc + mount -t proc none $INSTALLPATH/proc + # bind /dev to get the devices right, + # if bootet from a 2.6 kernel with udev + mount -o bind /dev $INSTALLPATH/dev chroot $INSTALLPATH /bin/bash --rcfile /root/.bashrc -i umount $INSTALLPATH/proc + umount $INSTALLPATH/dev rm $INSTALLPATH/root/.bashrc }