548 Commits

Author SHA1 Message Date
jkh
7b9ea7d743 I buggered the last commit. Make sysinstall work again (^$&*!! missing
comma!).
1994-11-13 04:20:23 +00:00
jkh
cde83c584f Whoops! Update the size of the main menu to 7 items. I'm sleepy. 1994-11-13 02:06:50 +00:00
jkh
67de5d8eaa Now I know what this message is really supposed to say.. :-) 1994-11-13 01:14:38 +00:00
jkh
0669d98a63 Add hooks for a short trouble shooting document. 1994-11-12 20:34:18 +00:00
phk
72f0a6c2c9 Don't continue if we don't get a /, swap and a /usr or 80Mb in /. 1994-11-12 05:40:28 +00:00
jkh
7d0620c826 Make sysinstall deal with user interrupts properly. 1994-11-11 23:22:56 +00:00
jkh
59151de821 1. Ask the user one final time before newfs'ing his disk into oblivion.
This means that even "proceed" can be chosen now without going
   irrevokably down that path.
2. Clean up the stage5 text.
1994-11-11 07:58:09 +00:00
jkh
ad3495c912 Poul's and my idea of avoiding the last reboot at the end was
too ambitious; we can't make the transiton from install to /sbin/init
without another reboot.  Sigh..  Oh well, not that big a deal.
1994-11-08 18:44:14 +00:00
jkh
f260055f86 Detect that bininst has finished and go straight into the new system.
Reviewed by: phk
1994-11-08 14:04:19 +00:00
phk
73ad652e88 swapon had a bug. Thanks Michael, but couldn't you told me and not Jordan ?
now I have to listen to him all morning teasing me...
1994-11-08 13:40:01 +00:00
jkh
504234844c More 12th hour fixes from Ugen.
Submitted by:	ugen
1994-11-08 12:48:02 +00:00
phk
f400f6fddf Remember to set the d_type field correctly 1994-11-08 11:51:44 +00:00
jkh
fa404ed611 Change TITLE to something more rational. Make sysinstall.c use it instead
of its own hardcoded constant.
1994-11-08 11:44:04 +00:00
phk
2678bc9274 Always say the magic word at the end. 1994-11-08 10:14:19 +00:00
jkh
2b933300e4 Change Fatals to Warnings. 1994-11-08 07:44:57 +00:00
jkh
f914144b3e Fixup:
1. Don't use kernel name for headers - I'm running 2.0.1-Development,
   not ALPHA, and this messes things up.
2. The last dialog was too big, make it a little smaller.  Just cosmetic,
   while I'm in here.
1994-11-08 03:41:52 +00:00
jkh
b3497d7fb9 My last cosmetic changes. 1994-11-07 13:48:54 +00:00
jkh
65d35f2a0a Cosmetic. 1994-11-07 09:49:06 +00:00
phk
b726489c35 Always clear before we "TellEm()" 1994-11-07 04:53:23 +00:00
phk
c63f9ab050 Only Mount relative to Written disklabel. 1994-11-07 00:41:38 +00:00
phk
2f6866bfb5 Never have more than one active partition. 1994-11-06 23:33:20 +00:00
ache
3cdc22268f After fixing curses bugs use LINExCOLS in show file 1994-11-06 15:35:50 +00:00
jkh
23fb6cd17d If a file is not present, it's not an error. This means you're using the
1.2MB floppy image.
1994-11-06 11:09:18 +00:00
phk
6f05c1e02d remember to tell dialog that we leave. 1994-11-06 04:34:46 +00:00
jkh
e1cdf7f90c Retreat from the idea of using gzip'd ascii files. 1994-11-06 04:10:13 +00:00
phk
3ae26fefe1 label.c Make sure we always show 8 disk-partitions.
main.c	sanitize the logic of what we do when:

