formatting the partition such that its contents actually survive.
ok krw@
-# $OpenBSD: install.md,v 1.27 2022/03/06 19:35:22 kettenis Exp $
+# $OpenBSD: install.md,v 1.28 2022/03/13 14:33:46 kettenis Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
elif disk_has $_disk gpt; then
if [[ $_disk == $ROOTDISK ]]; then
fdisk -gy -b "${bootsectorsize}" ${_disk} >/dev/null
+ installboot -p $_disk
else
fdisk -gy ${_disk} >/dev/null
fi
else
fdisk -iy -b "${bootsectorsize}@${bootsectorstart}:${bootparttype}" ${_disk} >/dev/null
+ installboot -p $_disk
fi
echo "done."
- installboot -p $_disk
return ;;
[eE]*)
if disk_has $_disk gpt; then