From: krw Date: Mon, 14 Feb 2022 22:38:24 +0000 (+0000) Subject: Use fdisk -b to create the desired 1MB MSDOS boot partition X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=895783219e54ab9b637c3dd2095c714d429474c8;p=openbsd Use fdisk -b to create the desired 1MB MSDOS boot partition rather than relying on /usr/mdec/mbr. Tested by tobhe@ --- diff --git a/distrib/macppc/ramdisk/install.md b/distrib/macppc/ramdisk/install.md index 48b7e72c9d6..46ad74be25a 100644 --- a/distrib/macppc/ramdisk/install.md +++ b/distrib/macppc/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.73 2020/06/27 15:35:29 deraadt Exp $ +# $OpenBSD: install.md,v 1.74 2022/02/14 22:38:24 krw Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. @@ -75,7 +75,7 @@ __EOT [wW]*) echo -n "Creating a 1MB DOS partition and an OpenBSD partition for rest of $_disk..." dd if=/dev/zero of=/dev/r${_disk}c bs=1m count=1 - fdisk -iy $_disk >/dev/null + fdisk -iy -b "2048@1:06" $_disk >/dev/null echo "done." break ;; [eE]*)