Commit Graph

112 Commits

Author SHA1 Message Date
Jordan K. Hubbard 3910e95363 Oh crud, did I ever screw the pooch! Rather than sync this with -stable,
I backed-out the changes in -current and didn't touch stable at all (I
thought I had my patch order reversed, not what actually happened).
AIEEE!  I can't even blame the crack for this one since I broke my
crack pipe a few weeks ago.  I think sleep deprivation gets the blame
for this one.

Medal for noticing this one goes to:	Jim Bloom <bloom@acm.org>
1999-09-02 00:51:16 +00:00
Jordan K. Hubbard d03dcaa779 MFC: Catch 3.2-stable sysinstall up to 4.0-current level functionality,
bringing in DHCP support.  The only thing I left out were Poul-Henning's
newfs changes since I'm not sure if he's brought the rest of that support
into -stable yet.  If it turns out that this is the case, I'll MFC those
changes too.
1999-09-01 04:29:30 +00:00
Jordan K. Hubbard 979b9153d4 Always set the MBR value. When you leave it uninitialized, it seems
like libdisk does bad things. :)
1999-08-28 12:10:13 +00:00
Peter Wemm 97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Jordan K. Hubbard 63cad5499d Totally change the way variables are accounted for in sysinstall.
Now we know which variables are internal and which need to be
backed to /etc/rc.conf.site.  rc.conf is not touched now.

