Commit Graph

619 Commits

Author SHA1 Message Date
jkh
6b747bddcf Clean up the configuration stuff a bit more - we should now populate
/etc with good things(tm).

Fire off ppp with all the proper initial options set.
1995-05-26 19:28:06 +00:00
jkh
e6ff7ba685 This should fix the last of the ftp path problems.
It was all a bit more complex than it first looked.
1995-05-26 11:21:53 +00:00
jkh
b91802a259 This should enable use to find the info files properly over ftp. 1995-05-26 10:58:51 +00:00
jkh
55fd8ca345 Swap args to deviceGet(). Whoops! 1995-05-26 10:34:44 +00:00
jkh
cdf1cf6240 be nice and tell the user when the installation has completed successfully
so they don't just come back to a menu again 2 hours later with no idea
what happened with the operation(s) they had in progress.
1995-05-26 10:32:28 +00:00
jkh
c454369591 Fix a bug in the /etc populating copy.
Change root.flp from a new format CPIO archive to a tar archive.
Unless we're willing to change the main tarballs from tar format to
"newc" (or, even better, "crc") cpio format, we need to use one common
one for all and that's tar for now.  Install will now grab "root floppy"
from an ftp site if that's what you've got set.

Fix even more gripes from Poul's list.

P.S.  As soon as I get the distfiles copied over to freefall tomorrow
morning, those of you wishing to test minimal installs over ftp should
be able to do so by grabbing the boot floppy and nothing else.  Keep
your eyes open for my announcement.
1995-05-26 10:20:47 +00:00
jkh
120ce88698 Fix a bug in the /etc populating copy.
Change root.flp from a new format CPIO archive to a tar archive.
Unless we're willing to change the main tarballs from tar format to
"newc" (or, even better, "crc") cpio format, we need to use one common
one for all and that's tar for now.  Install will now grab "root floppy"
from an ftp site if that's what you've got set.

Fix even more gripes from Poul's list.
1995-05-26 10:18:12 +00:00
jkh
2e7c0ede70 Tighten up the TCP/IP dialog a little.
Simply install procedure a bit.
1995-05-26 08:58:35 +00:00
jkh
c9272a6f47 Totally revamp the TCP/IP dialog; now network selection makes a bit more sense.
Root floppy (which actually may be able to go completely away at some point
soon!) is now loadable from ftp/nfs/dos as well as CDROM and (of course)
floppy.

Fix more problems on Poul's Gripe List.
1995-05-26 08:41:52 +00:00
jkh
f2092adb87 Add CRC checking to sysinstall.
Submitted by:	gpalmer
1995-05-25 18:49:58 +00:00
jkh
74cb22cc5c Bring in all my fixes to Poul's gripe list as of last night. 1995-05-25 18:48:33 +00:00
jkh
f2fac040f8 Rename boot.flp to root.flp 1995-05-25 18:48:07 +00:00
jkh
8118d8e593 The cpio floppy is dead. All hail the root floppy.
Basically, this is just a simple name change.  People were historically
confused by the "cpio floppy", having no clear idea as to what it was
(even if they knew what "cpio" stood for) given that the name gives
one absolutely no indication as to what it's FOR.  It's about as content
free as calling it a "data floppy".  Root floppy isn't much better, but
it's got some historical weight (Linux divides their set into boot and
root floppies) and is reasonably descriptive for a floppy that comprises
the beginnings of a stand-alone root filesystem.
1995-05-25 18:43:41 +00:00
phk
170f7e3221 media_strategy.c: Add explanation for URL.
ftp.c: Clean up debug, improve error handling.
1995-05-25 06:15:38 +00:00
phk
20051e5d38 Remove Ontrack special from All_FreeBSD().
Add chunk->disk pointer.
1995-05-25 06:14:49 +00:00
phk
165302f7b1 Fix boot.flp and floppies targets.
Make cpio floppy to temp file first.
1995-05-25 06:14:10 +00:00
jkh
dde84f4e8d Cleanup. 1995-05-25 01:52:04 +00:00
jkh
369a063c9b Eliminate much redundant cruft from cpio floppy.
Make more vty devices for us to use.
1995-05-25 01:51:45 +00:00
jkh
e28ba9e188 Put back some changes that were smashed in yesterday's release tree
shoot-down.
1995-05-25 01:22:20 +00:00
jkh
4c64068729 Invoke the _right_ shell. Sigh. 1995-05-24 23:43:59 +00:00
jkh
fd2d2cc4c9 Whoops - that last feature I committed to put a diagnostic shell in
ttyv3 would work a lot better if I actually exec'd a shell! :-)
Reviewed by:
1995-05-24 23:36:50 +00:00
jkh
f12325f105 1. Spawn a shell on VTY4 and leave it lying around.
2. Bring in Gary's prompt stuff in extractGeneric.
3. Add another global for telling when we're running as init.
1995-05-24 22:37:44 +00:00
jkh
2f34e0b4e6 I tried to use sysinstall and I noticed the look used with Japanese
usage is very bad.

