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.
This commit is contained in:
parent
b480fa7c18
commit
6f9848f51c
1 changed files with 3 additions and 0 deletions
|
@ -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 "
|
||||
|
|
Loading…
Reference in a new issue