From 700e331127084cd1f41c5cac31d1adde46b481af Mon Sep 17 00:00:00 2001 From: kn Date: Tue, 7 Mar 2023 17:37:26 +0000 Subject: [PATCH] Use "installboot -p"; tested by/OK miod --- distrib/loongson/ramdisk/install.md | 5 ++--- 1 file 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. -- 2.20.1