summaryrefslogtreecommitdiff
path: root/distrib/hp300/ramdisk
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-14 00:12:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-14 00:12:22 +0000
commit930a36719b6849df05a657bab7f55606daea8f0b (patch)
treeeeee9f8aceab9d05fe73e90cb4e712c10ea2b1c3 /distrib/hp300/ramdisk
parent02a365840c38e842976e2e6bfb8a24990aaa23e6 (diff)
We want to install a LIF label on the disk before we run disklabel -A
or disklabel -E. Otherwise that disk will indicate the wrong bounds. (nothing at all -> 0; MBR -> probably 63; LIF -> 256).
Diffstat (limited to 'distrib/hp300/ramdisk')
-rw-r--r--distrib/hp300/ramdisk/install.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/distrib/hp300/ramdisk/install.md b/distrib/hp300/ramdisk/install.md
index 54a7661ebec..d9b23cf7d5f 100644
--- a/distrib/hp300/ramdisk/install.md
+++ b/distrib/hp300/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.54 2009/06/04 00:44:46 krw Exp $
+# $OpenBSD: install.md,v 1.55 2009/06/14 00:12:20 deraadt Exp $
# $NetBSD: install.md,v 1.1.2.4 1996/08/26 15:45:14 gwr Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -41,6 +41,8 @@ md_installboot() {
md_prep_disklabel() {
local _disk=$1 _f _op
+ md_installboot $_disk
+
disklabel -W $_disk >/dev/null 2>&1
_f=/tmp/fstab.$_disk
if [[ $_disk == $ROOTDISK ]]; then