diff --git a/generic/linuxrc b/generic/linuxrc index 49e6405..025053b 100644 --- a/generic/linuxrc +++ b/generic/linuxrc @@ -273,6 +273,7 @@ fi echo "STEP 5c: redirect console" console=/newroot/dev/console +[ ! -e "$console" ] && mknod $console c 5 1 exec < $console > $console 2>&1 || echo "CONSOLE REDIRECTION FAILED, /dev ON ROOT DOES NOT CONTAIN console !!!" echo "STEP 6: pivot_root and exec/chroot real init"