Also kget kernel change information back properly and set up a loader.rc
file to use it.
1999-02-05 22:15:52 +00:00
Jordan K. Hubbard af61828f44 Adapt sysinstall more fully to the alpha (deal with proper boot signatures,
don't present label editor, etc).

Submitted by:	dfr
1999-01-08 00:14:22 +00:00
Jordan K. Hubbard 8965607263 Read in /boot contents at runtime. Assumes /boot/boot1 on alpha (which
may not yet be caught up).
1999-01-02 07:23:37 +00:00
Jordan K. Hubbard 09e17daec5 properly conditionalize for alpha. 1998-10-13 09:49:16 +00:00
Jordan K. Hubbard 762709567b switch to proper boot0 1998-10-13 09:45:59 +00:00
Jordan K. Hubbard 3246202c72 Don't use boot2 on alpha. 1998-10-07 03:15:08 +00:00
Jordan K. Hubbard 767df892d7 One last alpha seat belt - never ask for an MBR boot manager. 1998-09-30 21:58:36 +00:00
Jordan K. Hubbard b6d288b2c2 Add another check to prevent user from hanging themselves on alpha. 1998-09-30 21:55:33 +00:00
Jordan K. Hubbard b5f2852c51 Always use dedicated disk case on alpha. 1998-09-30 21:48:11 +00:00
Justin T. Gibbs c39581f667 Device name cleanup for CAM. 1998-09-15 10:24:46 +00:00
Jordan K. Hubbard 04f80d35bf Fix printf warnings and add a few casts.
PR:		7560
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1998-09-14 19:14:11 +00:00
Jordan K. Hubbard d8837e94a8 MF22: resync. 1998-03-23 08:36:27 +00:00
Jordan K. Hubbard 3d4fcaba36 MF22: catch up with recent changes. 1998-03-23 05:59:18 +00:00
Jordan K. Hubbard df87ad2d33 correct checks for "already written" case. 1998-03-19 15:07:20 +00:00
Jordan K. Hubbard 80e35f1859 MF22: correct bogus failure return. 1998-02-13 08:01:01 +00:00
Steve Price e2e5ad34fb Typo: PAT -> FAT.
PR:		5593
1998-02-01 05:58:42 +00:00
Jordan K. Hubbard 60ae49aa2a Fix disk counting bug.
Submitted by:	Arjan de Vet <Arjan.deVet@adv.IAEhv.nl>
1997-10-18 21:22:25 +00:00
Jordan K. Hubbard b09dc169b7 Separate the siamese twins that were the partition and label editor.
Now you can use one without entering the other and it will DTRT.
These changes just allowed me to do the most straight-forward new disk
installation I've ever managed with sysinstall.
1997-10-12 16:21:21 +00:00
Jordan K. Hubbard 2cbb21cfc9 Fix offset bug in partition display that made partitions of type
`linux_swap' hose the output.

Also add a (T)ype command for changing the type of a partition.
1997-09-11 17:12:08 +00:00
Joerg Wunsch 96fc32627f Add a hint to the FAQ regarding ``DD'' disks. 1997-09-07 14:05:21 +00:00
Jordan K. Hubbard 21130039d8 People have complained that this is overly chatty, and
"dangerously dedicated" mode doesn't appear to have killed
anyone in recent memory, so I agree.
1997-09-03 10:47:44 +00:00
Jordan K. Hubbard 2233edf577 1. Add a noWarn flag so that scripts can turn warnings off.
2. If hostname not set from script, bring up interactive dialog anyway.
1997-06-18 05:11:37 +00:00
Jordan K. Hubbard 9a12d3c96b YAMF22 1997-06-12 08:46:51 +00:00
Jordan K. Hubbard 8e45ec2c8c Resurrect / implement some of the more esoteric scripting features,
such as partitioning a disk or overriding an interactive prompt.
1997-06-05 09:48:03 +00:00
Paul Traina fae279d847 Fix null dereference if config variable not set. 1997-05-10 17:11:24 +00:00
Paul Traina eeb3219eef Add in some more config file support -- add variables to shut up
sysinstall about the dangerously dedicated message, and other
variables to allow pre-configuring the distribution sets.

Still todo: add a variable to define an initial set of packages that
should be loaded.
Reviewed by:	jkh
1997-05-05 05:16:03 +00:00
Jordan K. Hubbard 0aa615d28d Sync with 2.2 and clean up some tortured english that was added. 1997-04-20 16:46:36 +00:00
Joerg Wunsch 4b3d276343 YAMF22 (rev 1.70.2.10, added blurb to explanations) 1997-03-11 16:27:25 +00:00
Peter Wemm b97fa2ef50 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
Jordan K. Hubbard 76d01c999a This is a patch that makes some of the "partitions" --> "slice" to be
more consistant in our use of the terms for differentiation between PC
partitions and traditional BSD partitions.

Submitted-By: obrien@cs.ucdavis.edu (David O'Brien)
1997-01-24 07:47:17 +00:00
David E. O'Brien ae462d03db Change from using chunk_n to slice_type_name().
Reviewed by:	jkh
1997-01-24 02:26:42 +00:00
Jordan K. Hubbard 3b9b7e6177 Now that I know which parts of the installation really need it (since
there's no menu display bug to work around now), be far more selective
in my use of DITEM_RECREATE (which is slow and involves much screen I/O).
1997-01-17 08:47:13 +00:00
Jordan K. Hubbard 2974f2c077 Cope with Open_Disk() failure much more gracefully. 1997-01-16 14:42:21 +00:00
Jordan K. Hubbard 3f0d701c2d Make the bindist-only checks actually work.
Add code which theoretically should let you get a disk up from
start to finish while running multiuser, using your existing /dev
entries.
1997-01-15 07:06:39 +00:00
Jordan K. Hubbard 91188fac62 Accept emacs-style editing keys for traversal and ESC as an abort character. 1997-01-15 02:52:00 +00:00
Jordan K. Hubbard 1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Poul-Henning Kamp f8d8dfe86e Try to impreve DD mode.
Try to make 4Mb floppies work again.
1996-11-27 22:52:34 +00:00
Jordan K. Hubbard 8882073d4a Make sure current_chunk is 0 each time we enter the editor. 1996-11-07 16:40:10 +00:00
Poul-Henning Kamp 01961df54d Remove a bogon from version 1.69. Just because we say "use all disk"
doesn't mean that our geometry can be flushed down the drain.
1996-11-05 19:53:20 +00:00
Jordan K. Hubbard b11806da8c DTRT if ESC is hit in a Yes/No dialog.
Noticed-by: jfieber
1996-10-09 09:53:41 +00:00
Jordan K. Hubbard b9403756ad Correctly re-adjust current slice # when slices are deleted.
Beautify the code a little.
1996-10-06 11:40:31 +00:00
Jordan K. Hubbard 48a13090be Various cosmetic tweaks. 1996-10-04 14:53:52 +00:00
Jordan K. Hubbard 46a7b8131d Syncronize my tree so Eric can access the latest code. 1996-10-04 13:33:49 +00:00
Jordan K. Hubbard f4cd25007b First cut at a "copy userconfig changes from installation kernel to installed
kernel" mechanism.  This is just the foundation - more work follows
and will be committed over the next few hours.
Submitted-by: "Eric L. Hernes" <erich@lodgenet.com> & jkh
1996-10-03 06:01:44 +00:00
Jordan K. Hubbard 3e19bb8220 Saner screen refresh changes, part I. 1996-10-01 04:56:34 +00:00
Jordan K. Hubbard 3e8947d7aa Remove some gratutious screen saves. 1996-09-22 00:48:55 +00:00