Commit Graph

358 Commits

Author SHA1 Message Date
jmmv 2b250668c1 When installing from floppy disks, let the user say which is the last one
on a set, instead of hardcoding the number of parts in sysinst (which gets
out of sync easily).  The fdlast field of the distinfo struct has been
removed.

This solution is a bit simplistic but...  anybody using the floppy
installation method will have to split sets himself (as we don't provide
them), so he will know which is the last one.  Also, he will be able to
use whatever chunk size he wants.

Closes PR install/5050.  Ok'ed by fvdl.
2003-04-06 16:12:36 +00:00
mrg 6f05c73b55 fix a couple of sparc sysinst bugs:
- md_set_no_x() was turning off the "misc" and "text" sets and
	not turning off the "xcomp" and "xmisc" sets.

	- now that a kernel is installed as "/netbsd" by default, do not
	try to symlink (!) from /netbsd-GENERIC (which does not exist)
	to /netbsd.

also:
	- instead of printing the 3 kernel sets all as "Kernel       : ",
	now use "Kernel       : ", "Kernel(SCSI3): " and "Kernel(SUN4U): "

	- add a note to md.c and the menus.md.* files to keep these lists
	in sync (so that the first problem above does not occur again.)

missing:
	- a way to force that one and only one of the 3 kernel sets are
	selected.  at least the default install works now.
2003-02-19 02:09:46 +00:00
grant e245be8651 we really should install the GENERIC kernel by default.
fixes PR install/18502 from Jay R. Fink.
2003-02-17 16:31:05 +00:00
bouyer a82a445995 Use the real size of the disk, not cyl*head*sect.
Handle the "use existing" option for partitions (but keep d as the
boot partition).
While I'm there use get_real_geom() instead of custom code to get the
existing disklabel.
2003-02-12 11:10:08 +00:00
simonb 276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
thorpej 8f4d94ed22 Allow the user to select the console speed of the boot blocks. 2003-01-15 00:09:30 +00:00
christos cc9b9c6553 hack to have only one copy of fstypenames[] 2003-01-12 21:49:50 +00:00
christos 440c3bcc16 check for malloc returning null 2003-01-11 22:32:25 +00:00
christos 774782c3bc Make everything compile again. All platforms compile on i386 now. 2003-01-11 19:44:04 +00:00
christos d5c5392912 make compile on !playstation 2003-01-11 19:37:48 +00:00
christos 848b0d8582 use the <sys/bootblock.h> names. 2003-01-11 19:31:52 +00:00
christos 83b0b99b3b use definitions from <sys/bootblock.h>; don't require <machine/disklabel.h>
mac68k machine/disklabel.h contains duplicate definitions that also exist
in <sys/disklabel.h> and <sys/bootblock.h> and should be removed.
2003-01-11 19:28:04 +00:00
christos 405768deca remove i386'isms; make link again. 2003-01-11 19:06:54 +00:00
christos 2d7e213ded pass lint[pass1] 2003-01-10 20:00:27 +00:00
lukem 1903b2f616 Add '-O' to pax command line, so that various error conditions don't try
and prompt the user for a new archive.

