33 Commits

Author SHA1 Message Date
alm
8dd2f93d69 Removed option to install FreeBSD alongside an existing *BSD
paritition, since disklabel cannot deal with this...
1993-11-12 04:58:31 +00:00
alm
b45acf0195 fixed conditional that caused install to see a DOS partition when none exists. 1993-11-08 03:58:31 +00:00
rgrimes
cb844f9aa8 Make darn sure that fsck does not try to fsck dos file systems by setting
the fsck pass to 0, same thing for dump field, in the fstab that is
created by this script.
1993-10-19 19:58:55 +00:00
chmr
81d35d6d98 Allow install floppy to be placed in the B: drive. 1993-10-16 09:12:08 +00:00
alm
dca51f7e83 added to install_notes instructions for loading distribtuion
files from a MS-DOS partition.
Minor cleanup:
fixed spelling error in inst1.install
capitalized sentences in kc.profile
reworded initial load_fd options
1993-09-22 07:38:18 +00:00
alm
4687ff86f6 Extended load_fd() to support reading from the first Primary DOS
partition of the boot disk.  So we have yet another medium via
which to load the FreeBSD distribution files.  load_fd() has
options for listing and (if reading from the C:  drive) changing
directories.

load_fd's notation assumes that the first Primary partition on
disk is the DOS drive C: (since this and only this one is mounted
by install).  Otherwise, the notation may be a bit confusing.
We'll know the assumption is bad if people complain about
not finding files on their "C:" drive...

Added a device file existence check to kc.profile.
1993-09-21 10:24:42 +00:00
alm
a1c237516c 1) Install now creates a DOS partition for the first (and only the
first) Primary (un-Extended) DOS partition, providing /dev/xx0h
is available.  It is mounted on /dos by default.  The /etc/fstab
entry omits the dump and fsck fields, i.e.:
/dev/xx0h	/dos	pcfs rw

The Secondary DOS partition is not used (System ID 0xF2), because I don't
know what that is.

2) Fixed default sizes so that if someone attempts to install BSD on a 24 Mb
partition by accepting defaults, they don't end up with a 1 Mb /usr
partition (up to USRMIN Mb's).  In this case, all space is split between
swap and root.

TODO:
1) Extend load_fd() to support loading distribution files directly from
the DOS partition of the hard disk.

2) Provide translated parameters to the install program (maybe
add an option to fdisk).  Currently, the true geometry is used as
default, which is inappropriate for coexistence with DOS.

3) Support installing on multiple or secondary disks.
1993-09-19 20:45:10 +00:00
alm
f58b8af741 Added /usr/distbin to PATH 1993-09-18 08:20:32 +00:00
alm
be2abcc85f Added the following to the opening statement of install:
Before starting, it is important to know your hard disk's geometry
(i.e., number of cylinders, heads and sectors/track).  If installing
FreeBSD on the same disk as another operating system, then the
two systems should use the same geometry.  In particular, FreeBSD's
default geometry is inappropriate for MS-DOS.  So in this case, the
DOS geometry should be used instead.

[This seems to be true for SCSI disks.   What about IDE?  With the new
boot blocks, can we ignore the disks true geometry??]
1993-09-17 09:05:52 +00:00
alm
37dc7644f1 Added option to overwrite an existing partition during install.
Added notes about ob-bs to install_notes.
1993-09-14 21:26:32 +00:00
alm
c2d043a940 The install disks now print the partition table data with
offsets and sizes in units of cylinders.  This will help
those who want to install FreeBSD between two existing
partitions.

Faked notes on installing via Kermit
1993-09-14 02:36:09 +00:00
rgrimes
89b6f54b10 Fixed missing device name arguments to fdisk commands, this was the
cause of silient failure on scsi disk installs with the new floppies.
1993-09-13 12:23:38 +00:00
rgrimes
62aecc351a Change the "Insert secound installation floppy" to
"Insert the cpio installation floppy" to reduce confusion as to what floppy
is wanted.
1993-09-12 22:44:37 +00:00
rgrimes
191a876a96 Removed /usr/contrib/bin from PATH 1993-09-12 21:40:19 +00:00
alm
d6532c7e9d added a couple echo's 1993-09-11 08:55:41 +00:00
alm
9607e4a9f6 Forgot to export PATH 1993-09-11 08:41:03 +00:00
alm
3081a5c12f Silence cp diagnostics for dos floppy install in case
directories exist (e.g., after running os-bs).
1993-09-11 08:17:00 +00:00
alm
9bbada29b5 remove \'s from where they shouldn't be. 1993-09-11 08:12:28 +00:00
alm
a525fcb74f Quick checkin between network hangs...
Restored trap calls in profile, and reset trap 2 at end of fsck.
Make installation of fourth floppy an option.
1993-09-11 08:08:11 +00:00
rgrimes
b82af535bf Converted many occurances of multiple spaces to tabs to save bytes
any way I can.  Converted all echo "" to be just echo

