Commit Graph

121 Commits

Author SHA1 Message Date
Yoshihiro Takahashi
552112cadd - Added support for installing boot0 and boot0.5 for PC-98.
- Cosmetic changes.
2000-08-12 14:20:31 +00:00
John Baldwin
fcb7c05133 - 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
Yoshihiro Takahashi
a40915d750 - 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
David E. O'Brien
13c6acf19d 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
Jordan K. Hubbard
7140b4def8 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
Jordan K. Hubbard
61547e027b 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
Jordan K. Hubbard
7025aeb16e 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
Jordan K. Hubbard
404f4d4100 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
Poul-Henning Kamp
4a59084cee Remove BAD144 support. 1999-11-27 14:33:07 +00:00
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