And I found some bugs(?) in ja_JP.*/usage.hlp.
 1. I have made typo.
 2. Mr. Hubbard didn't change about number of virtual consoles.
Submitted by:	NIIMI Satoshi <sa2c@and.or.jp>
1995-05-24 21:44:56 +00:00
phk
0d51648637 Never commit before breakfast: A typo. Sorry Gary. 1995-05-24 19:31:26 +00:00
gpalmer
2b48371da8 Close of ftp socket is now handled by FtpEOF(). 1995-05-24 18:56:03 +00:00
jkh
50b850729b Take out configSysconfig() until I get it written. 1995-05-24 18:52:47 +00:00
phk
15cca3b08a Close the transfer socket. 1995-05-24 18:35:10 +00:00
jkh
3134475f4a "Bring out your dead!" Always try to reap the children we leave around. 1995-05-24 18:21:49 +00:00
jkh
797e229422 Bring everybody up to date on my morning's work.
1. Fix a few bugs in the ftp installation code and implement proper
   ftp and network shutdown routines.

2. Clean up the menus a fair bit - add a FreeBSD configuration menu.

3. Eliminate the last of the "chaining" - the installation now does
   the most obvious thing in the most obvious cases and doesn't present
   you with more menus than you were expecting.  This makes it necessary to be
   a little more explicit in places, but it's still less confusing.

4. Add a few more safety nets for the user.  Change a few hard-and-fast
   limits to warnings (it now runs as non-root, Bruce).

5. Add descriptions for all the supported ethernet cards.

6. Make the cpio floppy extract put up a menu requesting the drive you wish
   to use if you have more than one; don't just always assume drive A.
1995-05-24 17:49:20 +00:00
gpalmer
50dca2ce42 Makefile:
Add testftp: target
ftp.c:
  add more debugging output and fix a few more problems
media_strategy:
  make the ftp system actually do something resembling common sense.
  it now works after a fashion, although it soon falls over for some
  reason.
