summaryrefslogtreecommitdiff
path: root/distrib/loongson/ramdisk/install.md
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2023-03-07 17:37:27 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2023-03-07 17:37:27 +0000
commit3da008c86b5d4faec46503b712de1eb8b6090daf (patch)
treeeaefb66974e52c5d59d069912557e021eb5d27b1 /distrib/loongson/ramdisk/install.md
parentb926dcb7a89d0e7bd854da1b9031dbaecbb19bce (diff)
Use "installboot -p"; tested by/OK miod
Diffstat (limited to 'distrib/loongson/ramdisk/install.md')
-rw-r--r--distrib/loongson/ramdisk/install.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/loongson/ramdisk/install.md b/distrib/loongson/ramdisk/install.md
index 4d5510b55cc..69af0f03664 100644
--- a/distrib/loongson/ramdisk/install.md
+++ b/distrib/loongson/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.31 2022/08/10 17:37:48 miod Exp $
+# $OpenBSD: install.md,v 1.32 2023/03/07 17:37:26 kn Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -86,8 +86,7 @@ md_prep_fdisk() {
;;
esac
echo "done."
- disklabel $_disk 2>/dev/null | grep -q "^ i:" || disklabel -w -d $_disk
- newfs -qt ext2fs $_o ${_disk}i
+ installboot -p $_disk
break ;;
[eE]*)
# Manually configure the MBR.