From 6f9848f51c5a86591994f8c5e8c3ca79c4961b46 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Fri, 13 May 2005 12:26:40 +0000 Subject: [PATCH] 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. --- commands/scripts/setup.sh | 3 +++ 1 file changed, 3 insertions(+) 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 " -- 2.44.0