1995-05-24 11:19:11 +00:00
gpalmer
4f17134317 Move testftp: to release/sysinstall/Makefile where it should have
been in the first place.
1995-05-24 11:17:53 +00:00
gpalmer
6e13bc90bc Jordan forgot this in his last sync commit. It's a wee shell script
to help generate the .inf info files I use during the extract process.
1995-05-24 10:46:54 +00:00
jkh
744d6a5236 Sync to latest ftp-capable sysinstall. We're getting there! 1995-05-24 09:00:58 +00:00
jkh
33ee1a22ed Align slices to cylinder boundries.
Submitted By: phk
1995-05-24 08:59:40 +00:00
jkh
206d10d33f Adjust targets to populate info files into distributions. 1995-05-24 08:59:01 +00:00
jkh
3ea9b3c64f Add a final configuration menu and the beginnings of the backing code
for it.  The ftp installation method is working well enough to test.
Many more bug fixes, says Gary.
1995-05-24 01:27:15 +00:00
jkh
f0c47d8f79 Add rule to generate the info files.
Submitted by:	gpalmer
1995-05-24 01:26:23 +00:00
jkh
9770049e29 Whoops! Forgot libkvm. 1995-05-23 23:06:22 +00:00
jkh
4daafd9af9 Remove some extraneous junk from the boot floppy. Put ifconfig and route
on there.
1995-05-23 22:59:08 +00:00
jkh
3b4136360e Cleanup pass. Remove some grit left over from ripping out
the scripts.
1995-05-23 21:47:26 +00:00
jkh
5c6b9580e4 Remove the last vestiges of the old installation method. 1995-05-23 21:33:53 +00:00
jkh
1503917ec9 Add my first cut at TCP/IP device configuration. If this works, the
ftp installation method should now function.  We'll know as soon as my
make release builds the floppies.  I'm just committing this out of my
release tree now so that it doesn't get clobbered again.
1995-05-23 18:06:16 +00:00
jkh
44080e30b5 Correct a typo in the german translation.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-05-23 16:26:54 +00:00
gpalmer
5d3ef1d1b2 The stand/scripts directory is obsolete. Don't create it in the cpio
floppy area.
1995-05-23 07:20:35 +00:00
jkh
69df29fff8 1. Bring in the first cut of Poul's ftp routines. We still don't
use them yet, but it's close (we're working on the last wrinkles
   in the CD install for now).
2. Complete the CDROM installation strategy code.
3. Simplify the distribtuion loading code.
4. General error message cleanup.
5. Write the /etc/fstab file now and split those routines into config.c
6. Clean up the menus a little more.
1995-05-23 02:41:18 +00:00
jkh
84a42a8805 wt0 -> rwt0 1995-05-22 17:39:22 +00:00
jkh
102ea06d3b Implement most of the CD extract code.
Clean up a few last display bugs.
Add sanity checking that makes sure user creates root and swap partitions.
Add swap partitions with swapon().
1995-05-22 14:10:25 +00:00
jkh
a93f9fc135 Clean up the cpio floppy target, remove the fixit floppy from my
"floppies" target - don't need to build that every time for testing.
1995-05-22 14:08:45 +00:00
jkh
3fd9f800d0 Remove rst1 - it's not made by default. 1995-05-22 06:25:26 +00:00
jkh
3af82d16aa Add tape devices to boot floppy. 1995-05-21 21:08:45 +00:00
gpalmer
e7530e37ed 1. Correct the path for distributions on the CDROM
2. Put msgDebug() calls into the genericGteDist routine to see
   why it is locking.
1995-05-21 20:41:28 +00:00
gpalmer
0dab65a6c2 Sigh - forgot the readonly flag to mount() 1995-05-21 19:51:50 +00:00
gpalmer
35e9e9dbcf I've just been told that I'm rooted on the hard disk at this point, not
on the boot floppy. Alter the paths to reflect this
1995-05-21 19:29:17 +00:00
jkh
2b8e37d1d2 Check status of the device init routine properly. 1995-05-21 19:28:05 +00:00
gpalmer
1942e9a054 Sync in my latest changes to try and find a problem with the mounting
of the CDROM
1995-05-21 19:22:43 +00:00
jkh
beea622f85 Nuke out all the NEWVERS stuff; we don't need or use it anymore.
Add Gary's info files to the cpio floppy.
1995-05-21 18:39:42 +00:00
jkh
94d2596027 1. Remove the scripts from the boot floppy - we don't need them anymore
and it saves us a fair bit of space.

2. Remove adduser and tzsetup as well - they're not needed.

3. Move ft from the boot floppy to the cpio floppy.
1995-05-21 18:29:51 +00:00
jkh
62805dff4f Try AGAIN to get the disklabel editor to do the right thing.
This is getting ridiculous.  I may have to put the clear() back
and take the performance penalty, Poul.

Tweak the TCP/IP setup menu to look a little nicer.

