101c9192f8
The following additional changes are needed for the new install disks: 1) Remove from filesystem disk's /filelist: bin/cat, dev/MAKEDEV.local. 2) Remove from the filesystem disk: /bin/cat, /COPYRIGHT and /dev/MAKEDEV.local. 3) Add to the filesystem disk: /sbin/fdisk, /dev/fd1a and /dev/rfd1a. 4) Build a fourth DOS disk containing at least: os-bs, rz/sz Outstanding problems: 1) If there are >1024 cylinders, then FreeBSD cannot boot unless installed at cylinder 0 (and since neither can DOS evidently, the two can't share a disk in this case). 2) If FreeBSD is installed at cylinder 0, subsequent installs tend to fail. 3) If a DOS partition exists, disklabel doesn't seem to update the disk geometry in the FreeBSD disklabel correctly (so reinstalling FreeBSD with a new geometry requires installing it at cylinder 0). Rod suggested invoking disklabel on the raw c-partition. This makes sense, but it doesn't seem to work (newfs, for instance, can't find the new label).
46 lines
1.0 KiB
Bash
Executable File
46 lines
1.0 KiB
Bash
Executable File
#!/bin/sh
|
|
# install2.fs disk 'install'
|
|
# Simplified, interactive FreeBSD installation script.
|
|
# D.E. Silvia (dsilvia@net.com)
|
|
#
|
|
# Heavily hacked on for support of FreeBSD
|
|
# by Rodney W. Grimes (rgrimes@cdrom.com) 1993/08/11
|
|
#
|
|
# Installs balance of basic FreeBSD system.
|
|
#
|
|
|
|
echo -n "Verbose installation? [n] "
|
|
read resp
|
|
case $resp in
|
|
y*)
|
|
cpioverbose=v
|
|
;;
|
|
*)
|
|
cpioverbose=
|
|
;;
|
|
esac
|
|
|
|
echo
|
|
echo "Please wait. Copying to disk..."
|
|
cd /
|
|
mnt/usr/bin/gunzip < mnt/inst2.cpio.gz | cpio -idmu${cpioverbose}
|
|
cd /mnt
|
|
ls .profile install usr/bin/* | cpio -pdmu${cpioverbose} /
|
|
cd /dev
|
|
echo " done."
|
|
echo "Building /dev files..."
|
|
sh MAKEDEV all
|
|
cd /
|
|
echo " done."
|
|
|
|
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."
|