Commit Graph

955 Commits

Author SHA1 Message Date
leo 7b0b58d7e3 12 -> 13 1997-12-10 09:38:05 +00:00
phil ead95231ed pc532 partitions and md stuff. 1997-12-10 04:36:19 +00:00
ender 38233ad6b9 o Delete a reference to the non-existent intro(5) 1997-12-08 01:10:21 +00:00
ender 5663133fab Cleanup a minor nit 1997-12-07 08:49:43 +00:00
jonathan 00a23f52d7 Delete implemented TODO items from the for-1.3 list.
Note special-purpose delay after run_prog() for untarring sets.
1997-12-07 03:03:19 +00:00
pk 929de9acc4 Install the `GENERIC_SCSI3' kernel as promised by the release notes. 1997-12-05 22:09:09 +00:00
bouyer 5423c09ec6 Sync with .eng versions + correct some spellings/wording. 1997-12-05 17:37:41 +00:00
phil 00b12cbbd6 Ping the right host. (From Matthias Pfaller.) 1997-12-05 17:19:48 +00:00
simonb b0b1d20a3c Change the tar command that copies the diskimage files to the target
disk to use reletive pathnames to stop the "removing /" warnings.
Fixes pr#4579.
1997-12-05 14:55:09 +00:00
simonb c483af0a08 Fix typo in partition overlap checking - the inner loop check for
boringpart used the outer loop variable.
1997-12-05 14:46:01 +00:00
jonathan 3722de06d9 Put shell quotes around FTP URLs in case of shell metachars in passwords.
From PR #4580.
1997-12-05 14:26:27 +00:00
jonathan d7afdff3d0 * Add main menu option to reinstall sets or install additional sets.
(like upgrade but without trying to save etc.

* Add option to setls0urce menu to look in an already-mounted (local)
  directory.  Change `local fs' option to say umounted local fs.

* Change extract_file() to check that a tarball actually exists
  and give an explicit non-curses warning if it doesn't. (see above.)

* GNU tar returns a successful status if its gunzip child dies.
  Add short sleep() after tar commands in case of undetected errors.

* Change set-source selection code (except FTP, floppy) to check
  that the mandatory set files (base.tgz, etc.tgz) exist
  in the selected directory.  If they don't, warn the user and
  prompt the user to  change the selected directory.
  Give the user the option to explicitly continue even if
  base.tgz or etc.tgz not found, just in case.

* Change extract_file() to keep count of set unpacks that succeeded
  or failed. (Unreliable, given the broken return status of gnu tar.)
  Warn the user if there are errors and abort the installation/upgrade
  if we find any.  Does at least catch Ctrl-C interrupts of unpacking.

* Make unwind_mounts() signal-safe.

* Sense of target_verify_* is broken. Replace with predicates that
  return 1 iff the file or directory exists.

* Fix upgrade tests for existing etc.old (see above) before saving
  target /etc as /etc.old.

* Other detail fixes.
1997-12-05 14:00:59 +00:00
simonb 424f55f4b5 Add a cleanup function (set with atexit()) that shuts down curses nicely
and unmounts any filesystems left mounted when sysinst exits under any
circumstances.
1997-12-05 13:38:59 +00:00
bouyer 33e8f8cecb Sync with msg.mi.eng + better translation in one place. 1997-12-04 16:57:56 +00:00
jonathan ead082ab43 tar.gz -> .tgz as per release(7).
Clarify English text of localfssource: it's for an un-mounted
local filesystem, not an already-mounted pathname.
1997-12-04 13:24:30 +00:00
jonathan 7bd6655894 Add check for overlapping partitions:
* Add `partinfo' type, for description of a single partition,
   so we can pass labels by reference..
 * Add label.c with label initialization, naive overlap-check code,
   and a UI entrypoint edit_and_check_label() which iterates through
   checking a label for overlaps, and if any, giving the user the choice of
   fixing them or punting back to the main menu.
 * Change return type of md_make_bsd_partitions from void to int.
   Return 0 if the partition has problems (or the user gave up on it)
   and 1 if the partition is completed and looks OK.
 * Change install() to check return value of md_make_bsd_partitions().
   If it returns zero,  print an `abort' message and return to main menu.
 * Add label.c to all ports' Makefile.

MD code tested on pmax and cut-and-pasted to other ports.
1997-12-04 11:27:56 +00:00
jonathan fc3fa7cd7f Implement TODO item to unwind target mounts on completion:
* Add mount_with_unwind() that adds mountpoint to a LIFO queue
    of  mountpoints to undo on error.   Use in target_mount().
  * Add unwind_mounts() which traverses the LIFO queue and unmounts
    filesystems, silently ignoring errors.
  * create toplevel() function which displays banner message and
    calls unwind_mounts().
  * change toplevel menu to call toplevel() instead of inline banner.