Add lp0 to the list of available network devices (it was found before
but simply not described properly).
1995-05-21 18:24:34 +00:00
gpalmer
b3ede05d68 Close a file descriptor leak. 1995-05-21 17:56:13 +00:00
jkh
851214ef8a Stick in another strategic clear(). 1995-05-21 17:53:27 +00:00
jkh
4a787e15cb 1. Start syncing up the network strategy code so that folks like Poul and
Justin can see it.

2. Attempt to fix the redisplay problems in label.c some more.  Not clearing
   the screen each time is certainly faster, but it's causing all sorts of
   problems.
1995-05-21 15:40:54 +00:00
jkh
0fff99e87d Add the ft program to the boot floppy. 1995-05-21 13:54:02 +00:00
jkh
24be6b92a9 Correct a stupid typo I introduced in adding CD devices. 1995-05-21 13:36:13 +00:00
jkh
79158edd57 Add device entries for CDROM devices to boot floppy.
Increase number of inodes slightly.
1995-05-21 10:33:20 +00:00
jkh
1790211a55 Correct a display bug that Poul introduced with his last round
of optimizations.  Add a check to make sure that root filesystems
are at least 20MB in size (this is just a thumbnail approximation,
and we can revise it later if necessary).
1995-05-21 10:16:10 +00:00
jkh
22783db149 Reverse a boolean condition that prevented the user from disabling
a distribution fetch.
1995-05-21 10:05:17 +00:00
phk
048a5f2fc5 Fix a typo, now there should always be an active slice. 1995-05-21 07:47:24 +00:00
phk
5574c42ac8 The latest batch from me. Still some screen anomalies (One could consider
the entire libdialog one such :-( ) but functionally ok I think.
1995-05-21 06:12:44 +00:00
phk
f97e95c7b0 label.c: wizard mode now returns;
disks.c: clrtobot() so that deleted stuff disappears.
disks.c: offset is signed (for OnTrack diskmanager)
system.c: don't setbuf(stdout,0), it's too slow.
1995-05-21 04:34:12 +00:00
phk
bba1428e2f Make a fixit.flp target too.
Improve the search code for the -u # argument to newfs.
1995-05-21 03:20:05 +00:00
phk
b5bcdbe42d Make newfs options work on rootfs.
Add size argument to new_part, so it can come up with a good default for newfs.
Fix (possibly) a dialog botch after label.c's wizard mode.
Make vsystem even smarter abour crunched binaries (what a speedup!)
(You need to recompile crunchgen !)
1995-05-21 01:56:03 +00:00
phk
1a410e1dc4 Now cpio works for me. (it was Mostly confusion about when the chroot
happened)
Make vsystem crunch aware in an intelligent fashion.
make the boot.flp target more specific (and faster).
1995-05-20 23:33:14 +00:00
gpalmer
3e05eefc05 #if 0 out PHK's code until we can find a way of making it crunchgen
dependant so that standalone builds aren't hosed.
1995-05-20 22:47:43 +00:00
jkh
5973a46e5a 1. Add MBR type menu to take it off of Poul's "gripe sheet".
2. Syntax correction from Andrey.

Good night! :-)
1995-05-20 20:30:12 +00:00
jkh
5b4364e432 Don't clear the screen for every redraw in the disklabel and
partition editors (ugh).  Fix an utterly bogus message (no arguments :)
in dist.c.  This should all make Poul a little happier and slide in
before the next CTM update window.
1995-05-20 19:22:21 +00:00
phk
8874835086 Change vsystem to know that the shell is crunched in.
Sanitize a couple of messages.
1995-05-20 19:12:13 +00:00
phk
7ee584e87b Do not allocate the first track. 1995-05-20 19:11:44 +00:00
gpalmer
51b03e481e Bring in my latest changes. The CDROM strategy should now work, and a
(hopefully) generic fs extraction system is in place. Now the other
methods :-(
1995-05-20 18:38:39 +00:00
jkh
35f00efaaa Fix a few message bogons. 1995-05-20 18:37:03 +00:00
jkh
806de24554 Misc cpio evil. I think I'm going to start working locally and just deal
with the diff/CVS hassles - this represents far too many CVS commit
messages for you folks, and trying to document each and every iteration
of the code is a hassle (and not very useful at that).
1995-05-20 16:22:42 +00:00
jkh
f00e58217f Hmmm. Try the raw floppy device! This failure mode is a bit strange. 1995-05-20 15:49:53 +00:00
jkh
6066999b5d Whoops - copy_self() was going to the wrong place!
Use proper floppy device names.
1995-05-20 15:47:19 +00:00
jkh
c7364c609c Use ppp0 for all serial devices. It's somewhat kludge, but at
least accurate (we only have one ppp device on the floppy).
1995-05-20 14:36:39 +00:00
jkh
4a304ce1a0 Try again to get cpio_extract() to work. Also fix the bogon
I introduced with msgNotify() again.  Sigh.  I'll get it looking
correct someday!
1995-05-20 14:05:31 +00:00
jkh
f00ac5162a Make Gary happy. 1995-05-20 13:52:53 +00:00
jkh
750d9d641f Reviewed by:
Submitted by:
Obtained from:
1995-05-20 13:49:47 +00:00
jkh
27dccbcefb Correct the name of the release notes file. 1995-05-20 13:36:44 +00:00
jkh
d27bb5a137 Clear the screen on msgNotifys.
Don't notify in vsystem() - it obscures the original message.
Put some debugging code into cpio_extract() so that I can see
why it doesn't work now. :(
1995-05-20 13:24:35 +00:00
jkh
0a57ef9d20 Don't call mediaVerify() in quite so many places. 1995-05-20 11:13:58 +00:00
jkh
313edfd29f Fix the DOS discovery code to now re-allocate another virtual device if
it's called multiple times in a row.  Add a new device type "DEVICE_TYPE_DOS"
so that we can look up an previous results.
1995-05-20 11:10:35 +00:00
jkh
3b6a142d8d 1. Fix a pathological bug I introduced in msgInfo(). Right idea, wrong
implementation.

2. Totally rework device registration.  It's about half the size and
   more powerful now.

3. Add DOS discovery.

4. Start filling in some of the strategy routines.

5. Another clean-up pass over the menus.

6. Make wizard code use Disk typedef.

If I can get the first strategy routine finished tonite, we should have a working
install (from ftp, at least) this weekend.
1995-05-20 10:33:14 +00:00
jkh
b00009a29a Totally re-work cpio_extract.
Erase the annoying "Command output is on debugging screen" message
when it's time to switch back.
1995-05-20 08:31:43 +00:00
jkh
b699cf290d Correct a few wording bogons in the menus.
Make notify NOT wipe the dialog off right after putting
it up.  Whoops.  Kinda defeated the purpose! :-)
1995-05-20 07:50:20 +00:00
gpalmer
b1cb8f2a51 Make Jordan's ``half baked'' code compile so that make release's aren't
stopped dead in their tracks. Also add the beginnings of my
distribution extraction code in media_strategy.c
1995-05-20 03:49:10 +00:00
jkh
d63a70f78f This doesn't work - the extract code is half-baked. I commit it only
so that Gary can sync to it before I go to bed.. :)
1995-05-20 00:13:14 +00:00
jkh
f7060dc1d9 Put find on the boot floppy. Don't ask. 1995-05-19 21:31:52 +00:00
jkh
d36493b3dc More assorted verbosity. Also don't log informational messages. 1995-05-19 21:30:35 +00:00
jkh
1950717418 Make _DIST_USER use the right flag. 1995-05-19 18:50:59 +00:00
jkh
3ff4391cb7 Be more verbose now that we're getting ready to actually extract. 1995-05-19 17:19:39 +00:00
jkh
669a40aaf4 XF86VGA16 -> XF86VG16 1995-05-19 17:11:07 +00:00