summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-06-20 06:05:16 +0000
committerjkh <jkh@FreeBSD.org>1994-06-20 06:05:16 +0000
commit0b5307b380460000736c5ae98bfdbf5533e364b5 (patch)
tree7f83e5d3b08e5e82af32859a82472e0fa05a9377
parentc3171f377c362220af9ca87ab0e0394dfc0226cb (diff)
downloadFreeBSD-src-0b5307b380460000736c5ae98bfdbf5533e364b5.zip
FreeBSD-src-0b5307b380460000736c5ae98bfdbf5533e364b5.tar.gz
Commit a small change to allow FreeBSD to install on a different drive.
The kernel configs already support this, so with a boot floppy or a utility like booteasy, the user should be able to install and boot off the second drive. Hurrah.
-rw-r--r--etc/etc.i386/cdinst1.install7
-rwxr-xr-xetc/etc.i386/inst1.install6
2 files changed, 11 insertions, 2 deletions
diff --git a/etc/etc.i386/cdinst1.install b/etc/etc.i386/cdinst1.install
index e49e0eb..f96dc6e 100644
--- a/etc/etc.i386/cdinst1.install
+++ b/etc/etc.i386/cdinst1.install
@@ -1,7 +1,7 @@
#!/bin/sh
# cd install floppy disk /install script
#
-# $Id: cdinst1.install,v 1.2 1994/04/18 04:25:21 rgrimes Exp $
+# $Id: cdinst1.install,v 1.3 1994/05/03 10:11:47 rgrimes Exp $
# ${OPSYSTEM}, the mounting of the cdrom drive, and the path are all
# setup by .profile
@@ -474,6 +474,11 @@ sc*|SC*)
type=ST506
;;
esac
+echo -n "Install onto which drive [$drivename] "
+read resp junk
+drivename=${resp:-${drivename}}
+echo
+echo "Disk $drivename is of device type $drivetype."
if [ ! "$partition" ]; then
echo
echo "Please wait. Examining device /dev/r${drivename}d..."
diff --git a/etc/etc.i386/inst1.install b/etc/etc.i386/inst1.install
index 6aba98f..1923c44 100755
--- a/etc/etc.i386/inst1.install
+++ b/etc/etc.i386/inst1.install
@@ -481,7 +481,11 @@ sc*|SC*)
;;
esac
echo
-echo "Disk is of device type $drivetype."
+echo -n "Install onto which drive [$drivename] "
+read resp junk
+drivename=${resp:-${drivename}}
+echo
+echo "Disk $drivename is of device type $drivetype."
if [ ! "$partition" ]; then
echo
echo "Examining device /dev/r${drivename}d..."
OpenPOWER on IntegriCloud