summaryrefslogtreecommitdiff
path: root/distrib/macppc/ramdisk
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2022-02-14 22:38:25 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2022-02-14 22:38:25 +0000
commit0be8b6e4eeb66c76104feb996a49e95f9120ad3b (patch)
tree325cefe4294b7b1dc8a8c0ce5e37aefe33c39e0b /distrib/macppc/ramdisk
parent91b522d342992b8fe1bcad7b6f1e483bce72d250 (diff)
Use fdisk -b to create the desired 1MB MSDOS boot partition
rather than relying on /usr/mdec/mbr. Tested by tobhe@
Diffstat (limited to 'distrib/macppc/ramdisk')
-rw-r--r--distrib/macppc/ramdisk/install.md4
1 files changed, 2 insertions, 2 deletions
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]*)