Commit Graph

127 Commits

Author SHA1 Message Date
joerg
be8b30a28f ``An undocumented feature is a bug.''
Turn on my asbesto suit, and document the DD and Wizard mode menu
keys.  It's a nuisance to always have to look them up in the source
code when needed.
2001-04-18 20:26:28 +00:00
nyan
de44a59bfa Moved '#endif' to correct position. (previous commit broke pc98 support) 2001-03-15 12:33:52 +00:00
jkh
3ea436251d Really finish softupdate setting from the label editor and fix
a few cosmetic problems:

o Allow it to work with scripts (see man page or install.cfg file).
o Preserve old softupdates flag across newfs toggles
o Clean up partitioned/labelled flag handling
o Don't ask for MBR choice again if you've already written it out.
o Actually document the new features.
2001-03-12 10:18:54 +00:00
peter
c47990530f Backtrack a bit.. Put the dangerously dedicated option under a
non-advertised option (F = "FreeBSD only"), and leave the A key with
standard partitioning.  It seems people still want a runtime backdoo
to get to dangerously dedicated mode.
2001-01-15 08:15:19 +00:00
peter
6625c7253a Don't invite trouble by waving the 'Dangerously Dedicated' (DD) option
at people.  This has been sitting in my tree for a few months now.  I
have spoken with quite a few folks about this and the support for doing
this was pretty strong.  I dont remember names though, so I cannot share
the blame :-(.  Note that this does not *remove* DD mode, it just stops
waving it at new users.  You can still set it via config files etc, and
the bootblocks and kernel still support it.  You can still use disklabel
to make true DD disks.
2001-01-15 05:29:53 +00:00
jkh
1c116fe777 Adapt sysinstall to use the new msgNoYes() function which assumes
no as a default.  Sysinstall should be both less dangerous and less
annoying as a result of this change, though that's just my opinion
(since they're the defaults which annoy ME the least :).
2000-12-14 02:49:02 +00:00
nyan
f1635adac5 - Added support for installing boot0 and boot0.5 for PC-98.
- Cosmetic changes.
2000-08-12 14:20:31 +00:00
jhb
f6d57357f3 - Support MBR boot loaders that are larger than one sector size.
- Axe the 1024 cylinder checks as they are no longer relevant.
2000-07-12 18:08:27 +00:00
nyan
e3f21ecb18 - Remove obsolete PC-card boot.flp hack. It was for making both PC-card
boot.flp and plain boot.flp.
- Clean up crunchgen related routine.

- Add PC-98 support.
  TODO:
    o Documentation
    o Fix some messages for PC-98
    o Decrease the size of fixit.flp to 1.2MB
    o I18N (See: http://www.jp.FreeBSD.org/BootAsia/index.html)

No response from jkh
2000-06-05 13:17:23 +00:00
obrien
72914385f4 Add the 'Z' key to the slice editor. Hitting it toggles the units the
sizes are displayed in.

Ok'ed by:	murray
2000-05-26 00:38:20 +00:00
jkh
ba590929ec o Add support for loading the rsaref or rsaintl packages, depending
on locale.

o Allow use of "G" in label editor to stand for gigabytes. This
  is actually an unrelated patch which I meant to commit separately
  but what the heck, it's late.

Partially submitted by:	phk
2000-02-29 10:40:59 +00:00
jkh
38acf2a74f In retrospect, msgNotify() should leave its contents on the screen
longer to give the user something to look at while things are happening.
Change it to do so and insert the appropriate screen saves elsewhere.
1999-12-17 02:46:04 +00:00
jkh
4084cdc560 Completely rip-out and redesign sysinstall's refresh model as well
as redoing all the menus to have proper, or at least non-hallucinogenic,
keyboard accelerators.

This requires my recent update to libdialog to work properly and will
probably also exhibit some other "interesting" behavior while the last
few missing screen clears are found (which is why I'm not going to MFC
immediately).  At least now, however, sysinstall does not gratuitously
redraw random screens at the drop of a hat and drive serial console
installers out of their minds.
1999-12-14 04:25:29 +00:00
jkh
f2e58f6af5 I shouldn't have incremented PART_OFF; it was wrong and broke label
display to boot.  Also fix some various warning fluff while I'm in
here cleaning up.
1999-12-12 04:58:02 +00:00
phk
cc0e1d0be5 Remove BAD144 support. 1999-11-27 14:33:07 +00:00
jkh
aade7fffe2 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
jkh
18af399cc9 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
jkh
8ceee5cec6 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
b6784c4210 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
jkh
28cf43f876 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
jkh
bcc10fc6f1 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
jkh
45663f8ca9 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
jkh
088bb48d59 properly conditionalize for alpha. 1998-10-13 09:49:16 +00:00
jkh
f4b0ba0cab switch to proper boot0 1998-10-13 09:45:59 +00:00
jkh
2451509b71 Don't use boot2 on alpha. 1998-10-07 03:15:08 +00:00
jkh
1edfa9de81 One last alpha seat belt - never ask for an MBR boot manager. 1998-09-30 21:58:36 +00:00
jkh
14a047a8b7 Add another check to prevent user from hanging themselves on alpha. 1998-09-30 21:55:33 +00:00
jkh
f04265d7f2 Always use dedicated disk case on alpha. 1998-09-30 21:48:11 +00:00
gibbs
f471072615 Device name cleanup for CAM. 1998-09-15 10:24:46 +00:00
jkh
15e801f8f4 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
jkh
926323fd1d MF22: resync. 1998-03-23 08:36:27 +00:00
jkh
7ac25e58aa MF22: catch up with recent changes. 1998-03-23 05:59:18 +00:00
jkh
04cf7ab799 correct checks for "already written" case. 1998-03-19 15:07:20 +00:00
jkh
65f7de01f0 MF22: correct bogus failure return. 1998-02-13 08:01:01 +00:00
steve
7ee742faac Typo: PAT -> FAT.
PR:		5593
1998-02-01 05:58:42 +00:00
jkh
14dcd3e295 Fix disk counting bug.
Submitted by:	Arjan de Vet <Arjan.deVet@adv.IAEhv.nl>
1997-10-18 21:22:25 +00:00
jkh
8c8de91c06 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
jkh
bff6965ba0 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
adc301fb9f Add a hint to the FAQ regarding ``DD'' disks. 1997-09-07 14:05:21 +00:00
jkh
7b5b6c96bb 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
jkh
4034045142 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
jkh
0b4996eb1a YAMF22 1997-06-12 08:46:51 +00:00
jkh
e36d560237 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
pst
ba33b371b5 Fix null dereference if config variable not set. 1997-05-10 17:11:24 +00:00
pst
3ecba5b23e 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
jkh
ca8a48179d Sync with 2.2 and clean up some tortured english that was added. 1997-04-20 16:46:36 +00:00
joerg
17d5bede30 YAMF22 (rev 1.70.2.10, added blurb to explanations) 1997-03-11 16:27:25 +00:00
peter
34fd560164 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
jkh
0fb36a0fa1 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
obrien
4c0717bbc3 Change from using chunk_n to slice_type_name().
Reviewed by:	jkh
1997-01-24 02:26:42 +00:00