From: Ben Gras Date: Mon, 22 Aug 2005 12:36:42 +0000 (+0000) Subject: setup fix X-Git-Tag: v3.1.0~315 X-Git-Url: http://zhaoyanbai.com/repos/dnssec-revoke.html?a=commitdiff_plain;h=655d756e82f6a70eab9377b89042daa80b6fb044;p=minix.git setup fix --- diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index 2fd9794ae..43c6f88d6 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -418,13 +418,15 @@ else disable="disable=inet;" fi umount /dev/$root >/dev/null || exit # Unmount the new root. +mount /dev/$usr /mnt >/dev/null || exit # Make bootable. installboot -d /dev/$root /usr/mdec/bootblock /boot/boot >/dev/null || exit edparams /dev/$root "rootdev=$root; ramimagedev=$root; $disable; main() { echo By default, MINIX 3 will automatically load in 3 seconds.; echo Press ESC to enter the monitor for special configuration.; trap 3000 boot; menu; }; save" || exit -pfile="/usr/src/tools/fdbootparams" +pfile="/mnt/src/tools/fdbootparams" # echo "Remembering boot parameters in ${pfile}." echo "rootdev=$root; ramimagedev=$root; $disable; save" >$pfile || exit +umount /dev/$usr sync echo "