# Now chroot-mount the new system and run the postinstall script
umount /dev/$usr || exit 1
-umount /dev/${cddrive}p2
+umount ${cddrive}p2
mount /dev/$root /mnt || exit 1
mount /dev/$usr /mnt/usr || exit 1
chroot /mnt '/bin/sh /usr/src/commands/scripts/postinstall.sh'
-mount -r /dev/${cddrive}p2 /usr
+mount -r ${cddrive}p2 /usr
echo "Postinstall script done. Saving random data.."
dd if=/dev/random of=/mnt/usr/adm/random.dat bs=1024 count=1