summaryrefslogtreecommitdiff
path: root/distrib/i386/floppies/inst
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-23 15:58:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-23 15:58:34 +0000
commit018f89c090277b23e21223d3c6024d4486d0b3ed (patch)
tree1dc8c8db4294bfba6463b7cc60c1ec248ef863f8 /distrib/i386/floppies/inst
parentaf17b126b4c74b74f453d3d9ebc956e537c50bf2 (diff)
update from netbsd
Diffstat (limited to 'distrib/i386/floppies/inst')
-rw-r--r--distrib/i386/floppies/inst/dot.hdprofile3
-rw-r--r--distrib/i386/floppies/inst/dot.profile5
-rw-r--r--distrib/i386/floppies/inst/install.sh19
3 files changed, 24 insertions, 3 deletions
diff --git a/distrib/i386/floppies/inst/dot.hdprofile b/distrib/i386/floppies/inst/dot.hdprofile
index 9dd28c2316d..3bb1bee7907 100644
--- a/distrib/i386/floppies/inst/dot.hdprofile
+++ b/distrib/i386/floppies/inst/dot.hdprofile
@@ -27,7 +27,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# $Id: dot.hdprofile,v 1.1 1995/10/18 08:37:34 deraadt Exp $
+# $Id: dot.hdprofile,v 1.2 1995/11/23 15:57:57 deraadt Exp $
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
export PATH
@@ -44,6 +44,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo "Mounting filesystems..."
mount -a
+ mount -t kernfs /kern /kern
# set up some sane defaults
echo 'erase ^?, werase ^W, kill ^U, intr ^C'
diff --git a/distrib/i386/floppies/inst/dot.profile b/distrib/i386/floppies/inst/dot.profile
index d7df5e5dfbf..ff168b23cd8 100644
--- a/distrib/i386/floppies/inst/dot.profile
+++ b/distrib/i386/floppies/inst/dot.profile
@@ -27,7 +27,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# $Id: dot.profile,v 1.1 1995/10/18 08:37:34 deraadt Exp $
+# $Id: dot.profile,v 1.2 1995/11/23 15:57:58 deraadt Exp $
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
export PATH
@@ -47,6 +47,9 @@ if [ "X${DONEPROFILE}" = "X" ]; then
# run update, so that installed software is written as it goes.
update
+ # mount the kern_fs so that we can examine the dmesg state
+ mount -t kernfs /kern /kern
+
# pull in the functions that people will use from the shell prompt.
. /.commonutils
. /.instutils
diff --git a/distrib/i386/floppies/inst/install.sh b/distrib/i386/floppies/inst/install.sh
index 828e4aa9504..d82f84f21e4 100644
--- a/distrib/i386/floppies/inst/install.sh
+++ b/distrib/i386/floppies/inst/install.sh
@@ -28,7 +28,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# $Id: install.sh,v 1.2 1995/11/06 21:27:35 deraadt Exp $
+# $Id: install.sh,v 1.3 1995/11/23 15:57:59 deraadt Exp $
# NetBSD installation script.
# In a perfect world, this would be a nice C program, with a reasonable
@@ -162,6 +162,23 @@ echo "geometry. This should either be in the User's Manual for your disk,"
echo "or you should have written down what NetBSD printed when booting."
echo "(Note that he geometry that's printed at boot time is preferred.)"
echo ""
+echo "You may choose to view the initial boot messages for your system"
+echo "again right now if you like."
+echo -n "View the boot messages again? [n] "
+getresp "n"
+case "$resp" in
+ y*|Y*)
+ more /kern/msgbuf
+ ;;
+ *)
+ echo ""
+ ;;
+esac
+
+echo ""
+echo "You will now enter the disk geometry information"
+echo ""
+
echo -n "Number of bytes per disk sector? [512] "
getresp 512
bytes_per_sect="$resp"