From: kn Date: Tue, 7 Mar 2023 17:37:26 +0000 (+0000) Subject: Use "installboot -p"; tested by/OK miod X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=700e331127084cd1f41c5cac31d1adde46b481af;p=openbsd Use "installboot -p"; tested by/OK miod --- 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.