head 1.18; access; symbols netbsd-11-0-RC4:1.18 netbsd-11-0-RC3:1.18 netbsd-11-0-RC2:1.18 netbsd-11-0-RC1:1.18 perseant-exfatfs-base-20250801:1.18 netbsd-11:1.18.0.114 netbsd-11-base:1.18 netbsd-10-1-RELEASE:1.18 perseant-exfatfs-base-20240630:1.18 perseant-exfatfs:1.18.0.112 perseant-exfatfs-base:1.18 netbsd-8-3-RELEASE:1.18 netbsd-9-4-RELEASE:1.18 netbsd-10-0-RELEASE:1.18 netbsd-10-0-RC6:1.18 netbsd-10-0-RC5:1.18 netbsd-10-0-RC4:1.18 netbsd-10-0-RC3:1.18 netbsd-10-0-RC2:1.18 netbsd-10-0-RC1:1.18 netbsd-10:1.18.0.110 netbsd-10-base:1.18 netbsd-9-3-RELEASE:1.18 cjep_sun2x-base1:1.18 cjep_sun2x:1.18.0.108 cjep_sun2x-base:1.18 cjep_staticlib_x-base1:1.18 netbsd-9-2-RELEASE:1.18 cjep_staticlib_x:1.18.0.106 cjep_staticlib_x-base:1.18 netbsd-9-1-RELEASE:1.18 phil-wifi-20200421:1.18 phil-wifi-20200411:1.18 is-mlppp:1.18.0.104 is-mlppp-base:1.18 phil-wifi-20200406:1.18 netbsd-8-2-RELEASE:1.18 netbsd-9-0-RELEASE:1.18 netbsd-9-0-RC2:1.18 netbsd-9-0-RC1:1.18 phil-wifi-20191119:1.18 netbsd-9:1.18.0.102 netbsd-9-base:1.18 phil-wifi-20190609:1.18 netbsd-8-1-RELEASE:1.18 netbsd-8-1-RC1:1.18 pgoyette-compat-merge-20190127:1.18 pgoyette-compat-20190127:1.18 pgoyette-compat-20190118:1.18 pgoyette-compat-1226:1.18 pgoyette-compat-1126:1.18 pgoyette-compat-1020:1.18 pgoyette-compat-0930:1.18 pgoyette-compat-0906:1.18 netbsd-7-2-RELEASE:1.18 pgoyette-compat-0728:1.18 netbsd-8-0-RELEASE:1.18 phil-wifi:1.18.0.100 phil-wifi-base:1.18 pgoyette-compat-0625:1.18 netbsd-8-0-RC2:1.18 pgoyette-compat-0521:1.18 pgoyette-compat-0502:1.18 pgoyette-compat-0422:1.18 netbsd-8-0-RC1:1.18 pgoyette-compat-0415:1.18 pgoyette-compat-0407:1.18 pgoyette-compat-0330:1.18 pgoyette-compat-0322:1.18 pgoyette-compat-0315:1.18 netbsd-7-1-2-RELEASE:1.18 pgoyette-compat:1.18.0.98 pgoyette-compat-base:1.18 netbsd-7-1-1-RELEASE:1.18 matt-nb8-mediatek:1.18.0.96 matt-nb8-mediatek-base:1.18 perseant-stdc-iso10646:1.18.0.94 perseant-stdc-iso10646-base:1.18 netbsd-8:1.18.0.92 netbsd-8-base:1.18 prg-localcount2-base3:1.18 prg-localcount2-base2:1.18 prg-localcount2-base1:1.18 prg-localcount2:1.18.0.90 prg-localcount2-base:1.18 pgoyette-localcount-20170426:1.18 bouyer-socketcan-base1:1.18 pgoyette-localcount-20170320:1.18 netbsd-7-1:1.18.0.88 netbsd-7-1-RELEASE:1.18 netbsd-7-1-RC2:1.18 netbsd-7-nhusb-base-20170116:1.18 bouyer-socketcan:1.18.0.86 bouyer-socketcan-base:1.18 pgoyette-localcount-20170107:1.18 netbsd-7-1-RC1:1.18 pgoyette-localcount-20161104:1.18 netbsd-7-0-2-RELEASE:1.18 localcount-20160914:1.18 netbsd-7-nhusb:1.18.0.84 netbsd-7-nhusb-base:1.18 pgoyette-localcount-20160806:1.18 pgoyette-localcount-20160726:1.18 pgoyette-localcount:1.18.0.82 pgoyette-localcount-base:1.18 netbsd-7-0-1-RELEASE:1.18 netbsd-7-0:1.18.0.80 netbsd-7-0-RELEASE:1.18 netbsd-7-0-RC3:1.18 netbsd-7-0-RC2:1.18 netbsd-7-0-RC1:1.18 netbsd-5-2-3-RELEASE:1.18 netbsd-5-1-5-RELEASE:1.18 netbsd-6-0-6-RELEASE:1.18 netbsd-6-1-5-RELEASE:1.18 netbsd-7:1.18.0.78 netbsd-7-base:1.18 yamt-pagecache-base9:1.18 yamt-pagecache-tag8:1.18 netbsd-6-1-4-RELEASE:1.18 netbsd-6-0-5-RELEASE:1.18 tls-earlyentropy:1.18.0.76 tls-earlyentropy-base:1.18 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.18 riastradh-drm2-base3:1.18 netbsd-6-1-3-RELEASE:1.18 netbsd-6-0-4-RELEASE:1.18 netbsd-5-2-2-RELEASE:1.18 netbsd-5-1-4-RELEASE:1.18 netbsd-6-1-2-RELEASE:1.18 netbsd-6-0-3-RELEASE:1.18 netbsd-5-2-1-RELEASE:1.18 netbsd-5-1-3-RELEASE:1.18 netbsd-6-1-1-RELEASE:1.18 riastradh-drm2-base2:1.18 riastradh-drm2-base1:1.18 riastradh-drm2:1.18.0.68 riastradh-drm2-base:1.18 netbsd-6-1:1.18.0.74 netbsd-6-0-2-RELEASE:1.18 netbsd-6-1-RELEASE:1.18 khorben-n900:1.18.0.72 netbsd-6-1-RC4:1.18 netbsd-6-1-RC3:1.18 agc-symver:1.18.0.70 agc-symver-base:1.18 netbsd-6-1-RC2:1.18 netbsd-6-1-RC1:1.18 yamt-pagecache-base8:1.18 netbsd-5-2:1.18.0.66 netbsd-6-0-1-RELEASE:1.18 yamt-pagecache-base7:1.18 netbsd-5-2-RELEASE:1.18 netbsd-5-2-RC1:1.18 matt-nb6-plus-nbase:1.18 yamt-pagecache-base6:1.18 netbsd-6-0:1.18.0.64 netbsd-6-0-RELEASE:1.18 netbsd-6-0-RC2:1.18 tls-maxphys:1.18.0.62 tls-maxphys-base:1.18 matt-nb6-plus:1.18.0.60 matt-nb6-plus-base:1.18 netbsd-6-0-RC1:1.18 yamt-pagecache-base5:1.18 yamt-pagecache-base4:1.18 netbsd-6:1.18.0.58 netbsd-6-base:1.18 netbsd-5-1-2-RELEASE:1.18 netbsd-5-1-1-RELEASE:1.18 yamt-pagecache-base3:1.18 yamt-pagecache-base2:1.18 yamt-pagecache:1.18.0.56 yamt-pagecache-base:1.18 cherry-xenmp:1.18.0.54 cherry-xenmp-base:1.18 bouyer-quota2-nbase:1.18 bouyer-quota2:1.18.0.52 bouyer-quota2-base:1.18 matt-mips64-premerge-20101231:1.18 matt-nb5-mips64-premerge-20101231:1.18 matt-nb5-pq3:1.18.0.50 matt-nb5-pq3-base:1.18 netbsd-5-1:1.18.0.48 netbsd-5-1-RELEASE:1.18 netbsd-5-1-RC4:1.18 matt-nb5-mips64-k15:1.18 netbsd-5-1-RC3:1.18 netbsd-5-1-RC2:1.18 netbsd-5-1-RC1:1.18 netbsd-5-0-2-RELEASE:1.18 matt-nb5-mips64-premerge-20091211:1.18 matt-premerge-20091211:1.18 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.18 matt-nb4-mips64-k7-u2a-k9b:1.18 matt-nb5-mips64-u1-k1-k5:1.18 matt-nb5-mips64:1.18.0.46 netbsd-5-0-1-RELEASE:1.18 jym-xensuspend-nbase:1.18 netbsd-5-0:1.18.0.44 netbsd-5-0-RELEASE:1.18 netbsd-5-0-RC4:1.18 netbsd-5-0-RC3:1.18 netbsd-5-0-RC2:1.18 jym-xensuspend:1.18.0.42 jym-xensuspend-base:1.18 netbsd-5-0-RC1:1.18 netbsd-5:1.18.0.40 netbsd-5-base:1.18 matt-mips64-base2:1.18 matt-mips64:1.18.0.38 netbsd-4-0-1-RELEASE:1.18 wrstuden-revivesa-base-3:1.18 wrstuden-revivesa-base-2:1.18 wrstuden-fixsa-newbase:1.18 wrstuden-revivesa-base-1:1.18 yamt-pf42-base4:1.18 yamt-pf42-base3:1.18 hpcarm-cleanup-nbase:1.18 yamt-pf42-baseX:1.18 yamt-pf42-base2:1.18 wrstuden-revivesa:1.18.0.36 wrstuden-revivesa-base:1.18 yamt-pf42:1.18.0.34 yamt-pf42-base:1.18 mjf-devfs2:1.18.0.32 mjf-devfs2-base:1.18 keiichi-mipv6:1.18.0.30 keiichi-mipv6-base:1.18 mjf-devfs:1.18.0.28 mjf-devfs-base:1.18 matt-armv6-nbase:1.18 matt-armv6-prevmlocking:1.18 wrstuden-fixsa-base-1:1.18 netbsd-4-0:1.18.0.26 netbsd-4-0-RELEASE:1.18 cube-autoconf:1.18.0.24 cube-autoconf-base:1.18 netbsd-4-0-RC5:1.18 netbsd-4-0-RC4:1.18 netbsd-4-0-RC3:1.18 netbsd-4-0-RC2:1.18 netbsd-4-0-RC1:1.18 matt-armv6:1.18.0.22 matt-armv6-base:1.18 matt-mips64-base:1.18 hpcarm-cleanup:1.18.0.20 hpcarm-cleanup-base:1.18 netbsd-3-1-1-RELEASE:1.18 netbsd-3-0-3-RELEASE:1.18 wrstuden-fixsa:1.18.0.18 wrstuden-fixsa-base:1.18 abandoned-netbsd-4-base:1.18 abandoned-netbsd-4:1.18.0.12 netbsd-3-1:1.18.0.14 netbsd-3-1-RELEASE:1.18 netbsd-3-0-2-RELEASE:1.18 netbsd-3-1-RC4:1.18 netbsd-3-1-RC3:1.18 netbsd-3-1-RC2:1.18 netbsd-3-1-RC1:1.18 netbsd-4:1.18.0.16 netbsd-4-base:1.18 netbsd-3-0-1-RELEASE:1.18 netbsd-3-0:1.18.0.10 netbsd-3-0-RELEASE:1.18 netbsd-3-0-RC6:1.18 netbsd-3-0-RC5:1.18 netbsd-3-0-RC4:1.18 netbsd-3-0-RC3:1.18 netbsd-3-0-RC2:1.18 netbsd-3-0-RC1:1.18 netbsd-2-0-3-RELEASE:1.18 netbsd-2-1:1.18.0.8 netbsd-2-1-RELEASE:1.18 netbsd-2-1-RC6:1.18 netbsd-2-1-RC5:1.18 netbsd-2-1-RC4:1.18 netbsd-2-1-RC3:1.18 netbsd-2-1-RC2:1.18 netbsd-2-1-RC1:1.18 netbsd-2-0-2-RELEASE:1.18 netbsd-3:1.18.0.6 netbsd-3-base:1.18 netbsd-2-0-1-RELEASE:1.18 netbsd-2:1.18.0.4 netbsd-2-base:1.18 netbsd-2-0-RELEASE:1.18 netbsd-2-0-RC5:1.18 netbsd-2-0-RC4:1.18 netbsd-2-0-RC3:1.18 netbsd-2-0-RC2:1.18 netbsd-2-0-RC1:1.18 netbsd-2-0:1.18.0.2 netbsd-2-0-base:1.18 netbsd-1-6-PATCH002-RELEASE:1.17.2.1 netbsd-1-6-PATCH002:1.17.2.1 netbsd-1-6-PATCH002-RC4:1.17.2.1 netbsd-1-6-PATCH002-RC3:1.17.2.1 netbsd-1-6-PATCH002-RC2:1.17.2.1 netbsd-1-6-PATCH002-RC1:1.17.2.1 netbsd-1-6-PATCH001:1.17.2.1 netbsd-1-6-PATCH001-RELEASE:1.17.2.1 netbsd-1-6-PATCH001-RC3:1.17.2.1 netbsd-1-6-PATCH001-RC2:1.17.2.1 netbsd-1-6-PATCH001-RC1:1.17.2.1 fvdl_fs64_base:1.18 netbsd-1-6-RELEASE:1.17.2.1 netbsd-1-6-RC3:1.17.2.1 netbsd-1-6-RC2:1.17.2.1 netbsd-1-6-RC1:1.17.2.1 netbsd-1-6:1.17.0.2 netbsd-1-6-base:1.17 netbsd-1-5-PATCH003:1.11.4.3 netbsd-1-5-PATCH002:1.11.4.3 netbsd-1-5-PATCH001:1.11.4.3 netbsd-1-5-RELEASE:1.11.4.2 netbsd-1-5-BETA2:1.11.4.2 netbsd-1-5-BETA:1.11 netbsd-1-4-PATCH003:1.8.2.2 netbsd-1-5-ALPHA2:1.11 netbsd-1-5:1.11.0.4 netbsd-1-5-base:1.11 minoura-xpg4dl:1.11.0.2 minoura-xpg4dl-base:1.11 netbsd-1-4-PATCH002:1.8.2.2 wrstuden-devbsize-19991221:1.10 wrstuden-devbsize:1.10.0.4 wrstuden-devbsize-base:1.10 comdex-fall-1999:1.10.0.2 comdex-fall-1999-base:1.10 netbsd-1-4-PATCH001:1.8.2.2 netbsd-1-4-RELEASE:1.8.2.2 netbsd-1-4:1.8.0.2 netbsd-1-4-base:1.8 netbsd-1-3-PATCH003:1.2.2.1 netbsd-1-3-PATCH003-CANDIDATE2:1.2.2.1 netbsd-1-3-PATCH003-CANDIDATE1:1.2.2.1 netbsd-1-3-PATCH003-CANDIDATE0:1.2.2.1 netbsd-1-3-PATCH002:1.2 netbsd-1-3-PATCH001:1.2 netbsd-1-3-RELEASE:1.2 netbsd-1-3-BETA:1.2 netbsd-1-3:1.2.0.2 netbsd-1-3-base:1.2 netbsd-1-2-PATCH001:1.1.2.3 netbsd-1-2-RELEASE:1.1.2.2 netbsd-1-2-BETA:1.1 netbsd-1-2:1.1.0.2 netbsd-1-2-base:1.1; locks; strict; comment @# @; 1.18 date 2002.06.30.13.06.06; author lukem; state Exp; branches 1.18.32.1; next 1.17; 1.17 date 2000.12.01.08.02.34; author minoura; state Exp; branches 1.17.2.1; next 1.16; 1.16 date 2000.11.02.01.37.49; author lukem; state Exp; branches; next 1.15; 1.15 date 2000.10.29.14.08.12; author lukem; state Exp; branches; next 1.14; 1.14 date 2000.10.10.12.55.23; author lukem; state Exp; branches; next 1.13; 1.13 date 2000.10.03.22.24.33; author lukem; state Exp; branches; next 1.12; 1.12 date 2000.08.22.15.34.00; author minoura; state Exp; branches; next 1.11; 1.11 date 2000.05.03.17.12.16; author itojun; state Exp; branches 1.11.4.1; next 1.10; 1.10 date 99.04.15.15.18.21; author minoura; state Exp; branches; next 1.9; 1.9 date 99.04.03.14.15.00; author minoura; state Exp; branches; next 1.8; 1.8 date 99.04.01.14.09.49; author minoura; state Exp; branches 1.8.2.1; next 1.7; 1.7 date 99.01.13.07.30.10; author ross; state Exp; branches; next 1.6; 1.6 date 98.11.04.14.21.30; author minoura; state Exp; branches; next 1.5; 1.5 date 98.10.21.14.32.36; author minoura; state Exp; branches; next 1.4; 1.4 date 98.08.23.12.42.21; author hubertf; state Exp; branches; next 1.3; 1.3 date 98.01.09.18.48.04; author perry; state Exp; branches; next 1.2; 1.2 date 96.08.15.09.15.10; author oki; state Exp; branches 1.2.2.1; next 1.1; 1.1 date 96.06.17.11.26.08; author oki; state Exp; branches 1.1.2.1; next ; 1.18.32.1 date 2008.10.05.20.10.29; author mjf; state dead; branches; next ; 1.17.2.1 date 2002.07.02.04.20.21; author lukem; state Exp; branches; next ; 1.11.4.1 date 2000.11.01.03.48.50; author tv; state Exp; branches; next 1.11.4.2; 1.11.4.2 date 2000.11.04.06.49.16; author lukem; state Exp; branches; next 1.11.4.3; 1.11.4.3 date 2001.04.21.20.56.46; author he; state Exp; branches; next ; 1.8.2.1 date 99.04.04.04.29.42; author minoura; state Exp; branches; next 1.8.2.2; 1.8.2.2 date 99.04.15.16.29.51; author minoura; state Exp; branches; next ; 1.2.2.1 date 98.11.07.04.11.04; author cgd; state Exp; branches; next ; 1.1.2.1 date 96.06.17.11.26.08; author oki; state dead; branches; next 1.1.2.2; 1.1.2.2 date 96.08.27.20.07.04; author oki; state Exp; branches; next 1.1.2.3; 1.1.2.3 date 97.03.13.00.49.39; author mycroft; state Exp; branches; next ; desc @@ 1.18 log @clean up whitespace, formatting, copyrights @ text @.\" $NetBSD: install,v 1.17 2000/12/01 08:02:34 minoura Exp $ . .so ../common/sysinst @ 1.18.32.1 log @Sync with HEAD. @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.18 2002/06/30 13:06:06 lukem Exp $ @ 1.17 log @Reflect the current status and installation system. @ text @d1 1 a1 33 .\" $NetBSD: install,v 1.16 2000/11/02 01:37:49 lukem Exp $ .\" .\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc. .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgement: .\" This product includes software developed by the NetBSD .\" Foundation, Inc. and its contributors. .\" 4. Neither the name of The NetBSD Foundation nor the names of its .\" contributors may be used to endorse or promote products derived .\" from this software without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" @ 1.17.2.1 log @manually sync distrib/notes/** to -current, excluding pmppc (which isn't in 1.6) @ text @d1 33 a33 1 .\" $NetBSD: install,v 1.18 2002/06/30 13:06:06 lukem Exp $ @ 1.16 log @fix bad quoting in .Dl .. .Ic lines when using other formatting (e.g, Ar) @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.15 2000/10/29 14:08:12 lukem Exp $ a34 18 Installing .Nx is a relatively complex process, but if you have this document in hand and are careful to read and remember the information which is presented to you by the install program, it shouldn't be too much trouble. .Pp There are two kind of installer for .Nx*M ; standard, .Ic sysinst installer, and small, .Ic script installer. .Pp The former is the recommended, but it requires at least 5 MB of memory. If you have less memory, you have to chose the latter. .Pp a35 528 . .Ss2 Running the script installation program Before you begin, you should know the geometry of your hard disk, i.e. the sector size (note that sector sizes other than 512 bytes are not currently supported), the number of sectors per track, the number of tracks per cylinder (also known as the number of heads), and the number of cylinders on the disk. The .Nx kernel will try to discover these parameters on its own, and if it can it will print them at boot time. If possible, you should use the parameters it prints. (You might not be able to because you're sharing your disk with another operating system, or because your disk is old enough that the kernel can't figure out its geometry.) .Pp You should now be ready to install .Nx . It might be handy for you to have a pencil, some paper, and a calculator handy. .Pp The following is a walk-through of the steps you will take while getting .Nx installed on your hard disk. If any question has a default answer, it will be displayed in brackets .Pq Dq [] after the question. If you wish to stop the installation, you may press .Key CONTROL-C at any time, but if you do, you'll have to begin the installation process again from scratch. .(enum Boot your machine using of boot floppy. If the boot prompt does not appear in a reasonable amount of time, you either have a bad boot floppy or a hardware problem. Try writing the boot floppy image to a different disk, and using that. If it still doesn't work, .Nx probably can't be run on your hardware. This can probably be considered a bug, so you might want to report it. If you do, please include as many details about your system configuration as you can. .Pp It will take a while to load the kernel from the floppy, probably around a minute or so. .It You will then be presented with the .Nx kernel boot messages. You will want to read them, to determine your disk's name and geometry. Its name will be something like .Li sd0 and the geometry will be printed on a line that begins with its name. As mentioned above, you will need your disk's geometry when creating .Nx 's partitions. You will also need to know the name, to tell the install tools what disk to install on. .It You will be presented with a welcome message and a prompt asking whether you are going to .Ic install .Nx or .Ic upgrade an existing system. Select .Ic install to start installation. .It You will be presented a prompt asking if you wish to proceed with the installation process. If you wish to proceed, enter .Sq Ic y and press .Key RETURN . .It The install program will then tell you which disks it can install on, and ask you which it should use. Reply with the name of your disk. .It You will then be asked to name your disk's disklabel. The default response is .Sq Ic mysd , and for most purposes it will be OK. If you choose to name it something different, make sure the name is a single word and contains no special characters. You don't need to remember this name. .It You will be prompted for your disk's geometry information, i.e. the number of bytes per sector, cylinders on the disk, tracks per cylinder (heads), and sectors per track. Enter them when they are requested. If you make a mistake, press .Key CONTROL-C and when you get to the shell prompt, restart the install process by running the .Ic install command. Once you have entered this data, the install program will tell you the total size of your disk, in both sectors, and cylinders. Remember this number; if you're installing on the whole disk, you'll need it again soon. .It When describing your partitions, you will have the option of entering data about them in units of disk sectors or cylinders. If you choose to enter the information in units of sectors, remember that, for optimal performance, partitions should begin and end on cylinder boundaries. You will be asked about which units you wish to use, and you should reply with .Sq Ic c for cylinders, or .Sq Ic s for sectors. .It You will be asked to enter the size of your .Nx root partition .Pq Pa / . It should be at least 20 MB, but if you are going to be doing development, 25 MB is a more desirable size. This size should be expressed in units of sectors or cylinders, depending on which you said you wanted to use. .It Next, you will be asked for the size of your swap partition. You should probably allocate twice as much swap space as you have real memory. Systems that will be heavily used should have more swap space allocated, and systems that will be lightly used can get by with less. If you want the system to be able to save crash dumps when it panics, you will need at least as much swap space as you have RAM. Again, this number should be expressed in units of sectors or cylinders, as appropriate. .It The install program will then ask you for information about the rest of the partitions you want on your disk. For most purposes, you will want only one more partition, .Pa /usr . (Machines used as servers will probably also want .Pa /var as a separate partition. That can be done with these installation tools, but is not covered here.) The install program will tell you how much space there is left to be allocated in the NetBSD area of the disk, and, if you only want one more partition .Pq Pa /usr, you should enter it at the prompt when the installer asks you how large the next partition should be. It will then ask you for the name of the mount point for that partition. If you're doing a basic installation, that is .Pa /usr . .It .Em You are now at the .Em point of no return . Nothing has been written to your disk yet, but if you confirm that you want to install .Nx , your hard drive will be modified, and its contents may be scrambled at the whim of the install program. This is especially likely if you have given the install program incorrect information. If you are sure you want to proceed, enter .Sq Ic yes at the prompt. .It The install program will now label your disk and make the file systems you specified. The file systems will be initialized to contain .Nx bootstrapping binaries and configuration files. It will also create an .Pa /etc/fstab for your system, and mount all of the file systems under .Pa /mnt . (In other words, your .Pa / (root) partition will be mounted on .Pa /mnt , your .Pa /usr partition on .Pa /mnt/usr , and so on.) There should be no errors in this section of the installation. If there are, restart from the beginning of the installation process. .It You will be placed at a shell prompt .Pq Sq Li # . The remaining tasks are to copy the kernel from the kernel copy floppy to the hard drive's root file system and install the distribution sets. The flow of installation differs depending on your hardware resources, and on what media the distribution sets reside. .enum) .(tag indent .It Em To\ install\ from\ removable\ hard disk .Pp The first thing you should do is pick a temporary directory where the distribution files can be stored. To do this, enter the command .Ic Set_tmp_dir , and enter the name of the temporary directory. (Don't forget that your disk is mounted under .Pa /mnt ; you should probably pick a directory under .Pa /mnt/usr . ) The default is .Pa /mnt/usr/distrib . .Pp Insert the media onto the drive. Check the device name of your drive from the boot message. The device name is something like .Li sd2 depending on the SCSI disk drives connected to your machine. Note that the boot message can be displayed with the command .Ic more /kern/msgbuf . .Pp Mount the disk on the temporary directory with a command like: .Pp .Dl # Ic "mount -t msdos /dev/sd2c" Ar tmp_dir .Pp if your removable drive's name is .Li sd2 . .Pp Run the .Ic Extract command once for each distribution set you wish to install. For instance, if you wish to install the .Sy base distribution set, followed by the .Sy kern distribution set, and finally the .Sy etc distribution set, use the commands: .Pp .Dl # Ic "Extract base" .Dl # Ic "Extract kern" .Dl # Ic "Extract etc" .Pp For each extraction, it will ask you if the extraction should be verbose. If you reply affirmatively, it will print out the name of each file that's being extracted. .It Em To install from floppy .Pp The first thing you should do is pick a temporary directory where the distribution files can be stored. To do this, enter the command .Ic Set_tmp_dir , and enter the name of the temporary directory. (Don't forget that if your disk is still mounted under .Pa /mnt ; you should probably pick a directory under .Pa /mnt/usr . ) .Pp After you have picked a temporary directory, enter the .Ic Load_fd command, to load the distribution sets from your floppies. .Pp You will be asked which floppy drive to use. Enter .Sq Li 0 (zero) if you're using the first floppy drive (i.e. what .Tn MS-DOS would call .Sq Li "A:" ) , or enter .Sq Li "1" (one) if you're using the second. .Pp You will be prompted to insert a floppy into the drive, to have its contents copied to your hard disk. Do so, and press .Key RETURN to begin copying. When that is done, read the remainder of the floppies that contain the distribution sets that you want to install, one by one. When the last is read, and you are being prompted for another, press .Key CONTROL-C . .Pp Run the .Ic Extract command once for each distribution set you wish to install. For instance, if you wish to install the .Sy base distribution set, followed by the .Sy kern distribution set, and finally the .Sy etc distribution set, use the commands: .Pp .Dl # Ic "Extract base" .Dl # Ic "Extract kern" .Dl # Ic "Extract etc" .Pp For each extraction, it will ask you if the extraction should be verbose. If you reply affirmatively, it will print out the name of each file that's being extracted. .Pp .(Note If you know that you will be running low on disk space when installing .Nx , you can load and extract one distribution set at a time. To do this, load only the floppies which contain the files for the first distribution set, extract them, and then change to the temporary directory and remove them with the command .Ic "rm set_name.??" . .Note) .Pp Once you are finished extracting all of the sets that you wish to install, you should proceed to the instructions below (after the last install medium type-specific instructions), that explain how you should configure your system. . .It Em To install from tape .Pp The first thing you should do is pick a temporary directory where the distribution files can be stored. To do this, enter the command .Ic Set_tmp_dir , and enter the name of the temporary directory. (Don't forget that your disk is mounted under .Pa /mnt ; you should probably pick a directory under .Pa /mnt/usr . ) The default is .Pa /mnt/usr/distrib . .Pp After you have picked a temporary directory, enter the .Ic Load_tape command, to load the distribution sets from tape. .Pp You will be asked which tape drive to use. The default is .Li rst0 , which is correct if you're using the SCSI tape drive with the lowest SCSI-ID number. (For the SCSI tape drive with the next lowest SCSI-ID number, you should use .Li rst1 , and so on.) .Pp You will be prompted to press .Key RETURN when you have inserted the tape into the tape drive. When you do, the contents of the tape will be extracted into the temporary directory, and the names of the files being extracted will be printed. .Pp After the tape has been extracted, to go the directory containing the first distribution set you wish to install. (Depending on how you made the tape, it's probably a subdirectory of the temporary directory you specified above.) Once there, run the .Ic Set_tmp_dir command again, and accept its default answer by pressing return at the prompt. .Pp Use the .Ic Extract command to extract the distribution set. For instance, if you're extracting the .Sy base set, use the command: .Ic "Extract base" You will be asked if you wish the extraction to be verbose. If you reply affirmatively, the name of each file being extracted will be printed. .Pp Repeat the previous two steps for each distribution set you wish to install. Change to the set's directory, run .Ic Set_tmp_dir , and then run .Sy Extract Ar set_name to extract the set. .Pp Once you are finished extracting all of the sets that you wish to install, you should proceed to the instructions below (after the last install medium type-specific instructions), that explain how you should configure your system. . .It Em To install via FTP or NFS .Pp The first thing you should do is pick a temporary directory where the distribution files can be stored. To do this, enter the command .Ic Set_tmp_dir , and enter the name of the temporary directory. (Don't forget that your disk is mounted under .Pa /mnt ; you should probably pick a directory under .Pa /mnt/usr . ) The default is .Pa /mnt/usr/distrib . .Pp Configure the network interface. To use SLIP, type the following command sequence: .Pp .Dl # Ic "slattach -h -s" Ar speed Ic "tty00" .Dl # Ic "ifconfig sl0" Ar "my_ipaddr peer_ipaddr" .Pp where .Ar speed is the network speed, and .Ar my_ipaddr is the numeric IP address of the machine you are going to install .Nx*M , while .Ar peer_ipaddr is the address of the peer machine connected with your machine. You might have to configure the peer SLIP interface with similar sequence (depending on the peer system). .Pp For instance, the sequence .Pp .Dl # Ic "slattach -h -s 38400 tty00" .Dl # Ic "ifconfig sl0 192.168.0.1 192.168.0.10" .Pp configures the SLIP interface for the network between your machine (with IP address 192.168.0.1) and the peer (192.168.0.10) with speed 38400 bps. Note that IP addresses 192.168.*.* are the private IP addresses described in RFC 1597. .Pp To use ethernet, do following: .Pp .Dl # Ic "ifconfig ne0" Ar my_ipaddr .Pp where .Ar my_ipaddr is the numeric IP address of the machine you are going to install .Nx*M . ne0 is the interface name which correspond to the Neptune-X or clone. .Pp If you are NFS-mounting the distribution sets, mount them on the temporary directory with a command like: .Pp .Dl # Ic "mount -t nfs" Ar "serv_ipaddr:dist_dir tmp_dir" .Pp where .Ar serv_ipaddr is the server's numeric IP address, .Ar dist_dir is the path to the distribution files on the server, and .Ar tmp_dir is the name of the local temporary directory. .Pp Once this is done, proceed as if you had loaded the files from tape, changing to the appropriate directories, running .Ic Set_tmp_dir and running .Ic Extract as appropriate. .Pp If you are retrieving the distribution sets using ftp, change into the temporary directory, and execute the command: .Pp .Dl # Ic ftp Ar serv_ipaddr .Pp where .Ar serv_ipaddr is once again the server's numeric IP address. Get the files with FTP, taking care to use binary mode when transferring the files. .Pp Once you have all of the files for the distribution sets that you wish to install, you can proceed using the instructions above, as if you had installed from a floppy. .(Note As with the floppy install, if you're short on disk space, you can transfer only one set at a time, extract it, and then delete it in order to save space. .Note) .tag) .Pp Once you have finished extracting all of the distribution sets that you wish to install, and are back at the .Sq Li # prompt, you are ready to configure your system. The configuration utility expects that you have installed the .Sy base and .Sy etc distribution sets. If you have not, you will not be able to run it successfully (nor will you have a functional system, in any case). To configure your newly-installed .Nx system, run the command .Ic Configure . It will ask you for the system's host name, domain name, and other network configuration information. It will set up your configuration files and make the device nodes for the newly-installed system. @ 1.15 log @more work: - use .Tn, .Bx, .Ul, .Key, .Sq, .Dq, .Li, .Dl, (etc) ... as appropriate - be more consistent between various ports' install notes - other cleanups @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.14 2000/10/10 12:55:23 lukem Exp $ d280 1 a280 1 .Dl # Ic "mount -t msdos /dev/sd2c Ar tmp_dir" d477 2 a478 2 .Dl # Ic "slattach -h -s Ar speed Ic tty00" .Dl # Ic "ifconfig sl0 Ar my_ipaddr peer_ipaddr" d507 1 a507 1 .Dl # Ic "ifconfig ne0 Ar my_ipaddr" d520 1 a520 1 .Dl # Ic "mount -t nfs Ar serv_ipaddr:dist_dir tmp_dir" d544 1 a544 1 .Dl # Ic "ftp Ar serv_ipaddr" @ 1.14 log @major terraform (this is MUCH more than a rototill :-), including: - update for 1.5 (still more MD stuff to check) - use new macros in ../common/macros as appropriate - introduce some CONSISTENCY between the various ports' install docs - use various mdoc macros as appropriate, including .Li, .Pa, .Sy, and .Ic. - migrate more stuff into ../common/* - whitespace cleanup - lots of other little things i'm sure... @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.13 2000/10/03 22:24:33 lukem Exp $ d45 1 a45 1 .Dq sysinst d47 1 a47 1 .Dq script d69 3 a71 1 You should now be ready to install NetBSD. It might be handy for you d78 5 a82 2 default answer, it will be displayed in brackets ("[]") after the question. If you wish to stop the installation, you may press Control-C d105 2 a106 1 "sd0" and the geometry will be printed on a line that d108 3 a110 1 disk's geometry when creating NetBSD's partitions. You will d115 2 a116 1 asking whether you are going to "install" d118 5 a122 2 or "upgrade" an exisiting system. Select "install" to start installation. d126 4 a129 1 enter "y" and press return. d136 3 a138 1 default response is "mysd", and for most purposes it will be d147 5 a151 2 Control-C and when you get to the shell prompt, restart the install process by running the "install" command. Once you d163 5 a167 1 with "c" for cylinders, or "s" for sectors. d171 3 a173 2 root partition. It should be at least 20 MB, but if you are going to d190 5 a194 2 purposes, you will want only one more partition, "/usr". (Machines used as servers will probably also want /var as a d199 3 a201 1 partition ("/usr"), you should enter it at the prompt when the d205 1 a205 1 "/usr". d211 3 a213 1 install NetBSD, your hard drive will be modified, and its d217 3 a219 1 proceed, enter "yes" at the prompt. d222 1 a222 1 systems you specified. The filesystems will be initialized to d226 13 a238 4 It will also create an /etc/fstab for your system, and mount all of the file systems under /mnt. (In other words, your root partition will be mounted on /mnt, your /usr partition on /mnt/usr, and so on.) There should be no errors in this d242 3 a244 1 You will be placed at a shell prompt ("#"). The remaining d246 1 a246 1 the hard drive's root filesystem and install the distribution d256 3 a258 1 To do this, enter the command "Set_tmp_dir", and enter d265 2 a266 2 The default is /mnt/usr/distrib. d270 3 a272 1 name is something like "sd2" depending on the SCSI d279 5 a283 2 .D1 Ic mount -t msdos /dev/sd2c Ar tmp_dir if your removable drive's name is sd2. d296 4 a299 3 .D1 Ic Extract base .D1 Ic Extract kern .D1 Ic Extract etc d313 4 a316 2 that if your disk is still mounted under /mnt; you should probably pick a directory under /mnt/usr.) d324 10 a333 3 "0" (zero) if you're using the first floppy drive (i.e. what DOS would call "A:"), or enter "1" if you're using the second. d337 3 a339 1 and press return to begin copying. When that is done, d343 2 a344 1 prompted for another, press Control-C. d346 3 a348 1 Run the "Extract" command once for each distribution d350 6 a355 2 install the "base" distribution set, followed by the "kern" distribution set, and finally the "etc" d357 4 a360 3 .D1 Ic Extract base .D1 Ic Extract kern .D1 Ic Extract etc d369 3 a371 1 disk space when installing NetBSD, you can load and d376 2 a377 1 command "rm set_name.??". d390 3 a392 1 To do this, enter the command "Set_tmp_dir", and enter d394 6 a399 3 that your disk is mounted under /mnt; you should probably pick a directory under /mnt/usr.) The default is /mnt/usr/distrib. d402 2 a403 1 "Load_tape" command, to load the distribution sets from d407 12 a418 6 default is "rst0", which is correct if you're using the SCSI tape drive with the lowest SCSI ID number. (For the SCSI tape drive with the next lowest SCSI ID number, you should use "rst1", and so on.) .Pp You will be prompted to press return when you have d428 2 a429 1 specified above.) Once there, run the "Set_tmp_dir" d436 2 a437 1 set. For instance, if you're extracting the "base" d439 1 a439 1 .Ic Extract base d446 3 a448 1 directory, run "Set_tmp_dir", and then run d462 3 a464 1 To do this, enter the command "Set_tmp_dir", and enter d476 4 a479 2 .D1 Ic slattach\ -h\ -s Ar speed Ic tty00 .D1 Ic ifconfig\ sl0 Ar my_ipaddr peer_ipaddr d495 4 a498 2 .D1 Ic "slattach -h -s 38400 tty00 .D1 Ic "ifconfig sl0 192.168.0.1 192.168.0.10 d506 3 a508 1 .D1 Ic ifconfig\ ne0 Ar my_ipaddr d519 3 a521 2 . .D1 mount\ -t\ nfs Ar serv_ipaddr:dist_dir tmp_dir d535 1 a535 1 .Ic "Set_tmp_dir" d537 1 a537 1 .Ic "Extract" d543 3 a545 1 .D1 Ic ftp Ar serv_ipaddr d547 1 a547 1 .D1 Ar serv_ipaddr d563 3 a565 1 that you wish to install, and are back at the "#" prompt, you d567 4 a570 1 expects that you have installed the "base" and "etc" d576 3 a578 1 run the command "Configure". It will ask you for the system's @ 1.13 log @- use `press' instead of `hit' - update copyrights @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.12 2000/08/22 15:34:00 minoura Exp $ d42 3 a44 1 There are two kind of installer for NetBSD/x68k; standard, d50 1 a50 1 The former is the recommended, but it requires at least 5MB of memory. d54 2 a55 2 .Pp .Ss2 "Running the Script Installation Program" d80 1 a80 2 .Bl -enum .It d107 3 a109 1 asking whether you are going to "install" NetBSD or "upgrade" d148 2 a149 2 partition. It should be at least 20M, but if you are going to be doing development, 25M is a more desirable size. This d205 2 a206 2 .El .Bl -tag -width indent d390 3 a392 1 to install NetBSD/x68k, while d413 3 a415 1 to install NetBSD/x68k. ne0 is the interface name which correspond to d444 1 a444 1 where d455 2 a456 4 As with the floppy install, if you're short on disk space, you can transfer only one set at a time, extract it, and then delete it in order to save space.) d458 1 a458 1 .El @ 1.12 log @X68k now uses sysinst. Also update reflecting the current version. More cleanup is needed before pulling it up to netbsd-1-5. @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.11 2000/05/03 17:12:16 itojun Exp $ d3 1 a3 1 .\" Copyright (c) 1999 The NetBSD Foundation, Inc. d75 1 a75 1 question. If you wish to stop the installation, you may hit Control-C d111 1 a111 1 enter "y" and hit return. d126 1 a126 1 them when they are requested. If you make a mistake, hit d272 1 a272 1 and hit return to begin copying. When that is done, d276 1 a276 1 prompted for another, hit Control-C. d328 1 a328 1 You will be prompted to hit return when you have d340 1 a340 1 hitting return at the prompt. @ 1.11 log @fix sendmail.cf file path. @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.10 1999/04/15 15:18:21 minoura Exp $ d42 12 a455 1 .Pp a467 21 .Pp Congratulations, you have successfully installed .Nx \*V . When you reboot into NetBSD, you should log in as "root" at the login prompt. There is no initial password, but if you're using the machine in a networked environment, you should create yourself an account and protect it and the "root" account with good passwords. .Pp Some of the files in the .Nx \*V distribution might need to be tailored for your site. In particular, the .Pa /etc/mail/sendmail.cf file will almost definitely need to be adjusted, and other files in .Pa /etc including .Pa /etc/rc.conf will probably need to be modified, as well. If you are unfamiliar with UN*X-like system administration, it's recommended that you buy a book that discusses it. @ 1.11.4.1 log @Sync to HEAD as of 20001101 03:43 GMT [lukem]: Complete rework of install notes for 1.5 from several authors. @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.15 2000/10/29 14:08:12 lukem Exp $ d3 1 a3 1 .\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc. a41 14 There are two kind of installer for .Nx*M ; standard, .Ic sysinst installer, and small, .Ic script installer. .Pp The former is the recommended, but it requires at least 5 MB of memory. If you have less memory, you have to chose the latter. .Pp .so ../common/sysinst . .Ss2 Running the script installation program d55 1 a55 3 You should now be ready to install .Nx . It might be handy for you d62 2 a63 5 default answer, it will be displayed in brackets .Pq Dq [] after the question. If you wish to stop the installation, you may press .Key CONTROL-C d66 2 a67 1 .(enum d87 1 a87 2 .Li sd0 and the geometry will be printed on a line that d89 1 a89 3 disk's geometry when creating .Nx 's partitions. You will d94 2 a95 8 asking whether you are going to .Ic install .Nx or .Ic upgrade an existing system. Select .Ic install to start installation. d99 1 a99 4 enter .Sq Ic y and press .Key RETURN . d106 1 a106 3 default response is .Sq Ic mysd , and for most purposes it will be d114 3 a116 6 them when they are requested. If you make a mistake, press .Key CONTROL-C and when you get to the shell prompt, restart the install process by running the .Ic install command. Once you d128 1 a128 5 with .Sq Ic c for cylinders, or .Sq Ic s for sectors. d132 3 a134 4 root partition .Pq Pa / . It should be at least 20 MB, but if you are going to be doing development, 25 MB is a more desirable size. This d150 2 a151 5 purposes, you will want only one more partition, .Pa /usr . (Machines used as servers will probably also want .Pa /var as a d156 1 a156 3 partition .Pq Pa /usr, you should enter it at the prompt when the d160 1 a160 1 .Pa /usr . d166 1 a166 3 install .Nx , your hard drive will be modified, and its d170 1 a170 3 proceed, enter .Sq Ic yes at the prompt. d173 1 a173 1 systems you specified. The file systems will be initialized to d177 4 a180 13 It will also create an .Pa /etc/fstab for your system, and mount all of the file systems under .Pa /mnt . (In other words, your .Pa / (root) partition will be mounted on .Pa /mnt , your .Pa /usr partition on .Pa /mnt/usr , and so on.) There should be no errors in this d184 1 a184 3 You will be placed at a shell prompt .Pq Sq Li # . The remaining d186 1 a186 1 the hard drive's root file system and install the distribution d190 2 a191 2 .enum) .(tag indent d196 1 a196 3 To do this, enter the command .Ic Set_tmp_dir , and enter d203 2 a204 2 The default is .Pa /mnt/usr/distrib . d208 1 a208 3 name is something like .Li sd2 depending on the SCSI d215 2 a216 5 .Pp .Dl # Ic "mount -t msdos /dev/sd2c Ar tmp_dir" .Pp if your removable drive's name is .Li sd2 . d229 3 a231 4 .Pp .Dl # Ic "Extract base" .Dl # Ic "Extract kern" .Dl # Ic "Extract etc" d245 2 a246 4 that if your disk is still mounted under .Pa /mnt ; you should probably pick a directory under .Pa /mnt/usr . ) d254 3 a256 10 .Sq Li 0 (zero) if you're using the first floppy drive (i.e. what .Tn MS-DOS would call .Sq Li "A:" ) , or enter .Sq Li "1" (one) if you're using the second. d260 1 a260 3 and press .Key RETURN to begin copying. When that is done, d264 1 a264 2 prompted for another, press .Key CONTROL-C . d266 1 a266 3 Run the .Ic Extract command once for each distribution d268 2 a269 6 install the .Sy base distribution set, followed by the .Sy kern distribution set, and finally the .Sy etc d271 3 a273 4 .Pp .Dl # Ic "Extract base" .Dl # Ic "Extract kern" .Dl # Ic "Extract etc" d282 1 a282 3 disk space when installing .Nx , you can load and d287 1 a287 2 command .Ic "rm set_name.??" . d300 1 a300 3 To do this, enter the command .Ic Set_tmp_dir , and enter d302 3 a304 6 that your disk is mounted under .Pa /mnt ; you should probably pick a directory under .Pa /mnt/usr . ) The default is .Pa /mnt/usr/distrib . d307 1 a307 2 .Ic Load_tape command, to load the distribution sets from d311 6 a316 12 default is .Li rst0 , which is correct if you're using the SCSI tape drive with the lowest SCSI-ID number. (For the SCSI tape drive with the next lowest SCSI-ID number, you should use .Li rst1 , and so on.) .Pp You will be prompted to press .Key RETURN when you have d326 1 a326 2 specified above.) Once there, run the .Ic Set_tmp_dir d328 1 a328 1 pressing return at the prompt. d333 1 a333 2 set. For instance, if you're extracting the .Sy base d335 1 a335 1 .Ic "Extract base" d342 1 a342 3 directory, run .Ic Set_tmp_dir , and then run d356 1 a356 3 To do this, enter the command .Ic Set_tmp_dir , and enter d368 2 a369 4 .Pp .Dl # Ic "slattach -h -s Ar speed Ic tty00" .Dl # Ic "ifconfig sl0 Ar my_ipaddr peer_ipaddr" .Pp d375 1 a375 3 to install .Nx*M , while d383 2 a384 4 .Pp .Dl # Ic "slattach -h -s 38400 tty00" .Dl # Ic "ifconfig sl0 192.168.0.1 192.168.0.10" .Pp d392 1 a392 3 .Pp .Dl # Ic "ifconfig ne0 Ar my_ipaddr" .Pp d396 1 a396 3 to install .Nx*M . ne0 is the interface name which correspond to d401 2 a402 3 .Pp .Dl # Ic "mount -t nfs Ar serv_ipaddr:dist_dir tmp_dir" .Pp d416 1 a416 1 .Ic Set_tmp_dir d418 1 a418 1 .Ic Extract d424 3 a426 5 .Pp .Dl # Ic "ftp Ar serv_ipaddr" .Pp where .Ar serv_ipaddr d436 4 a439 2 As with the floppy install, if you're short on disk space, you can transfer only one set at a time, extract it, and then delete it in order to save space. d441 1 a441 1 .tag) d444 2 a445 3 that you wish to install, and are back at the .Sq Li # prompt, you d447 1 a447 4 expects that you have installed the .Sy base and .Sy etc d453 1 a453 3 run the command .Ic Configure . It will ask you for the system's d457 21 @ 1.11.4.2 log @pull up rev 1.16: fix bad quoting in .Dl .. .Ic lines when using other formatting (e.g, Ar) @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.16 2000/11/02 01:37:49 lukem Exp $ d280 1 a280 1 .Dl # Ic "mount -t msdos /dev/sd2c" Ar tmp_dir d477 2 a478 2 .Dl # Ic "slattach -h -s" Ar speed Ic "tty00" .Dl # Ic "ifconfig sl0" Ar "my_ipaddr peer_ipaddr" d507 1 a507 1 .Dl # Ic "ifconfig ne0" Ar my_ipaddr d520 1 a520 1 .Dl # Ic "mount -t nfs" Ar "serv_ipaddr:dist_dir tmp_dir" d544 1 a544 1 .Dl # Ic ftp Ar serv_ipaddr @ 1.11.4.3 log @Pull up revision 1.17 (requested by minoura): Update installation notes to reflect the state of the installation system for 1.5.1 on x68k. @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.11.4.2 2000/11/04 06:49:16 lukem Exp $ d35 18 d54 528 @ 1.10 log @Now that the md driver forcely turn on RB_SINGLE, no warning is presented at boot time. Also note for /start script. @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.9 1999/04/03 14:15:00 minoura Exp $ d469 1 a469 1 .Pa /etc/sendmail.cf @ 1.9 log @Update to fit with the current status. - Increse required disk space. - Note newly introduced utility loadbsd.x. @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.8 1999/04/01 14:09:49 minoura Exp $ a91 6 .Pp While booting, you will probably see several warnings. You should be warned that no swap space is present, and that init(8) cannot find /etc/rc. Do not be alarmed, these are completely normal. When you reach the prompt asking you for a shell name, just hit return. d93 7 a99 3 You will be presented with a welcome message and a prompt, asking if you wish to proceed with the installation process. If you wish to proceed, enter "y" and hit return. @ 1.8 log @Add ethernet setup procedure. @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.7 1999/01/13 07:30:10 ross Exp $ d135 2 a136 2 partition. It should be at least 15M, but if you are going to be doing development, 20M is a more desirable size. This @ 1.8.2.1 log @Pullup 1.9. @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.8 1999/04/01 14:09:49 minoura Exp $ d135 2 a136 2 partition. It should be at least 20M, but if you are going to be doing development, 25M is a more desirable size. This @ 1.8.2.2 log @Pullup rev.1.10. @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.8.2.1 1999/04/04 04:29:42 minoura Exp $ d92 6 d99 3 a101 7 You will be presented with a welcome message and a prompt asking whether you are going to "install" NetBSD or "upgrade" an exisiting system. Select "install" to start installation. .It You will be presented a prompt asking if you wish to proceed with the installation process. If you wish to proceed, enter "y" and hit return. @ 1.7 log @Markup for -mdoc and -mdoc2html. @ text @d1 1 a1 1 .\" $NetBSD: install,v 1.6 1998/11/04 14:21:30 minoura Exp $ d368 1 a368 1 Configure the SLIP interface, with the following d392 8 @ 1.6 log @The install now does not ask the type of the disk. It only supports SCSI disks. Also, use `set' for the kernel installation as well as for the userland utilities. @ text @d1 37 a37 3 $NetBSD: install,v 1.5 1998/10/21 14:32:36 minoura Exp $ Installing NetBSD is a relatively complex process, but if you have d41 1 a41 1 d46 3 a48 1 number of cylinders on the disk. The NetBSD kernel will try to d50 1 a50 1 at boot time. If possible, you should use the parameters it prints. d54 2 a55 2 You should now be ready to install NetBSD. It might be handy for you d57 1 a57 1 d59 3 a61 1 getting NetBSD installed on your hard disk. If any question has a d63 1 a63 1 question. If you wish to stop the installation, you may hit Control-C d66 388 a453 338 Boot your machine using of boot floppy. If the boot prompt does not appear in a reasonable amount of time, you either have a bad boot floppy or a hardware problem. Try writing the boot floppy image to a different disk, and using that. If it still doesn't work, NetBSD probably can't be run on your hardware. This can probably be considered a bug, so you might want to report it. If you do, please include as many details about your system configuration as you can. It will take a while to load the kernel from the floppy, probably around a minute or so. You will then be presented with the NetBSD kernel boot messages. You will want to read them, to determine your disk's name and geometry. Its name will be something like "sd0" and the geometry will be printed on a line that begins with its name. As mentioned above, you will need your disk's geometry when creating NetBSD's partitions. You will also need to know the name, to tell the install tools what disk to install on. While booting, you will probably see several warnings. You should be warned that no swap space is present, and that init(8) cannot find /etc/rc. Do not be alarmed, these are completely normal. When you reach the prompt asking you for a shell name, just hit return. You will be presented with a welcome message and a prompt, asking if you wish to proceed with the installation process. If you wish to proceed, enter "y" and hit return. The install program will then tell you which disks it can install on, and ask you which it should use. Reply with the name of your disk. You will then be asked to name your disk's disklabel. The default response is "mysd", and for most purposes it will be OK. If you choose to name it something different, make sure the name is a single word and contains no special characters. You don't need to remember this name. You will be prompted for your disk's geometry information, i.e. the number of bytes per sector, cylinders on the disk, tracks per cylinder (heads), and sectors per track. Enter them when they are requested. If you make a mistake, hit Control-C and when you get to the shell prompt, restart the install process by running the "install" command. Once you have entered this data, the install program will tell you the total size of your disk, in both sectors, and cylinders. Remember this number; if you're installing on the whole disk, you'll need it again soon. When describing your partitions, you will have the option of entering data about them in units of disk sectors or cylinders. If you choose to enter the information in units of sectors, remember that, for optimal performance, partitions should begin and end on cylinder boundaries. You will be asked about which units you wish to use, and you should reply with "c" for cylinders, or "s" for sectors. You will be asked to enter the size of your NetBSD root partition. It should be at least 15M, but if you are going to be doing development, 20M is a more desirable size. This size should be expressed in units of sectors or cylinders, depending on which you said you wanted to use. Next, you will be asked for the size of your swap partition. You should probably allocate twice as much swap space as you have real memory. Systems that will be heavily used should have more swap space allocated, and systems that will be lightly used can get by with less. If you want the system to be able to save crash dumps when it panics, you will need at least as much swap space as you have RAM. Again, this number should be expressed in units of sectors or cylinders, as appropriate. The install program will then ask you for information about the rest of the partitions you want on your disk. For most purposes, you will want only one more partition, "/usr". (Machines used as servers will probably also want /var as a separate partition. That can be done with these installation tools, but is not covered here.) The install program will tell you how much space there is left to be allocated in the NetBSD area of the disk, and, if you only want one more partition ("/usr"), you should enter it at the prompt when the installer asks you how large the next partition should be. It will then ask you for the name of the mount point for that partition. If you're doing a basic installation, that is "/usr". YOU ARE NOW AT THE POINT OF NO RETURN. Nothing has been written to your disk yet, but if you confirm that you want to install NetBSD, your hard drive will be modified, and its contents may be scrambled at the whim of the install program. This is especially likely if you have given the install program incorrect information. If you are sure you want to proceed, enter "yes" at the prompt. The install program will now label your disk and make the file systems you specified. The filesystems will be initialized to contain NetBSD bootstrapping binaries and configuration files. It will also create an /etc/fstab for your system, and mount all of the file systems under /mnt. (In other words, your root partition will be mounted on /mnt, your /usr partition on /mnt/usr, and so on.) There should be no errors in this section of the installation. If there are, restart from the beginning of the installation process. You will be placed at a shell prompt ("#"). The remaining tasks are to copy the kernel from the kernel copy floppy to the hard drive's root filesystem and install the distribution sets. The flow of installation differs depending on your hardware resources, and on what media the distribution sets reside. To install from removable hard disk: The first thing you should do is pick a temporary directory where the distribution files can be stored. To do this, enter the command "Set_tmp_dir", and enter the name of the temporary directory. (Don't forget that your disk is mounted under /mnt; you should probably pick a directory under /mnt/usr.) The default is /mnt/usr/distrib. Insert the media onto the drive. Check the device name of your drive from the boot message. The device name is something like "sd2" depending on the SCSI disk drives connected to your machine. Note that the boot message can be displayed with the command "more /kern/msgbuf". Mount the disk on the temporary directory with a command like: mount -t msdos /dev/sd2c if your removable drive's name is sd2. Run the "Extract" command once for each distribution set you wish to install. For instance, if you wish to install the "base" distribution set, followed by the "kern" distribution set, and finally the "etc" distribution set, use the commands: Extract base Extract kern Extract etc For each extraction, it will ask you if the extraction should be verbose. If you reply affirmatively, it will print out the name of each file that's being extracted. To install from floppy: The first thing you should do is pick a temporary directory where the distribution files can be stored. To do this, enter the command "Set_tmp_dir", and enter the name of the temporary directory. (Don't forget that if your disk is still mounted under /mnt; you should probably pick a directory under /mnt/usr.) After you have picked a temporary directory, enter the "Load_fd" command, to load the distribution sets from your floppies. You will be asked which floppy drive to use. Enter "0" (zero) if you're using the first floppy drive (i.e. what DOS would call "A:"), or enter "1" if you're using the second. You will be prompted to insert a floppy into the drive, to have its contents copied to your hard disk. Do so, and hit return to begin copying. When that is done, read the remainder of the floppies that contain the distribution sets that you want to install, one by one. When the last is read, and you are being prompted for another, hit Control-C. Run the "Extract" command once for each distribution set you wish to install. For instance, if you wish to install the "base" distribution set, followed by the "kern" distribution set, and finally the "etc" distribution set, use the commands: Extract base Extract kern Extract etc For each extraction, it will ask you if the extraction should be verbose. If you reply affirmatively, it will print out the name of each file that's being extracted. (Note: if you know that you will be running low on disk space when installing NetBSD, you can load and extract one distribution set at a time. To do this, load only the floppies which contain the files for the first distribution set, extract them, and then change to the temporary directory and remove them with the command "rm set_name.??".) Once you are finished extracting all of the sets that you wish to install, you should proceed to the instructions below (after the last install medium type-specific instructions), that explain how you should configure your system. To install from tape: The first thing you should do is pick a temporary directory where the distribution files can be stored. To do this, enter the command "Set_tmp_dir", and enter the name of the temporary directory. (Don't forget that your disk is mounted under /mnt; you should probably pick a directory under /mnt/usr.) The default is /mnt/usr/distrib. After you have picked a temporary directory, enter the "Load_tape" command, to load the distribution sets from tape. You will be asked which tape drive to use. The default is "rst0", which is correct if you're using the SCSI tape drive with the lowest SCSI ID number. (For the SCSI tape drive with the next lowest SCSI ID number, you should use "rst1", and so on.) You will be prompted to hit return when you have inserted the tape into the tape drive. When you do, the contents of the tape will be extracted into the temporary directory, and the names of the files being extracted will be printed. After the tape has been extracted, to go the directory containing the first distribution set you wish to install. (Depending on how you made the tape, it's probably a subdirectory of the temporary directory you specified above.) Once there, run the "Set_tmp_dir" command again, and accept its default answer by hitting return at the prompt. Use the "Extract" command to extract the distribution set. For instance, if you're extracting the "base" set, use the command: Extract base You will be asked if you wish the extraction to be verbose. If you reply affirmatively, the name of each file being extracted will be printed. Repeat the previous two steps for each distribution set you wish to install. Change to the set's directory, run "Set_tmp_dir", and then run "Extract " to extract the set. Once you are finished extracting all of the sets that you wish to install, you should proceed to the instructions below (after the last install medium type-specific instructions), that explain how you should configure your system. To install via FTP or NFS: The first thing you should do is pick a temporary directory where the distribution files can be stored. To do this, enter the command "Set_tmp_dir", and enter the name of the temporary directory. (Don't forget that your disk is mounted under /mnt; you should probably pick a directory under /mnt/usr.) The default is /mnt/usr/distrib. Configure the SLIP interface, with the following command sequence: slattach -h -s tty00 ifconfig sl0 where "" is the network speed, and "" is the numeric IP address of the machine you are going to install NetBSD/x68k, while "" is the address of the peer machine connected with your machine. You might have to configure the peer SLIP interface with similar sequence (depending on the peer system). For instance, the sequence slattach -h -s 38400 tty00 ifconfig sl0 192.168.0.1 192.168.0.10 configures the SLIP interface for the network between your machine (with IP address 192.168.0.1) and the peer (192.168.0.10) with speed 38400 bps. Note that IP addresses 192.168.*.* are the private IP addresses described in RFC 1597. If you are NFS-mounting the distribution sets, mount them on the temporary directory with a command like: mount -t nfs : where is the server's numeric IP address, is the path to the distribution files on the server, and is the name of the local temporary directory. Once this is done, proceed as if you had loaded the files from tape, changing to the appropriate directories, running "Set_tmp_dir", and running "Extract" as appropriate. If you are retrieving the distribution sets using ftp, change into the temporary directory, and execute the command: ftp where is once again the server's numeric IP address. Get the files with FTP, taking care to use binary mode when transferring the files. Once you have all of the files for the distribution sets that you wish to install, you can proceed using the instructions above, as if you had installed from a floppy. (Note that as with the floppy install, if you're short on disk space, you can transfer only one set at a time, extract it, then delete it, to save space.) Once you have finished extracting all of the distribution sets that you wish to install, and are back at the "#" prompt, you are ready to configure your system. The configuration utility expects that you have installed the "base" and "etc" distribution sets. If you have not, you will not be able to run it successfully (nor will you have a functional system, in any case). To configure your newly-installed NetBSD system, run the command "Configure". It will ask you for the system's host name, domain name, and other network configuration information. It will set up your configuration files and make the device nodes for the newly-installed system. Congratulations, you have successfully installed NetBSD _VER. When you d458 12 a469 5 Some of the files in the NetBSD _VER distribution might need to be tailored for your site. In particular, the /etc/sendmail.cf file will almost definitely need to be adjusted, and other files in /etc including /etc/rc.conf will probably need to be modified, as well. If @ 1.5 log @Updated for the new install procedure with the single-disk miniroot. Use _VER macro for the version number. @ text @d1 1 a1 1 $NetBSD: install,v 1.4 1998/08/23 12:42:21 hubertf Exp $ d60 2 a61 8 You will be asked what type of disk driver you have. The valid options are listed by the install program, to make sure you get it right. If you are SURE that it does, reply affirmatively. Otherwise, the install program will automatically reserve space for bad144 tables. The install program will then tell you which disks of that type it can install on, and ask you which it should use. d167 14 d209 1 a209 1 "man" distribution set, and finally the "etc" d212 1 a212 1 Extract man a362 7 Kernel Installation: The kernel must be installed by hand. Type # cd /mnt # gzip -dc $tmp_dir/netbsd-ALL.gz > netbsd where $tmp_dir will be extracted to the distribution sets directory. @ 1.4 log @Add notes about steps to do after installation that are common to all platforms; Thanks to Colin Wood and Simon Burge for their comments. @ text @d1 1 a1 1 $NetBSD: install,v 1.3 1998/01/09 18:48:04 perry Exp $ a18 7 If NetBSD will be sharing the disk with Human68k or another operating system, you should have already completed the section of these notes that instructed you on how to prepare your hard disk. You should know the size of the NetBSD area of the disk and its offset from the beginning of the disk. You will need this information when setting up your NetBSD partitions. d29 8 a36 9 Boot your machine using of the appropriate kernel-copy floppy. If the boot prompt does not appear in a reasonable amount of time, you either have a bad boot floppy or a hardware problem. Try writing the kernel-copy floppy image to a different disk, and using that. If it still doesn't work, NetBSD probably can't be run on your hardware. This can probably be considered a bug, so you might want to report it. If you do, please include as many details about your system configuration as you can. d39 1 a39 13 probably around a minute or so. After its loaded, you will be presented with the message: "Insert file system floppy" If you do not see that message after a reasonable time has elapsed, or the spinning cursor has stopped and nothing further has happened, either your boot floppy is bad or you are having hardware problems, and should proceed as outlined above. Once you have reached that prompt, remove the kernel-copy floppy from the floppy drive. Make sure that the installation disk (the "inst12" floppy) is writable, insert it into the floppy drive, and hit any key. d44 1 a44 1 "sd0" or "wd0" and the geometry will be printed on a line that d71 4 a74 5 default response is "mywd" or "mysd" depending on the type of your disk, and for most purposes it will be OK. If you choose to name it something different, make sure the name is a single word and contains no special characters. You don't need to remember this name. a94 13 You will be asked for the size of the NetBSD portion of the disk. If you're installing on the whole disk, reply with the size of the disk, as printed earlier by the install program. If you're using only part of the disk, reply with the size that you specified in the partition editor. (Don't forget to enter the size in the units you specified in the last step!) If you are not installing on the whole disk, you will be asked fro the offset of the NetBSD partition from the beginning of the disk. Reply with the appropriate offset (again, in whichever units you specified), as determined by how you set up your disk using the partition editor. d96 2 a97 2 partition. It should be at least 13M, but if you are going to be doing development, 14-16M is a more desirable size. This d150 23 a173 8 If you only have only one floppy drive, the order of installation is different. Follow the directions in the "Kernel installation" section which will help you install a kernel on the hard drive and then boot off the hard drive, then continue with the rest of the process described here to install the distribution sets from floppy: d188 1 a188 3 you're using the second. (Remember that you CANNOT use the floppy drive that you booted from. If you booted from "A:", you must load from "B:".) d200 2 a201 2 install the "base12" distribution set, followed by the "man12" distribution set, and finally the "etc12" d203 3 a205 3 Extract base12 Extract man12 Extract etc12 d260 1 a260 1 set. For instance, if you're extracting the "base12" d262 1 a262 1 Extract base12 d347 1 a347 1 expects that you have installed the "base12" and "etc12" d357 19 a375 33 Enter "halt" at the prompt to halt the system. When the system is halted, remove the "inst12" floppy from the floppy drive, and replace it with the NetBSD _VER kernel-copy floppy that you previously booted from. Reboot with that floppy. with that floppy. Once again, you will be prompted to insert a file system floppy. DO NOT replace the kernel-copy floppy, just hit any key. Again, While booting, you may see several warnings. You may be warned that no swap space is present, that init(8) cannot find /etc/rc, and that one or more databases with names like "pwd.db" cannot be found. Do not be alarmed, as, again, these are completely normal. Hit return at the prompt asking you for a shell name. You will be presented with a shell prompt, at which you should enter the "copy_kernel" command. It will ask you what partition to copy the kernel to, and you should reply with the name of your root partition (e.g. sd0a or wd0a). You will be asked if you are sure that you want to copy the kernel. Reply affirmatively, and it will check the file system on your root partition, mount it, and copy the kernel. Once the kernel is copied, you should use "halt" to halt the system. Once the system is halted, remove the kernel-copy floppy from the floppy disk drive, and hit any key to reboot. Congratulations, you have successfully installed NetBSD _VER. @ 1.3 log @RCS Id Police. @ text @d1 1 a1 1 $NetBSD$ d381 1 a381 1 drive, and replace it with the NetBSD 1.2 kernel-copy floppy d410 1 a410 12 Congratulations, you have successfully installed NetBSD 1.2. When you reboot into NetBSD, you should log in as "root" at the login prompt. There is no initial password, but if you're using the machine in a networked environment, you should create yourself an account and protect it and the "root" account with good passwords. Some of the files in the NetBSD 1.2 distribution might need to be tailored for your site. In particular, the /etc/sendmail.cf file will almost definitely need to be adjusted, and other files in /etc will probably need to be modified, as well. If you are unfamiliar with UN*X-like system administration, it's recommended that you buy a book that discusses it. @ 1.2 log @update. @ text @d1 2 @ 1.2.2.1 log @pull up revs 1.3-1.6 from trunk (minoura) @ text @a0 2 $NetBSD: install,v 1.6 1998/11/04 14:21:30 minoura Exp $ d17 7 d34 9 a42 8 Boot your machine using of boot floppy. If the boot prompt does not appear in a reasonable amount of time, you either have a bad boot floppy or a hardware problem. Try writing the boot floppy image to a different disk, and using that. If it still doesn't work, NetBSD probably can't be run on your hardware. This can probably be considered a bug, so you might want to report it. If you do, please include as many details about your system configuration as you can. d45 13 a57 1 probably around a minute or so. d62 1 a62 1 "sd0" and the geometry will be printed on a line that d78 8 a85 2 The install program will then tell you which disks it can install on, and ask you which it should use. d89 5 a93 4 default response is "mysd", and for most purposes it will be OK. If you choose to name it something different, make sure the name is a single word and contains no special characters. You don't need to remember this name. d114 13 d128 2 a129 2 partition. It should be at least 15M, but if you are going to be doing development, 20M is a more desirable size. This d182 8 a189 18 To install from removable hard disk: The first thing you should do is pick a temporary directory where the distribution files can be stored. To do this, enter the command "Set_tmp_dir", and enter the name of the temporary directory. (Don't forget that your disk is mounted under /mnt; you should probably pick a directory under /mnt/usr.) The default is /mnt/usr/distrib. Insert the media onto the drive. Check the device name of your drive from the boot message. The device name is something like "sd2" depending on the SCSI disk drives connected to your machine. Note that the boot message can be displayed with the command "more /kern/msgbuf". Mount the disk on the temporary directory with a command like: a190 19 mount -t msdos /dev/sd2c if your removable drive's name is sd2. Run the "Extract" command once for each distribution set you wish to install. For instance, if you wish to install the "base" distribution set, followed by the "kern" distribution set, and finally the "etc" distribution set, use the commands: Extract base Extract kern Extract etc For each extraction, it will ask you if the extraction should be verbose. If you reply affirmatively, it will print out the name of each file that's being extracted. To install from floppy: d205 3 a207 1 you're using the second. d219 2 a220 2 install the "base" distribution set, followed by the "kern" distribution set, and finally the "etc" d222 3 a224 3 Extract base Extract kern Extract etc d279 1 a279 1 set. For instance, if you're extracting the "base" d281 1 a281 1 Extract base d366 1 a366 1 expects that you have installed the "base" and "etc" d375 32 d408 1 a408 1 Congratulations, you have successfully installed NetBSD _VER. When you d414 1 a414 1 Some of the files in the NetBSD _VER distribution might need to be d416 4 a419 4 almost definitely need to be adjusted, and other files in /etc including /etc/rc.conf will probably need to be modified, as well. If you are unfamiliar with UN*X-like system administration, it's recommended that you buy a book that discusses it. @ 1.1 log @first commit of x68k related document. @ text @d306 2 a307 2 Configure the appropriate ethernet interface (e.g. ed0, ep0, etc.) up, with a command like: d309 2 a310 1 ifconfig [netmask ] d312 17 a328 46 where "" is the interface name, like those listed above, and "" is the numeric IP address of the interface. If the interface has a special netmask, supply the word "netmask" at and that netmask at the end of the command line. (The brackets indicate that those arguments are optional.) For instance, to configure interface ed0 with IP address 129.133.10.10, use the command: ifconfig ed0 129.133.10.10 and to configure interface ep0 with IP address 128.32.240.167 and a special netmask, 0xffffff00, use the command: ifconfig ep0 128.32.240.167 netmask 0xffffff00 If your board selects software selection of the ethernet interface to use, you might have to add special flags to the "ifconfig" command you use. Consult the table below for the appropriate flags: Interface Type Connector Flags --------- ---- --------- ----- ed with WD/SMC* BNC [none necessary] ed with WD/SMC* UTP [none necessary] ed with WD/SMC* AUI link0 * Older WD boards do not support software configuration, and must be configured via jumpers. These flags will have no effect on them. In other words, if, in the last example, the AUI port of the board were being used, you would use the command: ifconfig ep0 128.32.240.167 netmask 0xffffff00 link0 If the NFS server or FTP server is not on a directly- connected network, you need to set up a route to it using a command like: route add default where is your gateway's numeric IP address. @ 1.1.2.1 log @file install was added on branch netbsd-1-2 on 1996-08-27 20:07:04 +0000 @ text @d1 447 @ 1.1.2.2 log @Sync with trunk. @ text @a0 419 Installing NetBSD is a relatively complex process, but if you have this document in hand and are careful to read and remember the information which is presented to you by the install program, it shouldn't be too much trouble. Before you begin, you should know the geometry of your hard disk, i.e. the sector size (note that sector sizes other than 512 bytes are not currently supported), the number of sectors per track, the number of tracks per cylinder (also known as the number of heads), and the number of cylinders on the disk. The NetBSD kernel will try to discover these parameters on its own, and if it can it will print them at boot time. If possible, you should use the parameters it prints. (You might not be able to because you're sharing your disk with another operating system, or because your disk is old enough that the kernel can't figure out its geometry.) If NetBSD will be sharing the disk with Human68k or another operating system, you should have already completed the section of these notes that instructed you on how to prepare your hard disk. You should know the size of the NetBSD area of the disk and its offset from the beginning of the disk. You will need this information when setting up your NetBSD partitions. You should now be ready to install NetBSD. It might be handy for you to have a pencil, some paper, and a calculator handy. The following is a walk-through of the steps you will take while getting NetBSD installed on your hard disk. If any question has a default answer, it will be displayed in brackets ("[]") after the question. If you wish to stop the installation, you may hit Control-C at any time, but if you do, you'll have to begin the installation process again from scratch. Boot your machine using of the appropriate kernel-copy floppy. If the boot prompt does not appear in a reasonable amount of time, you either have a bad boot floppy or a hardware problem. Try writing the kernel-copy floppy image to a different disk, and using that. If it still doesn't work, NetBSD probably can't be run on your hardware. This can probably be considered a bug, so you might want to report it. If you do, please include as many details about your system configuration as you can. It will take a while to load the kernel from the floppy, probably around a minute or so. After its loaded, you will be presented with the message: "Insert file system floppy" If you do not see that message after a reasonable time has elapsed, or the spinning cursor has stopped and nothing further has happened, either your boot floppy is bad or you are having hardware problems, and should proceed as outlined above. Once you have reached that prompt, remove the kernel-copy floppy from the floppy drive. Make sure that the installation disk (the "inst12" floppy) is writable, insert it into the floppy drive, and hit any key. You will then be presented with the NetBSD kernel boot messages. You will want to read them, to determine your disk's name and geometry. Its name will be something like "sd0" or "wd0" and the geometry will be printed on a line that begins with its name. As mentioned above, you will need your disk's geometry when creating NetBSD's partitions. You will also need to know the name, to tell the install tools what disk to install on. While booting, you will probably see several warnings. You should be warned that no swap space is present, and that init(8) cannot find /etc/rc. Do not be alarmed, these are completely normal. When you reach the prompt asking you for a shell name, just hit return. You will be presented with a welcome message and a prompt, asking if you wish to proceed with the installation process. If you wish to proceed, enter "y" and hit return. You will be asked what type of disk driver you have. The valid options are listed by the install program, to make sure you get it right. If you are SURE that it does, reply affirmatively. Otherwise, the install program will automatically reserve space for bad144 tables. The install program will then tell you which disks of that type it can install on, and ask you which it should use. Reply with the name of your disk. You will then be asked to name your disk's disklabel. The default response is "mywd" or "mysd" depending on the type of your disk, and for most purposes it will be OK. If you choose to name it something different, make sure the name is a single word and contains no special characters. You don't need to remember this name. You will be prompted for your disk's geometry information, i.e. the number of bytes per sector, cylinders on the disk, tracks per cylinder (heads), and sectors per track. Enter them when they are requested. If you make a mistake, hit Control-C and when you get to the shell prompt, restart the install process by running the "install" command. Once you have entered this data, the install program will tell you the total size of your disk, in both sectors, and cylinders. Remember this number; if you're installing on the whole disk, you'll need it again soon. When describing your partitions, you will have the option of entering data about them in units of disk sectors or cylinders. If you choose to enter the information in units of sectors, remember that, for optimal performance, partitions should begin and end on cylinder boundaries. You will be asked about which units you wish to use, and you should reply with "c" for cylinders, or "s" for sectors. You will be asked for the size of the NetBSD portion of the disk. If you're installing on the whole disk, reply with the size of the disk, as printed earlier by the install program. If you're using only part of the disk, reply with the size that you specified in the partition editor. (Don't forget to enter the size in the units you specified in the last step!) If you are not installing on the whole disk, you will be asked fro the offset of the NetBSD partition from the beginning of the disk. Reply with the appropriate offset (again, in whichever units you specified), as determined by how you set up your disk using the partition editor. You will be asked to enter the size of your NetBSD root partition. It should be at least 13M, but if you are going to be doing development, 14-16M is a more desirable size. This size should be expressed in units of sectors or cylinders, depending on which you said you wanted to use. Next, you will be asked for the size of your swap partition. You should probably allocate twice as much swap space as you have real memory. Systems that will be heavily used should have more swap space allocated, and systems that will be lightly used can get by with less. If you want the system to be able to save crash dumps when it panics, you will need at least as much swap space as you have RAM. Again, this number should be expressed in units of sectors or cylinders, as appropriate. The install program will then ask you for information about the rest of the partitions you want on your disk. For most purposes, you will want only one more partition, "/usr". (Machines used as servers will probably also want /var as a separate partition. That can be done with these installation tools, but is not covered here.) The install program will tell you how much space there is left to be allocated in the NetBSD area of the disk, and, if you only want one more partition ("/usr"), you should enter it at the prompt when the installer asks you how large the next partition should be. It will then ask you for the name of the mount point for that partition. If you're doing a basic installation, that is "/usr". YOU ARE NOW AT THE POINT OF NO RETURN. Nothing has been written to your disk yet, but if you confirm that you want to install NetBSD, your hard drive will be modified, and its contents may be scrambled at the whim of the install program. This is especially likely if you have given the install program incorrect information. If you are sure you want to proceed, enter "yes" at the prompt. The install program will now label your disk and make the file systems you specified. The filesystems will be initialized to contain NetBSD bootstrapping binaries and configuration files. It will also create an /etc/fstab for your system, and mount all of the file systems under /mnt. (In other words, your root partition will be mounted on /mnt, your /usr partition on /mnt/usr, and so on.) There should be no errors in this section of the installation. If there are, restart from the beginning of the installation process. You will be placed at a shell prompt ("#"). The remaining tasks are to copy the kernel from the kernel copy floppy to the hard drive's root filesystem and install the distribution sets. The flow of installation differs depending on your hardware resources, and on what media the distribution sets reside. To install from floppy: If you only have only one floppy drive, the order of installation is different. Follow the directions in the "Kernel installation" section which will help you install a kernel on the hard drive and then boot off the hard drive, then continue with the rest of the process described here to install the distribution sets from floppy: The first thing you should do is pick a temporary directory where the distribution files can be stored. To do this, enter the command "Set_tmp_dir", and enter the name of the temporary directory. (Don't forget that if your disk is still mounted under /mnt; you should probably pick a directory under /mnt/usr.) After you have picked a temporary directory, enter the "Load_fd" command, to load the distribution sets from your floppies. You will be asked which floppy drive to use. Enter "0" (zero) if you're using the first floppy drive (i.e. what DOS would call "A:"), or enter "1" if you're using the second. (Remember that you CANNOT use the floppy drive that you booted from. If you booted from "A:", you must load from "B:".) You will be prompted to insert a floppy into the drive, to have its contents copied to your hard disk. Do so, and hit return to begin copying. When that is done, read the remainder of the floppies that contain the distribution sets that you want to install, one by one. When the last is read, and you are being prompted for another, hit Control-C. Run the "Extract" command once for each distribution set you wish to install. For instance, if you wish to install the "base12" distribution set, followed by the "man12" distribution set, and finally the "etc12" distribution set, use the commands: Extract base12 Extract man12 Extract etc12 For each extraction, it will ask you if the extraction should be verbose. If you reply affirmatively, it will print out the name of each file that's being extracted. (Note: if you know that you will be running low on disk space when installing NetBSD, you can load and extract one distribution set at a time. To do this, load only the floppies which contain the files for the first distribution set, extract them, and then change to the temporary directory and remove them with the command "rm set_name.??".) Once you are finished extracting all of the sets that you wish to install, you should proceed to the instructions below (after the last install medium type-specific instructions), that explain how you should configure your system. To install from tape: The first thing you should do is pick a temporary directory where the distribution files can be stored. To do this, enter the command "Set_tmp_dir", and enter the name of the temporary directory. (Don't forget that your disk is mounted under /mnt; you should probably pick a directory under /mnt/usr.) The default is /mnt/usr/distrib. After you have picked a temporary directory, enter the "Load_tape" command, to load the distribution sets from tape. You will be asked which tape drive to use. The default is "rst0", which is correct if you're using the SCSI tape drive with the lowest SCSI ID number. (For the SCSI tape drive with the next lowest SCSI ID number, you should use "rst1", and so on.) You will be prompted to hit return when you have inserted the tape into the tape drive. When you do, the contents of the tape will be extracted into the temporary directory, and the names of the files being extracted will be printed. After the tape has been extracted, to go the directory containing the first distribution set you wish to install. (Depending on how you made the tape, it's probably a subdirectory of the temporary directory you specified above.) Once there, run the "Set_tmp_dir" command again, and accept its default answer by hitting return at the prompt. Use the "Extract" command to extract the distribution set. For instance, if you're extracting the "base12" set, use the command: Extract base12 You will be asked if you wish the extraction to be verbose. If you reply affirmatively, the name of each file being extracted will be printed. Repeat the previous two steps for each distribution set you wish to install. Change to the set's directory, run "Set_tmp_dir", and then run "Extract " to extract the set. Once you are finished extracting all of the sets that you wish to install, you should proceed to the instructions below (after the last install medium type-specific instructions), that explain how you should configure your system. To install via FTP or NFS: The first thing you should do is pick a temporary directory where the distribution files can be stored. To do this, enter the command "Set_tmp_dir", and enter the name of the temporary directory. (Don't forget that your disk is mounted under /mnt; you should probably pick a directory under /mnt/usr.) The default is /mnt/usr/distrib. Configure the SLIP interface, with the following command sequence: slattach -h -s tty00 ifconfig sl0 where "" is the network speed, and "" is the numeric IP address of the machine you are going to install NetBSD/x68k, while "" is the address of the peer machine connected with your machine. You might have to configure the peer SLIP interface with similar sequence (depending on the peer system). For instance, the sequence slattach -h -s 38400 tty00 ifconfig sl0 192.168.0.1 192.168.0.10 configures the SLIP interface for the network between your machine (with IP address 192.168.0.1) and the peer (192.168.0.10) with speed 38400 bps. Note that IP addresses 192.168.*.* are the private IP addresses described in RFC 1597. If you are NFS-mounting the distribution sets, mount them on the temporary directory with a command like: mount -t nfs : where is the server's numeric IP address, is the path to the distribution files on the server, and is the name of the local temporary directory. Once this is done, proceed as if you had loaded the files from tape, changing to the appropriate directories, running "Set_tmp_dir", and running "Extract" as appropriate. If you are retrieving the distribution sets using ftp, change into the temporary directory, and execute the command: ftp where is once again the server's numeric IP address. Get the files with FTP, taking care to use binary mode when transferring the files. Once you have all of the files for the distribution sets that you wish to install, you can proceed using the instructions above, as if you had installed from a floppy. (Note that as with the floppy install, if you're short on disk space, you can transfer only one set at a time, extract it, then delete it, to save space.) Once you have finished extracting all of the distribution sets that you wish to install, and are back at the "#" prompt, you are ready to configure your system. The configuration utility expects that you have installed the "base12" and "etc12" distribution sets. If you have not, you will not be able to run it successfully (nor will you have a functional system, in any case). To configure your newly-installed NetBSD system, run the command "Configure". It will ask you for the system's host name, domain name, and other network configuration information. It will set up your configuration files and make the device nodes for the newly-installed system. Kernel Installation: Enter "halt" at the prompt to halt the system. When the system is halted, remove the "inst12" floppy from the floppy drive, and replace it with the NetBSD 1.2 kernel-copy floppy that you previously booted from. Reboot with that floppy. with that floppy. Once again, you will be prompted to insert a file system floppy. DO NOT replace the kernel-copy floppy, just hit any key. Again, While booting, you may see several warnings. You may be warned that no swap space is present, that init(8) cannot find /etc/rc, and that one or more databases with names like "pwd.db" cannot be found. Do not be alarmed, as, again, these are completely normal. Hit return at the prompt asking you for a shell name. You will be presented with a shell prompt, at which you should enter the "copy_kernel" command. It will ask you what partition to copy the kernel to, and you should reply with the name of your root partition (e.g. sd0a or wd0a). You will be asked if you are sure that you want to copy the kernel. Reply affirmatively, and it will check the file system on your root partition, mount it, and copy the kernel. Once the kernel is copied, you should use "halt" to halt the system. Once the system is halted, remove the kernel-copy floppy from the floppy disk drive, and hit any key to reboot. Congratulations, you have successfully installed NetBSD 1.2. When you reboot into NetBSD, you should log in as "root" at the login prompt. There is no initial password, but if you're using the machine in a networked environment, you should create yourself an account and protect it and the "root" account with good passwords. Some of the files in the NetBSD 1.2 distribution might need to be tailored for your site. In particular, the /etc/sendmail.cf file will almost definitely need to be adjusted, and other files in /etc will probably need to be modified, as well. If you are unfamiliar with UN*X-like system administration, it's recommended that you buy a book that discusses it. @ 1.1.2.3 log @1.2 -> 1.2.1, foo12 -> foo121 @ text @d56 1 a56 1 disk (the "inst121" floppy) is writable, insert it into the d219 2 a220 2 install the "base121" distribution set, followed by the "man121" distribution set, and finally the "etc121" d222 3 a224 3 Extract base121 Extract man121 Extract etc121 d279 1 a279 1 set. For instance, if you're extracting the "base121" d281 1 a281 1 Extract base121 d366 1 a366 1 expects that you have installed the "base121" and "etc121" d378 2 a379 2 system is halted, remove the "inst121" floppy from the floppy drive, and replace it with the NetBSD 1.2.1 kernel-copy floppy d408 1 a408 1 Congratulations, you have successfully installed NetBSD 1.2.1. When you d414 1 a414 1 Some of the files in the NetBSD 1.2.1 distribution might need to be @