Commit Graph

670 Commits

Author SHA1 Message Date
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
provos
32b88027c7 use readlink with bufsize - 1; approved thorpej. 2002-10-19 20:33: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
itojun
bfe85e26f6 remove sh1.iijlab.net's old address (what is the best way to maintain
the list of publically-usable DNS server addresses?)
2002-10-16 08:04:26 +00:00
augustss
b0eef0bfaa Use unsigned variable for memory size, so > 2M memory isn't negative. 2002-10-09 13:28:48 +00:00
grant
a94624a921 during timezone selection, only update the clock once per minute. once
per second is painful and annoying over a serial line.
2002-10-05 02:41:54 +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
da7c095365 remove setting root's shell, as this was addressed in install/17676. 2002-08-27 00:22:53 +00:00
mrg
d4c1463d23 if the type of either partition is 0 ("unused"), then these partitions
do not overlap.  from Tyler Retzlaff <rtr@wasabisystems.com> and fixes
PR#12386.
2002-08-13 03:58:56 +00:00
grant
6b0d856a30 use current values for start/size/bsize/fsize as defaults when editing
disklabel partitions.
2002-08-12 02:45:17 +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
mrg
81cda3082a fix PR#11945 Tyler Retzlaff <rtr@wasabisystems.com>:
>The reason this occurs is because of left over scum in unused partition
>table slots for host system parts.  This should clean it up.
2002-08-02 05:38:18 +00:00
grant
0b81a2c68e set root partition default bsize and fsize. 2002-08-02 05:11:29 +00:00
grant
f4e0ef0aad allow unsetting of mountpoints in disklabel editor.
partially addresses install/17801.
2002-08-02 04:08:47 +00:00
grant
c8c81b4a57 nullify ftp passwd whenever user is changed, not only when user is
changed to 'ftp'.
2002-07-31 12:44:14 +00:00
grant
2a31902244 nullify ftp password when changing user to 'ftp', from Thomas Klausner
in install/11436.
2002-07-29 03:24:47 +00:00
grant
f9419717d2 add setting of root's shell, from Julio Merino in install/17676 with
minor changes by me.
2002-07-29 03:05:16 +00:00
grant
56ad586e08 filesystem -> file system
(www.m-w.com)
2002-07-29 02:51:07 +00:00
grant
39427aa237 whitespace and comment cleanup. 2002-07-29 01:30:25 +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
grant
32c14ac1fc refresh screen before processing menus. 2002-07-27 10:02:50 +00:00
grant
8136155741 move password cipher menu down to avoid overwriting text. 2002-07-27 10:02:05 +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
fc9da5f33b If a valid file system type is found for a particular partition but no
mount point was specified, make sure to add only a commented-out entry for
that partition when building fstab. This prevents sysinst from generating
an otherwise invalid fstab. This problem was originally reported by
Frederick Bruckman and fixed by Bob Nestor.
2002-06-30 04:02:47 +00:00
scottr
23b6b38874 Correct fsck_num() implementation; return the fs_passno value as defined
in fstab(5). Noticed by Frederick Bruckman.
2002-06-30 03:57:46 +00:00
scottr
2a946905e4 Back out last; inadvertantly committed. This will be resurrected
in the future, in all likelihood, but it wasn't ready yet.
2002-06-29 20:16:41 +00:00
scottr
7de06b16d5 If a valid file system type is found for a particular partition but no
mount point was specified, make sure to add only a commented-out entry for
that partition when building fstab. This prevents sysinst from generating
an otherwise invalid fstab. Bob Nestor found this while working on sysinst
for mac68k, and as such there is no corresponding PR.
2002-06-29 20:12:57 +00:00
scottr
0aafec883d A malloc() return value wasn't checked properly in cleanup_dist() while
reading the file list. Bob Nestor found this by inspection while working on
sysinst for NetBSD/mac68k, and as such there is no corresponding PR.
2002-06-29 20:04:56 +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
itojun
072cf558ff logic mistake in 1.60 -> 1.61; ask media type if needed.
From: Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
2002-06-19 16:30:52 +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
lukem
29f550aa8c - Replace make(1) and -D FTP_HOST with SYSINST_FTP_HOST.
Defaults to "ftp.netbsd.org"
- Replace make(1) and -D FTP_DIR with SYSINST_FTP_DIR.
  Defaults to "pub/NetBSD/NetBSD-" + VER + "/" + MACH.
  (FTP_DIR used to override "pub/NetBSD/NetBSD-", which meant the
  path name had to contain the release version in it)
