diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-01-20 05:14:06 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-01-20 05:14:06 +0000 |
commit | 7094bdc669fb9a29d3315574daef37ff1b04bc8a (patch) | |
tree | 867a4a7d780a3f99592cdd69c410a235347292bf /distrib/i386 | |
parent | 7a31af6f3e6622d5264d22d51b934942bc3d0ac0 (diff) |
Switch i386 installs/upgrades to the new installboot.
Diffstat (limited to 'distrib/i386')
-rw-r--r-- | distrib/i386/common/install.md | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/distrib/i386/common/install.md b/distrib/i386/common/install.md index 7cb45fd1c2d..6fd25c34413 100644 --- a/distrib/i386/common/install.md +++ b/distrib/i386/common/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.56 2013/11/16 18:37:27 rpe Exp $ +# $OpenBSD: install.md,v 1.57 2014/01/20 05:14:05 jsing Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -39,10 +39,7 @@ NCPU=$(sysctl -n hw.ncpufound) ((NCPU > 1)) && { DEFAULTSETS="bsd bsd.rd bsd.mp" ; SANESETS="bsd bsd.mp" ; } md_installboot() { - # LBA biosboot uses /boot's i-node number. Using 'cat' preserves that - # number, so multiboot setups (NTLDR) can work across upgrades. - cat /mnt/usr/mdec/boot >/mnt/boot - if ! /mnt/usr/mdec/installboot /mnt/boot /mnt/usr/mdec/biosboot ${1} ; then + if ! installboot -r /mnt ${1} ; then echo "\nFailed to install bootblocks." echo "You will not be able to boot OpenBSD from ${1}." exit |