Commit Graph

762 Commits

Author SHA1 Message Date
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
christos
09f431f5bf Add libutil. 2002-09-20 21:23:02 +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
itojun
9b10247223 have setloginx() and friends to avoid linking *.o from libutil. PR 17820 2002-08-03 11:37:17 +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
itojun
0c74b798cb make macppc install floppy IPv6 ready
(we have two floppies anyways, and there's plenty of space in 2nd floppy)
2002-06-18 02:02:20 +00:00
itojun
e1a37a37f9 no need for extra paren 2002-06-18 01:53:35 +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