- Add make(1) and -D SYSINST_CDROM_DIR.
  Defaults to "/" + mach.
- only append ftp_prefix to ftp_dir and cdrom_dir once, just after
  the options are parsed.  Do this in newly added set_defaults().
2002-06-06 09:53:22 +00:00
enami
3ba7997d55 `des'' isn't a valid parameter as cipher name. Use `old'' instead as per
pwd_gensalt.c (or passwd.conf(5)).  Compile test only.
2002-06-05 10:00:43 +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
tsutsui
e66a5b39e8 Don't call toggle_getit() for X11 fonts and servers in md_set_no_x().
They are disabled by default.
2002-06-02 16:01:00 +00:00
zuntum
0c075655ba Polish translation of 'option to leave passwd.conf unchanged,
particularly for upgrading'.
2002-06-02 15:05:24 +00:00
itojun
589e4e32b8 typo 2002-06-02 14:14:04 +00:00
itojun
0b9753daf3 have an option to leave passwd.conf unchanged, particularly for upgrading.
From: Tetsuya Isaki <isaki@par.odn.ne.jp>

XXX translation needed
2002-06-02 14:12:54 +00:00
eeh
58d15437bc Add sysinst support for the walnut port. 2002-05-30 16:13:06 +00:00
tv
3a92d39fd3 Rip out the "special_kernel_list" code, as we now have differently named
kernel sets in dist_list[] instead.  If we want logic like this, it needs
to be re-added as twiddling the "on" state of the correctly named kernel.
2002-05-29 20:36:40 +00:00
zuntum
3984662c21 typo, whitespaces, and one fix 2002-05-27 09:21:34 +00:00
zuntum
77d5abd5af Change variants of "zamontowac" to "zamountowac" 2002-05-27 09:18:59 +00:00
zuntum
69703d3555 Argh! Replace sophisticated, although weird-looking "punkt montazu" word with
just "mountpoint". Even english term is easier to understand in this case.
2002-05-27 09:15:40 +00:00
zuntum
69afabd0cd more fixes to translation 2002-05-27 09:09:13 +00:00
zuntum
b2cf503dd7 grammar & misc
Closes PR#17064 by dawszy@arhea.net
2002-05-27 08:55:57 +00:00
itojun
382ff1f23c let users choose blowfish password option.
XXX msg.mi.fr is out of sync
2002-05-24 08:07:48 +00:00
itojun
5fb3536fb3 remove obsolete comment. use "!rtsol $int" instead of actual interface name. 2002-05-24 07:58:23 +00:00
rafal
4a3f0ef3a4 sysinst updates for sgimips from Scott Taylor with some tweaks from me.
For now, we keep the GENERIC/GENERIC_INDY sets, but make the labels a
bit clearer as to their purposes.

