summaryrefslogtreecommitdiff
path: root/distrib/powerpc/ramdisk
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/powerpc/ramdisk')
-rw-r--r--distrib/powerpc/ramdisk/install.md11
1 files changed, 3 insertions, 8 deletions
diff --git a/distrib/powerpc/ramdisk/install.md b/distrib/powerpc/ramdisk/install.md
index 49fa6f71dbd..5b046a9c221 100644
--- a/distrib/powerpc/ramdisk/install.md
+++ b/distrib/powerpc/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.5 1998/08/07 01:35:27 rahnds Exp $
+# $OpenBSD: install.md,v 1.6 1998/09/12 20:05:28 rahnds Exp $
#
#
# Copyright rc) 1996 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
#
# Machine-dependent install sets
-MDSETS="kernel"
+MDSETS="kernel bsdmix bsdofw"
md_set_term() {
if [ ! -z "$TERM" ]; then
@@ -70,11 +70,6 @@ md_get_cddevs() {
cat /kern/msgbuf | egrep "^a?cd[0-9] " | cut -d" " -f1 | sort -u
}
-md_get_ifdevs() {
- # return available network devices
- cat /kern/msgbuf | egrep "^?de[0-9]|ofnet[0-9] " | cut -d" " -f1 | sort -u
-}
-
md_get_partition_range() {
# return range of valid partition letters
echo "[a-p]"
@@ -131,7 +126,7 @@ md_init_mbr() {
echo "This will take a minute or two..."
sleep 2
echo -n "Creating Master Boot Record (MBR)..."
- dd if=/usr/mdec/mbr of=/dev/r$1c >/dev/null 2>&1
+ fdisk -i -f /usr/mdec/mbr $1
echo "..done."
echo -n "Copying 1MB MSDOS partition to disk..."
gunzip < /usr/mdec/msdos1mb.gz | dd of=/dev/r$1c bs=512 seek=1 >/dev/null 2>&1