Commit | Line | Data |
---|---|---|
fbb818e5 RG |
1 | #!/bin/sh |
2 | # install2.fs disk 'install' | |
8a37e140 | 3 | # Simplified, interactive FreeBSD installation script. |
fbb818e5 RG |
4 | # D.E. Silvia (dsilvia@net.com) |
5 | # | |
8a37e140 RG |
6 | # Heavily hacked on for support of FreeBSD |
7 | # by Rodney W. Grimes (rgrimes@cdrom.com) 1993/08/11 | |
8 | # | |
9 | # Installs balance of basic FreeBSD system. | |
fbb818e5 RG |
10 | # |
11 | ||
fbb818e5 RG |
12 | echo -n "Verbose installation? [n] " |
13 | read resp | |
fbb818e5 RG |
14 | case $resp in |
15 | y*) | |
8749d9d0 | 16 | cpioverbose=v |
fbb818e5 RG |
17 | ;; |
18 | *) | |
8749d9d0 | 19 | cpioverbose= |
fbb818e5 RG |
20 | ;; |
21 | esac | |
22 | ||
d4208c3e | 23 | echo "Copying to disk..." |
8a37e140 | 24 | cd / |
d4208c3e | 25 | cat mnt/inst2.cpio.gz | mnt/usr/bin/gunzip | cpio -idmu${cpioverbose} |
8a37e140 | 26 | cd /mnt |
d4208c3e | 27 | ls .profile install usr/bin/* | cpio -pdmu${cpioverbose} / |
8a37e140 | 28 | cd /dev |
d4208c3e RG |
29 | echo " done." |
30 | echo "Building /dev files..." | |
8a37e140 RG |
31 | sh MAKEDEV all |
32 | cd / | |
d4208c3e | 33 | echo " done." |
fbb818e5 RG |
34 | |
35 | sync | |
36 | ||
37 | echo "OK. All of the base files are installed." | |
38 | echo "" | |
39 | echo "The next step: reboot from the hard disk, and follow" | |
40 | echo "more instrutctions." | |
41 | echo "" | |
42 | echo "To do this, enter 'halt' at the prompt to halt the machine." | |
43 | echo "Once the machine has halted, remove the floppy from the disk" | |
44 | echo "drive, and hit any key to reboot from the hard disk." |