XXX: Still need code to install bootloader into volhdr; need either to
integrate into MI installboot or fix up sgivol (I have changes from Scott
for sgivol, just haven't folded them in yet).
2002-05-21 21:59:03 +00:00
lukem
9f9c6e35b1 convert to using usr/sbin/installboot.
(from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 16:10:33 +00:00
lukem
4af2890237 use new installboot 2002-05-20 13:31:26 +00:00
uch
e27184bfd6 use MI make_bsd_partitions(). clean up the code. 2002-05-18 07:14:31 +00:00
lukem
073a06669e migrate to usr/sbin/installboot 2002-05-07 14:50:39 +00:00
bjh21
c778d09734 Synchronise the various lists of sets with reality. 2002-05-04 21:35:27 +00:00
bjh21
3785c22214 sysinst bits for acorn26. Basically the same as acorn32 for now. 2002-05-02 23:02:50 +00:00
sommerfeld
bf3e3eb4dc Make all elements of SRCS (set in arch-specific makefile) depend on
the message headers; previous list was woefully incomplete and caused
parallel builds to explode.
2002-04-29 04:40:00 +00:00
lukem
9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
leo
76fe1572d8 Add aout->ELF upgrade support. 2002-04-25 20:16:08 +00:00
shin
883a9619e2 make "kern-GENERIC" selected by default. 2002-04-21 11:21:53 +00:00
leo
177bcf6b76 Handle the atari kernel-sets. 2002-04-20 20:35:00 +00:00
mycroft
1d4148b8f4 Run reboot(8) and halt(8) from system(), not run_prog(). 2002-04-16 02:20:17 +00:00
mycroft
6b51f6a75b Use reboot -q' and halt -q' to make it reboot faster. 2002-04-16 02:06:09 +00:00
thorpej
bf27601931 * Fix the kernel set selection.
* Default X sets to "no".
2002-04-13 02:34:17 +00:00
thorpej
4dc58c48c7 First draft sysinst for evbarm -- more work needs to be done. 2002-04-13 01:47:52 +00:00
leo
e6531b9a88 atari sysinst md-part 2002-04-12 21:15:52 +00:00
mycroft
73b187a06a Install kern-GENERIC by default. 2002-04-11 18:16:05 +00:00
mycroft
8d3ca86950 Add a DPADD for the libraries we use. 2002-04-11 18:14:18 +00:00
skrll
ac60400580 The results of my cats NWDO hacking.
This was tested using a custom INSTALL kernel. The current one is >4Mb
which the cats firmware can't currently boot. We need to decide what
needs to be removed from INSTALL.
2002-04-11 16:33:58 +00:00
hubertf
f0799e74a5 Polish language translation of sysinst. Build with
make release SYSINSTLANG=pl
Contributed by Dawid Szymanski <dawszy@arhea.net> in PR 16237.
2002-04-09 19:47:57 +00:00
hubertf
3929182069 Polish language translation of sysinst. Build with
make release SYSINSTLANG=pl
Contributed by Dawid Szymanski <dawszy@arhea.net> in PR 16237.
2002-04-08 23:30:38 +00:00
ad
f14b71f762 Remember to free strdup()'ed string. 2002-04-05 00:12:14 +00:00
ad
6fcf2c1799 Allow the password cipher to be chosen at install time. XXX Not tested for
real yet, and the French files need updating.
2002-04-04 14:26:43 +00:00
thorpej
875238901e Garbage-collect the Filecore stuff, and make /usr the "d" partition
(RAW_PART == "c").
2002-04-02 17:46:20 +00:00
thorpej
c7eb256693 Add aout2elf upgrade support. 2002-04-02 17:02:54 +00:00
thorpej
556ff2a401 The default kernel for Shark is now GENERIC. 2002-03-31 02:14:06 +00:00
matt
1da9c3f8d0 Add support for auto2elf UPGRADE support. 2002-03-30 21:55:11 +00:00
shin
73fb891f58 fix warning message. kern.tgz does not exits. 2002-03-29 01:03:14 +00:00
scw
26e4cbfa71 sysinst for mvme68k, based mostly on hp300's sysinst.
XXX: French language support needs some attention.
XXX: sysinst needs to be taught how to get sets from tape...
2002-03-24 22:04:04 +00:00
shin
842442d1c5 'kern.tgz' no longer exists.
don't check 'kern.tgz'.
2002-03-23 05:18:23 +00:00
shin
50838200f5 delete kern-TX3922.
sync with i386.
2002-03-23 03:24:34 +00:00
gmcgarry
e111c9550d Allow a complete cylinder for the boot code. 2002-03-17 05:38:11 +00:00
tsutsui
fd7bd6f395 Handle a.out -> ELF library upgrade in md_update().
XXX No French message for emulbackup?
2002-03-16 17:26:55 +00:00