(No idea if this solves the infamous "sysinst random coredump" problem,
but it's worth a shot, and makes sense in any case)
2002-12-22 12:07:34 +00:00
fvdl 1922972e59 if 0 out the X sets for the time being. 2002-12-10 20:08:46 +00:00
scw 1d4f4f766c The walnut port has been subsumed by the new evbppc port. 2002-12-09 14:08:02 +00:00
fvdl a4da65a9cc sysinst glue for x86_64. 2002-12-05 02:05:56 +00:00
fvdl 171b46b525 FILE *log -> FILE *logfp, to avoid warnings about gcc-current's
builtin log() function.
2002-12-05 01:17:15 +00:00
lukem c7ad6e6337 Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX". 2002-11-18 12:39:43 +00:00
rnestor 75cd879de4 Fixed problem initializing the Partition Map on a blank disk and added
a driver entry for an ATA driver used on Macs with IDE disks. Also did
some cleanup to facilitate use of code on the Macppc port.
2002-10-20 22:06:17 +00:00
lukem ed56ec3a05 Rework how SMALLPROG was being used and how INET6 support was enabled.
There's two variables added to Makefile.crunch:

    SMALLPROG		If 1, add SMALLPROG=1 to CRUNCHENV.  [default: 1]
			This can be used by various Makefiles to
			determine if a `small' version of the program
			is required.

    SMALLPROG_INET6	If 1 and SMALLPROG == 1, add SMALLPROG_INET6=1
			to CRUNCHENV.  [default: 0]
			This can be used by various Makefiles to
			determine if the `small' version has INET6
			support enabled.

Only enable SMALLPROG_INET6 for programs on the ramdisks that have INET6 in
the appropriate kernel, and cleanup INET6 setting.
(Note: this means that sysinst won't get INET6 support if the kernel
it's running on doesn't have it).

This change saves a fair bit of space on various install images
(including i386 ramdisk-{ps2,small,tiny}) that didn't have INET6 in
the kernel but were unconditionally getting INET6 support in their tools.
2002-10-17 02:05:35 +00:00
grant b81826593e s/unused/inutilis'e/
from Stoned Elipot.
2002-09-27 15:21:52 +00:00
grant 6f98f8dffe update French translation, add "don't change" option to mbr partition
type selection.

from install/18192.
2002-09-27 15:20:01 +00:00
grant 5e3818a6e0 add "don't change" option to mbr partition type selection.
addresses part of install/18192.
2002-09-09 10:53:48 +00:00
grant 3404913871 add explanation of normal vs. serial bootblocks.
addresses part of install/18192.
2002-09-09 10:32:49 +00:00
jdolecek ae25afd5a6 Do not get confused by empty MBR when gathering information for disk layout.
This fixes install/18153 by Johnny C. Lam.

Base for fix provided by Tyler Retzlaff. Tested by Tyler, Grant Beattie & me.
2002-09-04 14:22:20 +00:00
rnestor 4ca44777d6 Correct the printout of the partition start and size values. 2002-09-03 00:35:53 +00:00
grant 2df65a0a6e make mbr and disklabel editor consistently use Start, End, Size in
that order.

"offset" -> "start" where applicable.
2002-08-12 02:22:52 +00:00
gmcgarry 26945b2c8b Bootblock is called uboot.lif. Problem reported by
Sageev T. George <sageev@bmsrs.usc.edu>.
2002-08-04 01:24:57 +00:00
grant c095f9f3cc make 'use existing partitions' work on i386.
patch provided by Tyler Retzlaff, fixes install/17747.
2002-08-02 10:28:17 +00:00
grant 0b81a2c68e set root partition default bsize and fsize. 2002-08-02 05:11:29 +00:00
grant 56ad586e08 filesystem -> file system
(www.m-w.com)
2002-07-29 02:51:07 +00:00
grant b4dfc38d21 add blank lines to editpart, ala editparttable.
this stops the table of partitions jumping about while using the mbr
editor.
2002-07-28 08:58:59 +00:00
wiz 5db23d2c5d enouth -> enough. 2002-07-26 01:00:39 +00:00
grant 9676dd8001 typo in comment. 2002-07-26 00:42:04 +00:00
grant b0f2d974df allow partitions i-p to be modified, from Masanori Kanaoka in
port-i386/17689, with minor changes by me.
2002-07-25 15:19:17 +00:00
grant e5d316be94 allow partitions i-p to be modified, from Masanori Kanaoka in
port-i386/17689, with minor changes by me.

add_rc_conf() needs a trailing \n.
2002-07-25 14:31:10 +00:00
rafal 04d70c3689 Fix PR port-sgimips/17567: sysinst wasn't installing/upgrading bootblocks on
the new disk.  This requires my previous changes to sgivol to get a non-
interactive mode.  While here, change the way sysinst invoked sgivol (it
called system(), now it uses run_prog()) so we don't mess up the logging
and scripting contexts.
2002-07-18 16:23:36 +00:00
scottr 9f0a09b27b Automatically select the appropriate kernel set based on the
kernel used to do the installation.
2002-07-18 05:35:00 +00:00
rafal 21b586407d Since the O2 kernel doesn't work, don't bother giving users a choice to
install it.  Discussed with Soren and Scott G. Taylor (who originally
suggested we do this).
2002-07-15 04:51:41 +00:00
rafal 4d8aea6332 Fix PR port-sgimips/17566: Install the INDY kernel set by default, since we
need one of the kernel sets installed (and since O2 support is currently not
working, it's easy to figure out which we should install 8-).
2002-07-12 14:22:16 +00:00
wiz 148bbc0647 Typos. 2002-07-09 14:49:24 +00:00
scottr e307d4c847 Rework sysinst so that it actually works for common cases. Notably, the
partition handling has been completely rewritten to address serious data
loss issues with Mac HFS partitions, and the a.out -> ELF upgrade has
been addressed. From Bob Nestor; part 1 of 2 of a fix for PR 15528.
2002-06-29 17:00:18 +00:00
itojun d002e9349c enable IPv6. 2002-06-21 08:20:09 +00:00
leo 07ad9a1532 Make it clear which Milan kernel (PCIIDE or ISAIDE) is selected. 2002-06-19 11:44:26 +00:00
lukem 1f5cf5c78c Setup default mbr_bootsel labels for used partitions, since the previous
default was for them to be empty, and that meant that they wouldn't get shown
at boot time.   Fix from Tyler Retzlaff <rtr@wasabisystems.com>
2002-06-14 03:29:28 +00:00
scw 39e26586a0 Use target_expand() when referring to files on the target filesystem. 2002-06-05 09:39:04 +00:00
scw 276ff16bb9 Quell a warning when a partition starts at sector zero.
This is perfectly legitimate on mvme68k.
2002-06-05 08:50:09 +00:00
tsutsui 9a006c64a6 Enable "kern-GENERIC" by default, otherwise "Full installation" will not
extract any kernel sets.
2002-06-02 17:28:35 +00:00