From: kn Date: Sun, 6 Nov 2022 10:53:34 +0000 (+0000) Subject: Use installboot -p; OK visa X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=72c0b93be718ff7e058072bde0ad1e4fc29d5d66;p=openbsd Use installboot -p; OK visa --- diff --git a/distrib/octeon/ramdisk/install.md b/distrib/octeon/ramdisk/install.md index ab055dba6f7..f3b9401184b 100644 --- a/distrib/octeon/ramdisk/install.md +++ b/distrib/octeon/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.23 2022/02/06 15:52:23 krw Exp $ +# $OpenBSD: install.md,v 1.24 2022/11/06 10:53:34 kn Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. @@ -62,8 +62,7 @@ md_prep_fdisk() { echo -n "Creating a FAT partition and an OpenBSD partition for rest of $_disk..." fdisk -iy -b "65536@64:C" ${_disk} >/dev/null echo "done." - disklabel $_disk 2>/dev/null | grep -q "^ i:" || disklabel -w -d $_disk - newfs -t msdos ${_disk}i + installboot -p $_disk return ;; [eE]*) # Manually configure the MBR.