Where to do unwinds needs more thought.  Perhaps we should only unwind
if an upgrade or install appears unsuccessful, so after a successful
install, the target is mounted (e.g., for upgrading /etc/rc.conf).
1997-12-04 09:05:35 +00:00
mikel 180f0a28eb add devices supported by cy, guspnp, and joy drivers to list; note
that APM is not included in INSTALL kernels
1997-12-04 07:19:27 +00:00
jonathan 6266fb93be Quote disktab(5) entry name so that label names with spaces
(e.g., "bsd disk") work CVS:
1997-12-02 11:00:59 +00:00
hubertf ca66e22a4a add etc/mtree/BSD.x11.dist 1997-12-02 09:44:33 +00:00
mikel c393edcd6d exclude ed(1) and init(8) manpages 1997-12-02 07:58:44 +00:00
jonathan 4b1dd00797 Fix target_already_root() check: is_active_rootpart() takes a
string like "sd0a", and compares it against mounted_rootpart(),
which returns a string like "/dev/sd0a". For now, prepend "/dev".
1997-12-02 03:02:29 +00:00
ender b26a46669b o Noted how to setup for X
o Brought legal up to date finally
o General cleanup
1997-12-02 02:05:09 +00:00
mrg 9a52eaff24 clarify and expand swap config. 1997-12-01 13:47:26 +00:00
mrg 1a9a22faa7 move compat issues section after the "what's new" section. add swap compat note. 1997-12-01 13:35:28 +00:00
bouyer 8451cdbdb3 iy (Intel etherexpress pro/10) is on the install floppy. Also update I/O
adress.
1997-12-01 09:55:17 +00:00
veego 5be326ee70 Remove the 13 from sets13. 1997-11-30 13:12:04 +00:00
veego 6f94009790 Remove the 13 from sets13 and correct the file sizes. 1997-11-30 13:06:33 +00:00
is 7918303dcf OS 3.1 ROMs are (usually) 40.68 or 40.70, but never 41.xxx 1997-11-30 12:54:52 +00:00
perry 7a3689792b bring closer to reality (but still needs much work) 1997-11-30 06:30:30 +00:00
fvdl 0cd2d70c37 * Check for an existing MBR not by looking at the geometry, but by looking
at used partitions. fdisk may report the number of cylinders > 1024
  correctly if no translation is used.
* Print out the end of the partition as well as the size when editing things.
* Enable the user to specify the BIOS geometry if he/she wishes.
* Fix 1023 / 1024 mixup. The reason BIOSs will return 1023 is an old IBM
  convention to use the last cylinder as diagnostic cylinder. The user
  can still skip the last ('real') cylinder if specified.
