summaryrefslogtreecommitdiff
path: root/distrib/macppc/ramdisk
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2014-08-20 06:52:22 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2014-08-20 06:52:22 +0000
commitae6946bc3a2ab5a6f7912796e335955fd968e67b (patch)
treee75d5eafee4c865d31497d708da82276472046da /distrib/macppc/ramdisk
parentfce70a76de2580ba40bae9e6d80fd0a60ea7f507 (diff)
When doing Whole disk installs on macppc, blank the first 1 meg of the
disk, so we can successfully create our partitions including the all important boot partition. Reported by many, but last by /u/TheWalkingGlitch via reddit OK krw@
Diffstat (limited to 'distrib/macppc/ramdisk')
-rw-r--r--distrib/macppc/ramdisk/install.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/macppc/ramdisk/install.md b/distrib/macppc/ramdisk/install.md
index 7e600bec582..32a108690ae 100644
--- a/distrib/macppc/ramdisk/install.md
+++ b/distrib/macppc/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.55 2014/08/15 09:45:54 rpe Exp $
+# $OpenBSD: install.md,v 1.56 2014/08/20 06:52:21 phessler Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -91,6 +91,7 @@ __EOT
case $resp in
w*|W*)
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 -e $_disk <<__EOT >/dev/null
reinit
update