Commit Graph

50 Commits

Author SHA1 Message Date
Poul-Henning Kamp
a8a4ffd402 Various changes to the 1.1.5.1'sh install procedure. 1994-10-17 02:32:41 +00:00
Poul-Henning Kamp
3626ca509d Some changes to the old floppies to handle the new /etc/init's way of doing
things.
1994-10-16 20:38:27 +00:00
Poul-Henning Kamp
a5faf1be52 disklabel needs the "full-disk" partition 1994-10-15 07:56:02 +00:00
Rodney W. Grimes
b556ffbab0 1. Change all references for the kernel from /386bsd to /kernel.
2.  Make this say it is 2.0.0 (Development).

3.  Update the stty commands to say ^H for erase.

4.  Update the disklabel commands to use the new 4.4 syntax.
1994-09-15 04:46:16 +00:00
Rodney W. Grimes
57922c2a6c $rotdelay is now initialized to "-d 0 -n 1" and no longer changed based
upon disk type.  In far more cases than not this is the optimal setting
for any disk drive made after 1990.

This now means all installs will have the disks newfs'ed with either:
newfs -b 8192 -f 1024 -d 0 -n 1
or
newfs -n 4096 -f 512 -d 0 -n 1
depending on what the user chooses for the blocking factor.
1994-06-29 06:46:02 +00:00
Jordan K. Hubbard
4d7351f7d4 Commit Scott's changes to the bad144 stuff - bad144 takes a list of bad
blocks as *multiple* arguments, not one argument (as was incorrectly being
passed).
1994-06-28 05:56:13 +00:00
Jordan K. Hubbard
f150b420d2 Commit a small change to allow FreeBSD to install on a different drive.
The kernel configs already support this, so with a boot floppy or a utility
like booteasy, the user should be able to install and boot off the second drive.
Hurrah.
1994-06-20 06:05:16 +00:00
Jordan K. Hubbard
abe5ea49b0 1. Bump minimum root size to 8MB (we need that much now).
2. Bump version number to 1.1.5 for impending release.
1994-06-15 19:23:33 +00:00
Rodney W. Grimes
edb52a9f6d >From BETA_1_1 branch
Add missing ${cpioverbose} option.
1994-03-07 00:43:11 +00:00
Andrew Moore
27dd9a00a3 Don't sync a ro-mounted fs. 1994-03-02 00:03:41 +00:00
Andrew Moore
9bf051a923 Don't offer to mount a to-be-overwritten DOS partition. 1994-03-01 23:51:48 +00:00
Andrew Moore
2b4ff1d41e extract() is more friendly
added load_dos (just calls load_fd)
1994-02-25 23:34:14 +00:00
Rodney W. Grimes
df6193abae Make it say Preparing for dos fs instead of Initializing.. the later sounds
scary to some people!
1994-02-23 15:43:20 +00:00
Rodney W. Grimes
64eb68b1e5 Major hackery to get the 1.1 Beta floppies building. Have a special
pair of crunched binaries that are not built by this, but other than
that it is back to an automated procedure.  So many changes it is
hard to describe.
1994-02-21 21:52:00 +00:00
Rodney W. Grimes
90ce3e3585 Upgrade to 1.1 release level, add procfs entry on fstab creation. 1994-02-09 05:26:16 +00:00
Rodney W. Grimes
c6d9092e16 One more reference to fdXa removed.
Run fdisk -u after disklabel just incase we wrote block 0, this should fix
the bogus partition table when the install is to the whole disk.
1994-02-08 09:37:28 +00:00
Rodney W. Grimes
8c18e419c6 Update to use /dev/fd0 instead of /dev/fd0a. 1994-02-08 08:45:10 +00:00
Andrew Moore
32c96f840b Removed option to install FreeBSD alongside an existing *BSD
paritition, since disklabel cannot deal with this...
1993-11-12 04:58:31 +00:00
Andrew Moore
a59a0c2552 fixed conditional that caused install to see a DOS partition when none exists. 1993-11-08 03:58:31 +00:00
Rodney W. Grimes
79334ce243 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
Christoph Robitschko
5e53051768 Allow install floppy to be placed in the B: drive. 1993-10-16 09:12:08 +00:00
Andrew Moore
3e79ffa604 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
Andrew Moore
2712db44d1 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
Andrew Moore
3bef766f61 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
Andrew Moore
a1ab210660 Added /usr/distbin to PATH 1993-09-18 08:20:32 +00:00
Andrew Moore
9483b7bb0e 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
Andrew Moore
f814ff388d 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
Andrew Moore
02f990bac0 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
Rodney W. Grimes
06c789f803 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
Rodney W. Grimes
a2f17cb4ff 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
Rodney W. Grimes
734916e02f Removed /usr/contrib/bin from PATH 1993-09-12 21:40:19 +00:00
Andrew Moore
778cac5fae added a couple echo's 1993-09-11 08:55:41 +00:00
Andrew Moore
aecc66379a Forgot to export PATH 1993-09-11 08:41:03 +00:00
Andrew Moore
fde3cccae0 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
Andrew Moore
752c095793 remove \'s from where they shouldn't be. 1993-09-11 08:12:28 +00:00
Andrew Moore
39da311037 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
Rodney W. Grimes
d92c47dabf 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
Andrew Moore
356f5306c2 Combined some conditional statements now that `test' works correctly. 1993-09-09 14:04:20 +00:00
Andrew Moore
378e47a293 Mostly cosmetic changes.
Added notes installing os-bs.
1993-09-09 13:52:36 +00:00
Andrew Moore
62da7cbc8b Adding missing sync after reading fourth install floppy.
Added /usr/distbin to path
1993-09-08 20:49:13 +00:00
Andrew Moore
93f0f2e040 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
Andrew Moore
101c9192f8 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
Rodney W. Grimes
36502580db Added DEFCYLN, DEFHEAD and DEFSECT parameters to inst1.install, these
are set to 1024/12/17
1993-08-31 15:02:53 +00:00
Rodney W. Grimes
f821ac3089 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
Andrew Moore
c0bed0d8ae 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
Andrew Moore
aeb14f134e added big loop to allow redoing the configuration 1993-08-20 18:07:39 +00:00
Andrew Moore
104464e053 added default answers
changed units from sectors to cylinders
1993-08-20 17:17:04 +00:00
Rodney W. Grimes
44a8c7b9da 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
Rodney W. Grimes
ac3c7d3cff 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
Rodney W. Grimes
6ad76e8d8e Import of NetBSD inst1.fs floppy /.profile and /install scripts 1993-08-11 02:06:14 +00:00