Removed sync call that seems to hang due to fd/wd driver interaction..
Now rm /.profile before the cpio floppy is copied in, this should fix
a bugger I was having with an open shell script that gets over written.
1993-09-11 06:03:37 +00:00
alm
3e808869c3 Combined some conditional statements now that `test' works correctly. 1993-09-09 14:04:20 +00:00
alm
19fe3ad59e Mostly cosmetic changes.
Added notes installing os-bs.
1993-09-09 13:52:36 +00:00
alm
a4f7648d70 Adding missing sync after reading fourth install floppy.
Added /usr/distbin to path
1993-09-08 20:49:13 +00:00
alm
72da475e26 Added a fourth DOS-format floppy to the install disks containing os-bs
and miscellaneous programs which get installed into /usr/distbin.
Install now recognizes existing DOS partitions and attempts to install
after them.  Theoretically, it also remaps badblocks.

N.B.:  The fourth install floppy must have a clean DOS FAT.
Building the new distribution floppies is untested

TODO: Build a disktab entry for existing DOS partitions (except extended
partitions).  This would allow loading and/or extracting the distribution
files directly from the DOS hard disk partition.
1993-09-08 11:25:17 +00:00
alm
f4df553956 Added DOS partition support and maybe badblock remappping.
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).
1993-09-07 12:02:11 +00:00
rgrimes
fb1a6b9935 Added DEFCYLN, DEFHEAD and DEFSECT parameters to inst1.install, these
are set to 1024/12/17
1993-08-31 15:02:53 +00:00
rgrimes
e99d2b56e4 Added DEFBLOCKING to hold the default blocking factor after the question
has been asked once.  Disabled the ability to have different blocking
factors on different partitions since this is known to trash the vm system.

Removed many extranious echo's of the users answers.  This was probably put
in for debugging and never removed.  It was quite confusing to my test users.

Added autoscan of disk for bad blocks for bad144 type disks using the new
bad144 -s option.

Renabled the asking for verbose installation.  Why was this disabled??

Added creation of etc/disktab.install on the hard disk that is a copy
of the disktab used to create the disk with.

Added a mount -at ufs to the .profile so that all the diskpartitions get
mounted on first boot from hard disk, this is so commands that may have been
loaded into a seperate usr partition can be found.
1993-08-26 03:16:51 +00:00
alm
7ab5444375 more cleanup (e.g., root and swap partitions are mandatory, not root and /usr)
no functional change
1993-08-20 21:47:42 +00:00
alm
d4f74b1706 added big loop to allow redoing the configuration 1993-08-20 18:07:39 +00:00
alm
72eaffadda added default answers
changed units from sectors to cylinders
1993-08-20 17:17:04 +00:00
rgrimes
c439871e04 Heavily modified from NetBSD sources to FreeBSD, many fixes and enhancements,
now users cpio instead of tar.  All displayed references to NetBSD changed
to ${OPSYSTEM}, OPSYSTEM=FreeBSD.
1993-08-12 07:14:23 +00:00
rgrimes
0ab097a85d Changed printing messages to refer to ${OPSYSTEM} instead of NetBSD. Comments
left intact.

Simplified variables for drivename, drivetype, and sect_fwd.

Added rotdelay to newfs commands (defaults to newfs default except
for scsi disks where it defaults to 0).

Made the disk geometry questions more like what PC users are use to
reading (cylinders/heads/sectors).

Added minswap requirement of 8MB, recomendation of 2 x physical memory.

Added messages about what the blocking factor does.

Added message for mount point to NOT include the leading /

How to change disklabel to /sbin/disklabel due to bug in our /bin/sh,
I thought this has been fixed, but it has not!

Changed to use cpio instead of tar, since tar seems so brain dead.

Removed kernfs reference from /etc/fstab creation since FreeBSD does not
have the kernfs.  Made /etc/fstab tabbed so it looks pretty :-).

Added default of floppy drive 0 after we boot from hard disk.

Fixed path in inst1.profile, removed /usr/local/bin, /usr/contrib/bin and .
1993-08-11 12:30:00 +00:00
rgrimes
8c6b943ae8 Import of NetBSD inst1.fs floppy /.profile and /install scripts 1993-08-11 02:06:14 +00:00