From: Ben Gras Date: Fri, 13 May 2005 12:26:40 +0000 (+0000) Subject: Added feature to remember root parameter in /usr/src/tools, so make fdboot X-Git-Tag: v3.1.0~842 X-Git-Url: http://zhaoyanbai.com/repos/tz-link.htm?a=commitdiff_plain;h=6f9848f51c5a86591994f8c5e8c3ca79c4961b46;p=minix.git Added feature to remember root parameter in /usr/src/tools, so make fdboot will know how to make a boot floppy before actually booting from the new system. --- diff --git a/commands/scripts/setup.sh b/commands/scripts/setup.sh index 363cb8bfb..97a6f04ee 100755 --- a/commands/scripts/setup.sh +++ b/commands/scripts/setup.sh @@ -364,6 +364,9 @@ if [ $cache -eq 0 ]; then cache=; else cache="ramsize=$cache"; fi # Make bootable. installboot -d /dev/$root /usr/mdec/bootblock /boot/boot >/dev/null || exit edparams /dev/$root "rootdev=$root; ramimagedev=$root; $cache; save" || exit +pfile="/usr/src/tools/fdbootparams" +echo "Remembering boot parameters in ${pfile}." +echo "rootdev=$root; ramimagedev=$root; $cache; save" >$pfile || exit sync echo "