1993-08-11 13:30:59 +01:00
|
|
|
#!/bin/sh
|
|
|
|
# install2.fs disk 'install'
|
1993-08-12 08:14:23 +01:00
|
|
|
# Simplified, interactive FreeBSD installation script.
|
1993-08-11 13:30:59 +01:00
|
|
|
# D.E. Silvia (dsilvia@net.com)
|
|
|
|
#
|
1993-08-12 08:14:23 +01:00
|
|
|
# Heavily hacked on for support of FreeBSD
|
|
|
|
# by Rodney W. Grimes (rgrimes@cdrom.com) 1993/08/11
|
|
|
|
#
|
|
|
|
# Installs balance of basic FreeBSD system.
|
1993-08-11 13:30:59 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
echo -n "Verbose installation? [n] "
|
|
|
|
read resp
|
|
|
|
case $resp in
|
|
|
|
y*)
|
1993-08-11 13:51:37 +01:00
|
|
|
cpioverbose=v
|
1993-08-11 13:30:59 +01:00
|
|
|
;;
|
|
|
|
*)
|
1993-08-11 13:51:37 +01:00
|
|
|
cpioverbose=
|
1993-08-11 13:30:59 +01:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
1993-08-26 04:20:28 +01:00
|
|
|
echo "Copying to disk..."
|
1993-08-12 08:14:23 +01:00
|
|
|
cd /
|
1993-08-26 04:20:28 +01:00
|
|
|
cat mnt/inst2.cpio.gz | mnt/usr/bin/gunzip | cpio -idmu${cpioverbose}
|
1993-08-12 08:14:23 +01:00
|
|
|
cd /mnt
|
1993-08-26 04:20:28 +01:00
|
|
|
ls .profile install usr/bin/* | cpio -pdmu${cpioverbose} /
|
1993-08-12 08:14:23 +01:00
|
|
|
cd /dev
|
1993-08-26 04:20:28 +01:00
|
|
|
echo " done."
|
|
|
|
echo "Building /dev files..."
|
1993-08-12 08:14:23 +01:00
|
|
|
sh MAKEDEV all
|
|
|
|
cd /
|
1993-08-26 04:20:28 +01:00
|
|
|
echo " done."
|
1993-08-11 13:30:59 +01:00
|
|
|
|
|
|
|
sync
|
|
|
|
|
|
|
|
echo "OK. All of the base files are installed."
|
|
|
|
echo ""
|
|
|
|
echo "The next step: reboot from the hard disk, and follow"
|
|
|
|
echo "more instrutctions."
|
|
|
|
echo ""
|
|
|
|
echo "To do this, enter 'halt' at the prompt to halt the machine."
|
|
|
|
echo "Once the machine has halted, remove the floppy from the disk"
|
|
|
|
echo "drive, and hit any key to reboot from the hard disk."
|