if(getpid()!=1) do stage0 & stage1  (very useful actually)
else if (floppy-marker-file is there) stage0-2, reboot
else stage3-5
1994-11-06 04:05:45 +00:00
jkh
126cfc59f8 Sigh. My error message printing was still wrong. Wipe the sleep from
my eyes and do this properly (debugging is especially difficult when you have
to burn a floppy every time you want to test your changes! :-( ).
1994-11-06 02:24:45 +00:00
jkh
d8b995a391 Don't use a shell, silly, we don't have one! 1994-11-06 01:34:14 +00:00
jkh
d73066b385 Tweak tweak.. 1994-11-06 01:16:30 +00:00
jkh
469f514e6e I misunderstood dialog_prgbox() - fix it. 1994-11-05 23:56:40 +00:00
jkh
f61da25ffa Make ShowFile() now show gzip'd text files. This should save a fair
bit of space on the install floppy.  Modify stage0 and the target names
accordingly.
1994-11-05 23:12:10 +00:00
ache
4efdfe2270 Enable back dialog_msgbox in TellEm, real problem was delwin
into edit_line
1994-11-05 23:09:26 +00:00
jkh
bec8289edc Whoops! Knew I forgot something.. Bump the menu size. 1994-11-05 08:20:54 +00:00
jkh
57081f9150 Add a chance to read the release notes, too. 1994-11-05 08:20:08 +00:00
jkh
b17742d5b7 I'm not sure if we're just supposed to fall off the end like this,
but at least return something.
1994-11-05 07:34:02 +00:00
jkh
b8a61492cb Make stage5 go either to a shell, or on to the bindist installation. 1994-11-05 07:23:58 +00:00
jkh
ab0b408b2e Make this work the way it was really supposed to - less intrusively. 1994-11-05 07:03:55 +00:00
phk
a41a416d53 Use /DISKSPACE.FAQ as help-file in the disk-editor. 1994-11-05 06:03:06 +00:00
jkh
bd82c2541d Change the logic for how error messages are printed so we can actually
see them.
1994-11-05 05:46:12 +00:00
phk
2782436747 Cosmetics: edit_line() does standend() when done; 1994-11-05 03:59:34 +00:00
phk
8e7b034f19 Added a (H)elp function to the fdisk/disklabel code, much needed, now I only
have to write the text-file it will dump on you.
Stopped using cleartoeol in AskEm(), just as a test to see if the screen
looks more sane.
Added a attempted auto-recognition of /, swap and /usr for the first disk
where it looks sensible.  Logic of this might need to be improved.
Made a "ShowFile()" which will not bomb/ignore you if the file isn't there.
1994-11-05 03:34:22 +00:00
phk
2f7789168b Fixed a ghastly mistake. Edit_line() would "delwin(window)". Bad move
buddy, you'd better not call with stdwin then!   fixed now.
Seems like dialog is a LOT more rational now.
1994-11-05 03:13:33 +00:00
phk
e15766c491 Fix a potential bug in stage2.
disable the dialog_msgbox in TellEm(), until we find out why it
hangs on second or third invocation.
1994-11-04 21:38:37 +00:00
dg
f9ee10c7bb From njw@cs.city.ac.uk (Nick Williams):
/sbin/umount does not return the correct exit status due to incorrect
logic in its internals.

Further, because of the nature of the code, you *cannot* use it to
umount a directory from a union mountpoint. Well, you can sometimes,
it depends on if the directory is at the top of the union stack or not :)

Submitted by:	njw@cs.city.ac.uk (Nick Williams)
1994-11-04 17:51:37 +00:00
ache
a3d03a23fc -i case goes to background pause and acts like -a case on receiving
SIGTERM. This helps to keep CMOS clock updated before reboot.
Idea from J.Wunsch.
1994-11-03 03:16:16 +00:00
ache
eef1d6f571 Restore jkh's changes, now it works for const strings 1994-11-03 00:30:27 +00:00
ache
4c93e09be1 Now autosizing code works with const strings too.
Prototype added.
1994-11-03 00:28:05 +00:00
jkh
4194c9242f Don't use autosizing code after all - it doesn't like const strings. 1994-11-02 22:39:57 +00:00
phk
18e6482b87 a missing star. 1994-11-02 22:06:24 +00:00
jkh
d8bef49c01 Last changes before going to bed. Disk label editor should now work
a fair bit better.
1994-11-02 11:00:35 +00:00