From: Ben Gras Date: Tue, 30 Aug 2005 17:13:46 +0000 (+0000) Subject: Small minix has no ram disk X-Git-Tag: v3.1.0~237 X-Git-Url: http://zhaoyanbai.com/repos/%22https:/www.google.com/jsapi/static/roff.7.ps?a=commitdiff_plain;h=602ae06a3c0190564640ecbf3e0e218407107513;p=minix.git Small minix has no ram disk --- diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index 090211b96..1bce5bf67 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -427,7 +427,7 @@ 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; minix(=,Start MINIX 3) { unset image; boot; }; smallminix(+,Start Small MINIX 3) { image=/boot/image_small; boot; }; 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 +edparams /dev/$root "rootdev=$root; ramimagedev=$root; $disable; minix(=,Start MINIX 3) { unset image; boot; }; smallminix(+,Start Small MINIX 3) { image=/boot/image_small; ramsize=0; boot; }; 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="/mnt/src/tools/fdbootparams" # echo "Remembering boot parameters in ${pfile}." echo "rootdev=$root; ramimagedev=$root; $disable; save" >$pfile || exit