* Make some messages more verbose.
1997-11-29 21:49:13 +00:00
perry 66d732b062 remove ${REV} from floppy names per new practice. 1997-11-29 21:18:58 +00:00
veego 8da5f99663 Add the hunt link in ./usr/games 1997-11-29 20:13:37 +00:00
perry b4a9a7ae61 sync to reality 1997-11-29 20:07:26 +00:00
jonathan 9b4334217f Change ".tar.gz" tarball suffix to ".tgz", per release(7). 1997-11-27 11:05:25 +00:00
bouyer ffd59152fd French version of the sysinst messages, contributed by Stephane Engel
<steph@Inox.darh.ensta.fr>. Just put LANG=fr in Makefile.inc to
use them.
1997-11-27 10:10:54 +00:00
bouyer f5fee9d6a1 French version of the sysinst messages, contributed by Stephane Engel
<steph@Inox.darh.ensta.fr>. Just put LANG=fr in Makefile.inc to
use them.
1997-11-27 10:10:05 +00:00
lukem 0be3fc95e2 note amanda 2.4.0 isn't compatable with earlier versions 1997-11-26 22:21:41 +00:00
matthias e535e38c1e add autoconf.h, conf.h and kcore.h to usr/include/machine 1997-11-26 21:24:42 +00:00
matthias 47eca6f41b usr/mdec/zboot.o is no longer existing. 1997-11-26 20:58:24 +00:00
phil 1e785c32c4 Reworked partitioning issues for i386, closes PRs 4520, 4534, 4536.
Other tweeks to make install better.
1997-11-25 20:34:59 +00:00
ender bfcf6eb3bc o Fix some lossage from the last commit
o Capitalize Ethernet
1997-11-25 17:42:20 +00:00
pk 96f13f7ed6 * Fix a typo.
* Present option to configure a swap device (a bit rude.. we only offer
  partition `b', like we only consider `a' for root)
1997-11-25 12:29:33 +00:00
thorpej 75dd009b1d Update for the lay-of-the-land as described in release(7). As such, move
all pathname-on-server related definitions to MI code, since they are now
defined to be consistent across all platforms.  Also, nuke the "rels" global,
since release numbers are now always specified in "long form", i.e. 1.3A
vs. 13A.
1997-11-25 06:53:07 +00:00
thorpej 5cb04dc65b Add release(7) 1997-11-25 05:50:52 +00:00
scottr 1a43a84584 Finish a note left out in previous: make sure the user knows
not to unpack the distribution files on their local disk when
downloading, and provide a pointer for how to disable this with
Internet Config.
1997-11-25 04:49:14 +00:00
scottr c2d32ec031 Resolve conflicts that somehow got committed (mmmm, CVS); add several
noteworthy contributors to the legal document; fix a few unclear
statements I noticed along the way.
1997-11-25 04:36:33 +00:00
thorpej 01278747a2 Prompt for keypress after FTP failure, so we know what went wrong.
From Havard.Eidnes@runit.sintef.no, PR #4521.
1997-11-25 00:24:52 +00:00
lukem bed4934d1f add COMPATIBILITY ISSUES section. first item; AMANDA vs dump(8) 1997-11-24 23:03:38 +00:00
lukem 0b8707f58f use bsd.prog.mk so that objdirs and other niceties work 1997-11-24 22:38:42 +00:00
ender 43301221ff o Updated for new release(7) directory hierarchy
o Noted procedure for configuring /etc/rc.conf on first boot
1997-11-24 18:15:11 +00:00
mrg 724af928a7 remove man8/alpha/installboot_cd9660.[08] 1997-11-24 06:03:27 +00:00
mrg 1f605c94eb move games score files into etc so we don't clobber them 1997-11-24 01:47:07 +00:00
perry 64984f7821 remove /var/games/save 1997-11-24 01:29:01 +00:00
perry 59a1833892 add several dhcp related pages 1997-11-23 23:47:59 +00:00
veego f1b5a13b25 Add ipresend(1). 1997-11-23 23:18:01 +00:00
veego 981b6338dd Add mkfilters(1). 1997-11-23 22:29:44 +00:00
veego c0005df0ad Add /usr/share/examples/ipf/mkfilters 1997-11-23 22:28:46 +00:00
pk d670200ef2 Update. 1997-11-23 17:51:08 +00:00
fvdl 1dc593ecc4 Fix 3COM 3x90X and Intel EtherExpress 100 info. From Matthias Scheler. 1997-11-23 14:15:52 +00:00
simonb 33960f8371 Load defaults for hostname, IP address and netmask if these are already
configured.
1997-11-22 14:16:55 +00:00
simonb 6cf76648f3 Don't try to ping a nameserver or default router if not is specified. Also
don't build an /etc/resolv.conf if a nameserver is not specified.
Fixes PRs #4548 and #4539.
1997-11-22 13:52:45 +00:00
simonb e2b222f32d If not network interfaces are found, just return without cycling forever
with no valid choices.
Fixes PR#4542 from Stephane Engel.
1997-11-22 00:29:33 +00:00
is 3ba7f21d72 Get rid of (commented out) remnant of Atari install.md md_prep_disklabel.
Add into ours (which previously did nothing) a loop which allows to look
at the existing disk label.
1997-11-21 23:04:35 +00:00
is 3abe908f1b Offer to install the X11 sets, too. 1997-11-21 21:59:46 +00:00
is 45b7fc74ce If we're (I)nstalling, add the same loadkmap call we use for the install
script to the end of rc.local.
1997-11-21 21:16:41 +00:00
simonb b80b4d1cd0 Catch SIGINT and do a endwin() to leave tty in a sane state. 1997-11-21 12:08:06 +00:00
simonb cd110ecf63 Use a default of 32MB for the root filesystem with a custom partition
layout.
1997-11-19 14:06:47 +00:00
simonb de0e348150 Add myself to donations list 1997-11-19 12:21:57 +00:00
simonb 59391eaa69 Mention r4000 based DECstations in the "significant changes" section. 1997-11-19 12:07:23 +00:00
bouyer 9e88e02f86 Add "TI TravelMate 5000 series laptop docking station's ethernet board" to
the list of supported harware by the TL driver (per William Coldwell).
1997-11-19 09:53:20 +00:00
mrg 1eeb8e6b5f move hunt under dm(6) 1997-11-19 07:07:46 +00:00
cjs 3ae5aa45df Forgot a subdir. 1997-11-18 05:16:50 +00:00
simonb 2ddb44e7f3 Backout previous chance with distrib set location. The should be done
in a MI manner when we work exactly what that is...
1997-11-17 21:27:47 +00:00
carrel 10a8b8d395 machine/mtpr.h does not exist here. Nuke it. 1997-11-17 17:42:48 +00:00
veego bc97256555 Sync with the reality of the trunk. 1997-11-17 16:25:43 +00:00
cjs 2429baaaa7 Add support for bootable floppy for installs. 1997-11-17 09:47:07 +00:00
cjs 6a623f7271 Add <strings.h> where necessary, and remove support for tags. 1997-11-17 03:07:52 +00:00
cjs f74fa34ebe Don't need real regexps on search. 1997-11-17 03:00:16 +00:00
cjs 963d5659fb Import of berkeley more(1) for use on install disks, because it's
considerably smaller than less(1), our replacement for it.
1997-11-17 02:37:15 +00:00
carrel bace2cdf6e Create _S_VERS to hold output of `osversion.sh -s`
Replace all explicit version numbers with _VER or _SVER_S
for automagic expansion
1997-11-17 01:39:33 +00:00
cjs 85527948f6 Add -DSMALL versions of ftp and sh for install disks. 1997-11-17 01:35:57 +00:00
simonb 3c7dec974a Add contributors and copyrights from all pmax specific files. 1997-11-16 12:55:50 +00:00
simonb cd1152e9eb Change the tar command that copies the diskimage files to the target
disk to use reletive pathnames to stop the "removing /" warnings.
1997-11-16 12:53:07 +00:00
simonb 06f521afad Distribution sets are in ..../binary, not ..../binary/Tarfiles 1997-11-16 12:50:05 +00:00
simonb c8f66d4491 Use bootp or dhcp to get some network services? (hostname, domain
name, name servers...)
1997-11-15 11:09:45 +00:00
simonb b2ba0b82ff Fix typo in a comment. 1997-11-14 23:47:49 +00:00
veego 35168e8100 md_native_fsopts don't need a '-', because install.sub use this
variable for '-o $md_native_fsopts'.
marmoset <pygmymarmoset@geocities.com> noticed the problem with
mounting a ados filesystem.
1997-11-14 10:09:08 +00:00
simonb 5a662afa53 A few more ideas. Clean SIGINT handling, loading from mounted
filesystems and from maximum entropy - better error message handling
1997-11-14 09:32:24 +00:00
simonb 0768a55cf8 Add a token legal file so the distrib notes build on a pmax. Bigger
and better legal notes to hopefully come soon.
1997-11-14 01:03:55 +00:00
phil a4f785ec69 Fix va_start call, PR 4477. 1997-11-13 17:26:25 +00:00
chopps 3749cf660a fix couple typos 1997-11-13 14:38:01 +00:00
leo f1f734f05a Save +/- 70Kb on miniroot.....
- Use init_s
  - Link etc/pwd.db etc/spwd.db
1997-11-13 13:56:52 +00:00
veego b8356b176f - s/samples\/ipf/examples\/ipf/ and remove the ./usr/share/samples entry
- Added examples files from the base set
- Added missing ipf examples from the import of 3.2
1997-11-13 09:45:48 +00:00
veego 5846c8699a - s/samples\/ipf/examples\/ipf/ and remove the ./usr/share/samples entry
- Move the /usr/share/examples 'files' to the misc set
1997-11-13 09:44:51 +00:00
jonathan ec0c3a8489 Add README.pmax. Delete obsolete Xsfbpmax server (Xcfbpmax handles both.) 1997-11-13 05:01:46 +00:00
simonb 0c8e3514d7 Reposition some menus (the "change a partition" and "change distribution
sets" menus) so that the bottom of the menu doesn't go below the 24th
line of the screen.
1997-11-13 04:23:39 +00:00
thorpej 7ef7ed7c0b Add ./usr/share/examples/... 1997-11-13 03:30:08 +00:00
jonathan 35fa360c0b * Create /mnt2 before unpacking sets, in case it's not on install media.
* Create target /kern after creating target /etc/fstab entry for /kern.
* Check for more  files in target when done: /etc/{rc,rc.subr,conf}
* Clean up warning exerciser.
1997-11-13 03:06:44 +00:00
jonathan bf4782e7cf Rephrase intro text to mention sysinst by name, mention upgrades, and
to fit in 80 colums even during _ALPHA.
1997-11-13 02:44:34 +00:00