summaryrefslogtreecommitdiff
path: root/distrib/powerpc
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-12 20:05:29 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-12 20:05:29 +0000
commit834608fbf013de564c42ed8bd7249e4b0013e203 (patch)
tree6e9b7fc8553e7792b6b4c81ad539f536c3cb8b91 /distrib/powerpc
parentbe8e76a8165331d3b67f506e99ae3f714f3234f3 (diff)
remove ethernet device detection now that that in common code.
write MBR on disk using fdisk -i, not dd, that way the partition sizes get set up nicely. (Works even better with a soon to be checked in fdisk change). add some powerpc specific installation sets.
Diffstat (limited to 'distrib/powerpc')
-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