summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2022-11-06 10:53:35 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2022-11-06 10:53:35 +0000
commitf49bc84ef4e975624676de94d4908896ed8e12e5 (patch)
tree4ea36e69b0c138e8776ce7b3a017c221caa8767a /distrib
parentdeffabeb3fa6f65de8c355f30574af7e15cae073 (diff)
Use installboot -p; OK visa
Diffstat (limited to 'distrib')
-rw-r--r--distrib/octeon/ramdisk/install.md5
1 files changed, 2 insertions, 3 deletions
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.