Home | History | Annotate | Line # | Download | only in i386
install revision 1.20
      1  1.20     is 	$NetBSD: install,v 1.20 1998/07/04 18:51:00 is Exp $	
      2  1.18  perry 
      3  1.14   fvdl 
      4  1.14   fvdl 0. Introduction
      5  1.14   fvdl 
      6  1.14   fvdl 	Using "sysinst", installing NetBSD is a relatively easy process.  You
      7  1.14   fvdl 	still should read this document and have it in hand when doing the
      8  1.14   fvdl 	installation process. This document tries to be a good guideline
      9  1.14   fvdl 	for the installation and as such covers many details to be complete.
     10  1.14   fvdl 	Do not let this discourage you, the install program is not hard
     11  1.14   fvdl 	to use.
     12  1.14   fvdl 
     13  1.14   fvdl 0.1 Possible PCMCIA issues
     14  1.14   fvdl 
     15  1.14   fvdl 	There is a serious bug that may make installation of NetBSD on PCMCIA
     16  1.14   fvdl 	machines difficult. This bug does not make USE of PCMCIA difficult  
     17  1.14   fvdl 	once a machine is installed. If you do not have PCMCIA on your
     18  1.14   fvdl 	machine (PCMCIA is only really used on laptop machines), you
     19  1.14   fvdl 	can skip this section, and ignore the "[PCMCIA]" notes.
     20  1.14   fvdl 
     21  1.14   fvdl 	This will explains how to work around the installation problem.
     22  1.14   fvdl 	It is anticipated that this bug will be fixed by NetBSD 1.4
     23  1.14   fvdl    
     24  1.14   fvdl 	What is the bug: The kernel keeps careful track of what interrupts
     25  1.14   fvdl 	and i/o ports are in use during autoconfiguration. It then allows
     26  1.14   fvdl 	the PCMCIA devices to pick unused interrupts and ports.
     27  1.14   fvdl 	Unfortunately, not all devices are included in the INSTALL
     28  1.14   fvdl 	kernels in order to save space. Let's say your laptop has a
     29  1.14   fvdl 	soundblaster device built in. The INSTALL kernel has no sound
     30  1.14   fvdl 	support. The PCMCIA code might allocate your soundblaster's IRQ
     31  1.14   fvdl 	and i/o ports to PCMCIA devices, causing them not to work. This
     32  1.14   fvdl 	is especially bad if one of the devices in question is your
     33  1.14   fvdl 	ethernet card.
     34  1.14   fvdl 
     35  1.14   fvdl 	This problem will impact some, but not all, users of PCMCIA. If
     36  1.14   fvdl 	this bug is hurting you, watch the "[PCMCIA]" notes that will
     37  1.14   fvdl 	appear in this document.
     38  1.14   fvdl 
     39  1.14   fvdl 1. General
     40  1.14   fvdl 
     41  1.14   fvdl 	The following is a walk-through of the steps you will take while
     42  1.14   fvdl 	getting NetBSD installed on your hard disk.  sysinst is a menu driven
     43  1.14   fvdl 	installation system that allows for some freedom in doing the
     44  1.14   fvdl 	installation.  Sometimes, questions will be asked and in many cases
     45  1.14   fvdl 	the default answer will be displayed in brackets ("[]") after the
     46  1.14   fvdl 	question.  If you wish to stop the installation, you may hit Control-C
     47  1.14   fvdl 	at any time, but if you do, you'll have to begin the installation
     48  1.14   fvdl 	process again from scratch.
     49  1.14   fvdl 
     50  1.19   fvdl 2. Quick install
     51  1.19   fvdl 
     52  1.19   fvdl 	First, let's describe a quick install. The other sections of
     53  1.19   fvdl 	this document go into the installation procedure in more
     54  1.19   fvdl 	detail, but you may find that you do not need this. If you
     55  1.19   fvdl 	want detailed instructions, skip to section 3. This section
     56  1.19   fvdl 	describes a basic installation, using a CD-ROM install as
     57  1.19   fvdl 	an example.
     58  1.19   fvdl 
     59  1.19   fvdl 2.1 What you need.
     60  1.19   fvdl 
     61  1.19   fvdl 	* The distribution sets (in this example, they are on CD).
     62  1.19   fvdl 	* One 1.44M 3.5" floppy.
     63  1.19   fvdl 	* A PC with a 386 or newer processor, a CD-ROM drive
     64  1.19   fvdl 	  (SCSI or ATAPI), a harddisk and a minimum of 4Mb of
     65  1.19   fvdl 	  memory installed.
     66  1.19   fvdl 	* The harddisk should have at least 70 + N megabytes of
     67  1.19   fvdl 	  space free, where N is the number of megabytes of
     68  1.19   fvdl 	  main memory in your system. If you wish to install
     69  1.19   fvdl 	  the X window system as well, you will need at least
     70  1.19   fvdl 	  60Mb more.
     71  1.19   fvdl 
     72  1.19   fvdl 2.2 Creating a bootfloppy.
     73  1.19   fvdl 
     74  1.19   fvdl 	* You can create the floppy needed for installation
     75  1.19   fvdl 	  under DOS or Windows. Supposing your 1.44M floppy
     76  1.19   fvdl 	  drive is drive A:, and your CD is drive E: do the
     77  1.19   fvdl 	  following from an MS-DOS command prompt:
     78  1.19   fvdl 
     79  1.19   fvdl 	  e:
     80  1.19   fvdl 	  cd \NetBSD-_VER\installation\misc
     81  1.19   fvdl 	  rawrite
     82  1.19   fvdl 
     83  1.19   fvdl 	  When asked for a source filename, answer
     84  1.19   fvdl 
     85  1.19   fvdl 	  ..\floppy\boot.fs
     86  1.19   fvdl 
     87  1.19   fvdl 	  When asked for a destination drive answer
     88  1.19   fvdl 
     89  1.19   fvdl 	  a
     90  1.19   fvdl 
     91  1.19   fvdl 2.3 The installation
     92  1.19   fvdl 
     93  1.19   fvdl 	* Insert the bootfloppy you just created. Restart the
     94  1.19   fvdl 	  PC. You will be presented with a menu.
     95  1.19   fvdl 	* If you wish, you can configure some network settings
     96  1.19   fvdl 	  immediately by choosing the "utilities" menu and
     97  1.19   fvdl 	  then "configure network". This isn't needed, but
     98  1.19   fvdl 	  more convenient to do now. Go back to the main menu.
     99  1.19   fvdl 	* Choose "install"
    100  1.19   fvdl 	* You will be guided through some steps regarding the
    101  1.19   fvdl 	  setup of your harddisk, and parts to install. When
    102  1.19   fvdl 	  in doubt, refer to the rest of this document for
    103  1.19   fvdl 	  details.
    104  1.19   fvdl 	* After your disk has been prepared, choose CD-ROM
    105  1.19   fvdl 	  as the medium. The default values for the path
    106  1.19   fvdl 	  and device should be ok.
    107  1.19   fvdl 	* After all the files have been unpacked, go back to
    108  1.19   fvdl 	  the main menu and select "reboot", after you
    109  1.19   fvdl 	  have removed the bootfloppy from the drive.
    110  1.19   fvdl 	* NetBSD will now boot. You should log in as root,
    111  1.19   fvdl 	  and set a password for that account. You are also
    112  1.19   fvdl 	  advised to edit the file "/etc/rc.conf" to match
    113  1.19   fvdl 	  your system needs.
    114  1.19   fvdl 	* Your installation is now complete.
    115  1.19   fvdl 	* For configuring the X window system, if installed,
    116  1.19   fvdl 	  see the files in /usr/X11R6/lib/X11/doc. Further
    117  1.19   fvdl 	  information can be found on http://www.xfree86.org/
    118  1.19   fvdl 
    119  1.19   fvdl 3. Booting NetBSD
    120  1.14   fvdl 
    121  1.14   fvdl 	[PCMCIA]: unplug your PCMCIA devices, so that they won't be
    122  1.14   fvdl 	found by NetBSD.
    123   1.1    cgd 
    124  1.10  perry         Boot your machine using the boot floppy.  The boot loader will
    125  1.10  perry         start, and will print a countdown and begin booting. You will
    126  1.10  perry         likely see one "file not found" warning from the boot loader
    127  1.10  perry         -- ignore this as it is normal, and indicates the boot loader
    128  1.10  perry         failed to find a normal kernel to boot before trying to boot a
    129  1.10  perry         compressed kernel.
    130   1.8  perry 
    131   1.8  perry         If the boot loader messages do not appear in a reasonable
    132   1.8  perry         amount of time, you either have a bad boot floppy or a
    133   1.8  perry         hardware problem.  Try writing the install floppy image to
    134   1.8  perry         a different disk, and using that.
    135   1.8  perry 
    136   1.1    cgd 	If that doesn't work, try booting after disabling your CPU's
    137   1.1    cgd 	internal and external caches (if any).  If it still doesn't
    138   1.1    cgd 	work, NetBSD probably can't be run on your hardware.  This can
    139   1.1    cgd 	probably be considered a bug, so you might want to report it.
    140   1.1    cgd 	If you do, please include as many details about your system
    141   1.1    cgd 	configuration as you can.
    142   1.1    cgd 
    143   1.1    cgd 	It will take a while to load the kernel from the floppy,
    144   1.8  perry 	probably around a minute or so.
    145   1.1    cgd 
    146   1.1    cgd 	You will then be presented with the NetBSD kernel boot
    147  1.14   fvdl 	messages. This may take a little while, as NetBSD will
    148  1.14   fvdl 	be probing for a lot of types of hardware,  You may want to read the
    149  1.14   fvdl 	boot messages, to notice your disk's name and geometry.  Its name
    150  1.14   fvdl 	will be something like "sd0" or "wd0" and the geometry will be
    151  1.14   fvdl 	printed on a line that begins with its name.  As mentioned above,
    152  1.14   fvdl 	you may need your disk's geometry when creating NetBSD's partitions.
    153  1.14   fvdl 	You will also need to know the name, to tell sysinst on which disk
    154  1.14   fvdl 	to install. The most important thing to know is that
    155  1.14   fvdl 	'wd0 is NetBSD's name for your first IDE disk, wd1 the second,
    156  1.14   fvdl 	etc. 'sd0' is your first SCSI disk, sd1 the second, etc.
    157   1.1    cgd 
    158   1.8  perry         Note that, once the system has finished booting, you need no
    159   1.8  perry         longer leave the floppy in the disk drive. Earlier version of
    160   1.8  perry         the NetBSD install floppies mounted the floppy as the system's
    161   1.8  perry         root partition, but the new installation floppies use a
    162   1.8  perry         ramdisk file system and are no longer dependent on the floppy
    163   1.8  perry         once it has booted.
    164   1.8  perry 
    165  1.14   fvdl 	Once NetBSD has booted and printed all the boot messages,
    166  1.14   fvdl 	you will be presented with a welcome message and a main menu.
    167  1.14   fvdl 	It will also include instructions for using the menus.
    168  1.14   fvdl 
    169  1.19   fvdl 4. Network configuration
    170  1.14   fvdl 
    171  1.14   fvdl 	[PCMCIA] You can skip this section, as you will only get data
    172  1.14   fvdl 	         from floppy in the first part of the install.
    173  1.14   fvdl 
    174  1.14   fvdl 	If you will not use network operation during the installation,
    175  1.14   fvdl 	but you do want your machine to be configured for networking once
    176  1.14   fvdl 	it is installed, you should first go to the utilities menu, and select
    177  1.14   fvdl 	the "Configure network option". If you only want to temporarily
    178  1.14   fvdl 	use networking during the installation, you can specify these
    179  1.14   fvdl 	parameters later. If you are not using Domain Name Service (DNS),
    180  1.14   fvdl 	you can give an empty response in reply to answers relating to
    181  1.14   fvdl 	this.
    182  1.14   fvdl 
    183  1.19   fvdl 5. The hard disk to install on and its parameters.
    184  1.14   fvdl 
    185  1.14   fvdl 	To start the installation, select the menu option to install
    186  1.14   fvdl 	NetBSD from the main menu.
    187  1.14   fvdl 
    188  1.14   fvdl 	The first thing is to identify the disk on which you want to
    189  1.14   fvdl 	install NetBSD.  sysinst will report a list of disks it finds
    190  1.14   fvdl 	and ask you for your selection.  Depending on how many disks
    191  1.14   fvdl 	are found, you may get a different message.  You should see
    192  1.14   fvdl 	disk names like "wd0", "wd1", "sd0", or "sd1".
    193  1.14   fvdl 
    194  1.14   fvdl 	sysinst next tries to figure out the real and BIOS geometry
    195  1.14   fvdl 	of your disk. It will present you with the values it found,
    196  1.14   fvdl 	if any, and will give you a chance to change them.
    197  1.14   fvdl 	Please note that if you change the values, sysinst WILL ALSO
    198  1.14   fvdl 	REINITIALIZE YOUR MBR.
    199  1.14   fvdl 
    200  1.14   fvdl 	You will also be asked if you want to use the last cylinder of
    201  1.14   fvdl 	the disk. Originally, the last cylinder of the disk was used for
    202  1.14   fvdl 	diagnostic purposes, but this is usually not a concern anymore
    203  1.14   fvdl 	these days. You will be able to specify whether you want to
    204  1.14   fvdl 	skip the last cylinder anyway.
    205  1.14   fvdl 
    206  1.14   fvdl 	Next, depending on whether you are using a "wdX" or a "sdX" disk,
    207  1.14   fvdl 	you will either be asked for the type of disk (wdX) you are
    208  1.14   fvdl 	using or you will be asked if you want to specify a fake geometry
    209  1.14   fvdl 	for your SCSI disk (sdX).  The types of disk are be IDE, ST-506
    210  1.14   fvdl 	or ESDI.  If you're installing on an ST-506 or ESDI drive, you'll
    211  1.14   fvdl 	be asked if your disk supports automatic sector forwarding.  If you
    212  1.14   fvdl 	are SURE that it does, reply affirmatively.  Otherwise, the install
    213  1.14   fvdl 	program will automatically reserve space for bad144 tables.
    214  1.14   fvdl 
    215  1.19   fvdl 6. Partitioning the disk.
    216  1.14   fvdl 
    217  1.19   fvdl 6.1 Which portion of the disk to use.
    218  1.14   fvdl 
    219  1.14   fvdl 	You will be asked if you want to use the entire disk or
    220  1.14   fvdl 	only part of the disk. If you decide to use the entire disk
    221  1.14   fvdl 	for NetBSD, it will be checked if there are already other
    222  1.14   fvdl 	systems present on the disk, and you will be asked to confirm
    223  1.14   fvdl 	whether you want to overwrite these.
    224  1.14   fvdl 
    225  1.14   fvdl 	If you want to use the entire disk for NetBSD, you can skip
    226  1.19   fvdl 	the following section and go to section 6.3, "Editing the
    227  1.14   fvdl 	NetBSD disklabel".
    228  1.14   fvdl 
    229  1.19   fvdl 6.2 Editing the Master Boot Record.
    230  1.14   fvdl 
    231  1.14   fvdl 	First, you will be prompted to specify the units of size
    232  1.14   fvdl 	that you want to express the sizes of the partitions in.
    233  1.14   fvdl 	You can either pick megabytes, cylinders or sectors.
    234  1.14   fvdl 
    235  1.14   fvdl 	After this, you will be presented with the current values
    236  1.14   fvdl 	stored in the MBR, and will be given the opportunity to
    237  1.14   fvdl 	change, create or delete partitions. For each partition
    238  1.14   fvdl 	you can set the type, the start and the size. Setting
    239  1.14   fvdl 	the type to 'unused' will delete a partition. You can
    240  1.14   fvdl 	also mark a partition as active, meaning that this is
    241  1.16  perry 	the one that the BIOS will start from at boot time.
    242  1.14   fvdl 
    243  1.14   fvdl 	Be sure to mark the partition you want to boot from as active!
    244  1.14   fvdl 
    245  1.14   fvdl 	After you are done editing the MBR, a sanity check
    246  1.14   fvdl 	will be done, checking for partitions that overlap.
    247  1.14   fvdl 	If everything is ok, you can go on to the next step,
    248  1.14   fvdl 	editing the NetBSD disklabel.
    249  1.14   fvdl 
    250  1.19   fvdl 6.3 Editing the NetBSD disklabel.
    251  1.14   fvdl 
    252  1.14   fvdl 	The partition table of a NetBSD part of a disk is called
    253  1.14   fvdl 	a 'disklabel'. There are 3 layouts for the NetBSD part
    254  1.14   fvdl 	of the disk that you can pick from: Standard, Standard
    255  1.14   fvdl 	with X and Custom. The first two use a set of default
    256  1.14   fvdl 	values (that you can change) suitable for a normal
    257  1.14   fvdl 	installation, possibly including X. The last option
    258  1.14   fvdl 	lets you specify everything yourself.
    259  1.14   fvdl 
    260  1.14   fvdl 	You will be presented with the current layout of the
    261  1.14   fvdl 	NetBSD disklabel, and given a chance to change it.
    262  1.14   fvdl 	For each partition, you can set the type, offset and size,
    263  1.16  perry 	block and fragment size, and the mount point. The type
    264  1.14   fvdl 	that NetBSD uses for normal file storage is called
    265  1.14   fvdl 	"4.2BSD". A swap partition has a special type called "swap".
    266  1.14   fvdl 	You can also specify a partition as type "msdos". This
    267  1.14   fvdl 	is useful if you share the disk with MS-DOS or Windows95,
    268  1.14   fvdl 	NetBSD is able to access the files on these partitions.
    269  1.14   fvdl 	You can use the values from the MBR for the MS-DOS part
    270  1.14   fvdl 	of the disk to specify the partition of type "msdos"
    271  1.14   fvdl 	(you don't have to do this now, you can always re-edit
    272  1.14   fvdl 	the disklabel to add this once you have installed NetBSD).
    273  1.14   fvdl 
    274  1.14   fvdl 	Some partitions in the disklabel have a fixed purpose.
    275  1.14   fvdl 	Partition 'a' is always the root partition, 'b' is the
    276  1.14   fvdl 	swap partition, 'c' is the entire NetBSD part of the disk,
    277  1.14   fvdl 	and 'd' is the whole disk. Partitions 'e'-'h' are available
    278  1.14   fvdl 	for other use. Traditionally, 'e' is the partition mounted
    279  1.14   fvdl 	on the /usr directory, but this is historical practice,
    280  1.14   fvdl 	not a fixed value.
    281   1.1    cgd 
    282   1.1    cgd 	You will then be asked to name your disk's disklabel.  The
    283  1.14   fvdl 	default response is "mydisk". For most purposes this will be OK.
    284  1.14   fvdl 	If you choose to name it something different, make sure the name
    285  1.14   fvdl 	is a single word and contains no special characters.  You don't
    286  1.14   fvdl 	need to remember this name.
    287  1.14   fvdl 
    288  1.19   fvdl 7. Preparing your hard disk
    289   1.1    cgd 
    290   1.1    cgd 	YOU ARE NOW AT THE POINT OF NO RETURN.  Nothing has been
    291   1.1    cgd 	written to your disk yet, but if you confirm that you want to
    292  1.14   fvdl 	install NetBSD, your hard drive will be modified. If you are
    293  1.14   fvdl 	sure you want to proceed, enter "yes" at the prompt.
    294   1.1    cgd 
    295   1.1    cgd 	The install program will now label your disk and make the file
    296  1.14   fvdl 	systems you specified. The filesystems will be initialized to
    297   1.4  glass 	contain NetBSD bootstrapping binaries and configuration files.
    298  1.14   fvdl 	You will see messages on your screen from the various NetBSD
    299  1.14   fvdl 	disk preparation tools that are running. There should be no
    300  1.14   fvdl 	errors in this section of the installation. If there are,
    301  1.14   fvdl 	restart from the beginning of the installation process.
    302  1.14   fvdl 	Otherwise, you can continue the installation program
    303  1.14   fvdl 	after pressing 'return'.
    304   1.8  perry 
    305   1.8  perry         NOTE: In previous versions of NetBSD, the kernel from the
    306   1.8  perry         install floppy was copied onto the hard drive in a special
    307   1.8  perry         step. In the new install system, the kernel on the floppy is
    308   1.8  perry         unsuited to being copied onto the hard drive. Instead, a new
    309   1.8  perry         set, "kern", has been added which contains a generic kernel to
    310  1.14   fvdl         be unloaded onto the drive. So, you can not boot from your
    311  1.14   fvdl 	hard drive yet at this point.
    312  1.14   fvdl 
    313  1.19   fvdl 8. Getting the distribution sets.
    314  1.14   fvdl 
    315  1.14   fvdl 	[PCMCIA] Load a kernel tar file (i.e. the kern.tgz set file)
    316  1.16  perry 	         on to your hard disk, for example by mounting the
    317  1.16  perry 	         hard disk first, copying the kern.tgz file from
    318  1.14   fvdl 	         floppy and unpacking it. Example:
    319  1.14   fvdl 
    320  1.14   fvdl 		 mount /dev/wd0a /mnt
    321  1.14   fvdl 		 cd /mnt
    322  1.14   fvdl 
    323  1.14   fvdl 		 <repeat following 3 steps until all kern.* files are there>
    324  1.14   fvdl 		 mount -t msdos /dev/fd0a /mnt2
    325  1.14   fvdl 		 cp /mnt2/kern.* .
    326  1.14   fvdl 		 umount /mnt2
    327  1.14   fvdl 
    328  1.14   fvdl 		 cat kern.* | tar vxzf -
    329  1.14   fvdl 
    330  1.14   fvdl 		 Then halt the machine using the 'halt' command. Power
    331  1.14   fvdl 		 the machine down, and re-insert all the PCMCIA devices.
    332  1.14   fvdl 		 Remove any floppy from the floppy drive.
    333  1.14   fvdl 		 Start the machine up. After booting NetBSD, you will
    334  1.14   fvdl 		 be presented with the main sysinst menu. Choose the
    335  1.14   fvdl 		 option to re-install sets. Wait for the filesystem
    336  1.14   fvdl 		 checks that it will do to finish, and then proceed
    337  1.14   fvdl 		 as described below.
    338  1.14   fvdl 
    339  1.14   fvdl 
    340  1.14   fvdl 	The NetBSD distribution consists of a number of 'sets', that
    341  1.14   fvdl 	come in the form of gzipped tarfiles. A few sets must be
    342  1.14   fvdl 	installed for a working system, others are optional. At this
    343  1.14   fvdl 	point of the installation, you will be presented with a menu
    344  1.14   fvdl 	which enables you to choose from one of the following methods
    345  1.14   fvdl 	of installing the sets. Some of these methods will first
    346  1.16  perry 	load the sets on your hard disk, others will extract the sets
    347  1.14   fvdl 	directly.
    348  1.14   fvdl 
    349  1.14   fvdl 	For all these methods, the first step is making the sets
    350  1.14   fvdl 	available for extraction, and then do the actual installation.
    351  1.14   fvdl 	The sets can be made available in a few different ways. The
    352  1.14   fvdl 	following sections describe each of those methods. After
    353  1.14   fvdl 	reading the one about the method you will be using, you
    354  1.19   fvdl 	can continue to section 9
    355  1.14   fvdl 
    356  1.19   fvdl 8.1 Installation using ftp
    357  1.14   fvdl 
    358  1.14   fvdl 	To be able to install using ftp, you first need to configure
    359  1.14   fvdl 	your network setup, if you haven't already at the start of
    360  1.14   fvdl 	the install procedure. sysinst will do this for you, asking you
    361  1.14   fvdl 	to provide some data, like IP number, hostname, etc. If you
    362  1.14   fvdl 	do not have name service set up for the machine that you
    363  1.14   fvdl 	are installing on, you can just press 'return' in answer
    364  1.14   fvdl 	to these questions, and DNS will not be used.
    365  1.14   fvdl 
    366  1.14   fvdl 	You will also be asked to specify the host that you want
    367  1.14   fvdl 	to transfer the sets from, the directory on that host,
    368  1.16  perry 	and the account name and password used to log into that
    369  1.14   fvdl 	host using ftp. If you did not set up DNS when answering
    370  1.14   fvdl 	the questions to configure networking, you will need to
    371  1.14   fvdl 	specify an IP number instead of a hostname for the ftp
    372  1.14   fvdl 	server.
    373  1.14   fvdl 
    374  1.14   fvdl 	sysinst will proceed to transfer all the default set files
    375  1.16  perry 	from the remote site to your hard disk.
    376  1.14   fvdl 
    377  1.19   fvdl 8.2 Installation using NFS
    378  1.14   fvdl 
    379  1.14   fvdl 	To be able to install using NFS, you first need to configure
    380  1.14   fvdl 	your network setup, if you haven't already at the start of
    381  1.14   fvdl 	the install procedure. sysinst will do this for you, asking you
    382  1.14   fvdl 	to provide some data, like IP number, hostname, etc. If you
    383  1.14   fvdl 	do not have name service set up for the machine that you
    384  1.14   fvdl 	are installing on, you can just press 'return' in answer
    385  1.14   fvdl 	to these questions, and DNS will not be used.
    386  1.14   fvdl 
    387  1.14   fvdl 	You will also be asked to specify the host that you want
    388  1.14   fvdl 	to transfer the sets from, and the directory on that host
    389  1.14   fvdl 	that the files are in. This directory should be mountable
    390  1.14   fvdl 	by the machine you are installing on, i.e. correctly
    391  1.14   fvdl 	exported to your machine.
    392  1.14   fvdl 
    393  1.14   fvdl 	If you did not set up DNS when answering the questions to
    394  1.14   fvdl 	configure networking, you will need to specify an IP number
    395  1.14   fvdl 	instead of a hostname for the NFS server.
    396  1.14   fvdl 
    397  1.14   fvdl 
    398  1.19   fvdl 8.3 Installation from CD-ROM
    399  1.14   fvdl 
    400  1.14   fvdl 	When installing from a CD-ROM, you will be asked to specify
    401  1.16  perry 	the device name for your CD-ROM player (usually 'cd0'), and
    402  1.16  perry 	directory name on the CD-ROM where the distribution files are.
    403  1.14   fvdl 
    404  1.14   fvdl 	sysinst will then check if the files are indeed available
    405  1.14   fvdl 	in the specified location, and proceed to the actual
    406  1.14   fvdl 	extraction of the sets.
    407  1.14   fvdl 
    408  1.19   fvdl 8.4 Installation from floppy
    409  1.14   fvdl 
    410  1.14   fvdl 	Because the installation sets are too big to fit on one floppy,
    411  1.14   fvdl 	the floppies are expected to be filled with the split set
    412  1.14   fvdl 	files. The floppies are expected to be in MS-DOS
    413  1.14   fvdl 	format. You will be asked for a directory where the sets
    414  1.14   fvdl 	should be reassembled. Then you will be prompted to insert
    415  1.14   fvdl 	the floppies containing the split sets. This process
    416  1.14   fvdl 	will continue until all the sets have been loaded from floppy.
    417  1.14   fvdl 	
    418  1.14   fvdl 
    419  1.19   fvdl 8.5 Installation from an unmounted filesystem
    420  1.14   fvdl 
    421  1.14   fvdl 	In order to install from a local filesystem, you will
    422  1.14   fvdl 	need to specify the device that the filesystem resides
    423  1.14   fvdl 	on (for example 'wd1e'), the type of the filesystem,
    424  1.14   fvdl 	and the directory on the specified filesystem where the
    425  1.14   fvdl 	sets are located. sysinst will then check if it
    426  1.14   fvdl 	can indeed access the sets at that location. 
    427  1.14   fvdl 
    428  1.19   fvdl 8.6 Installation from a local directory
    429  1.14   fvdl 
    430  1.14   fvdl 	This option assumes that you have already done some preparation
    431  1.14   fvdl 	yourself. The sets should be located in a directory on a
    432  1.14   fvdl 	filesystem that is already accessible. sysinst will ask you
    433  1.14   fvdl 	for the name of this directory.
    434  1.14   fvdl 
    435  1.19   fvdl 9. Extracting the distribution sets
    436  1.14   fvdl 
    437  1.20     is 	After the install sets containing the NetBSD distribution
    438  1.14   fvdl 	have been made available, you can either extract all the
    439  1.14   fvdl 	sets (a full installation), or only extract sets that
    440  1.14   fvdl 	you have selected. In the latter case you will be shown the
    441  1.14   fvdl 	currently selected sets, and given the opportunity to select
    442  1.14   fvdl 	the sets you want. Some sets always need to be installed
    443  1.14   fvdl 	("kern", "base" and "etc"), they will not be shown in
    444  1.14   fvdl 	this selection menu.
    445  1.14   fvdl 
    446  1.14   fvdl 	Before extraction begins, you can elect to watch the files
    447  1.14   fvdl 	being extracted; the name of each file that is extracted will
    448  1.14   fvdl 	be shown.
    449  1.14   fvdl 
    450  1.14   fvdl 	After all the files have been extracted, all the necessary
    451  1.14   fvdl 	device node files will be created. If you have already
    452  1.14   fvdl 	configured networking, you will be asked if you want to
    453  1.14   fvdl 	use this configuration for normal operation. If so, these
    454  1.14   fvdl 	values will be installed in the network configuration files.
    455  1.14   fvdl 
    456  1.19   fvdl 10. Finalizing your installation.
    457  1.14   fvdl 
    458  1.17   fvdl 	Congratulations, you have successfully installed NetBSD _VER.
    459  1.19   fvdl 	You can now reboot the machine, and boot from harddisk.
    460  1.17   fvdl 
    461  1.17   fvdl 	After reboot, you can log in "root" at the login prompt.  There
    462  1.17   fvdl 	is no initial password, but if you're using the machine in a
    463  1.17   fvdl 	networked environment, you should create yourself an account
    464  1.17   fvdl 	and protect it and the "root" account with good passwords.
    465  1.17   fvdl 
    466  1.19   fvdl 	You should now edit the /etc/rc.conf file to configure the system
    467  1.19   fvdl 	to suit your needs, and then reboot the system again.
    468  1.19   fvdl 
    469  1.17   fvdl 	Some other files in the NetBSD _VER distribution might need to be
    470  1.14   fvdl 	tailored for your site.  In particular, the /etc/sendmail.cf file will
    471  1.14   fvdl 	almost definitely need to be adjusted, and other files in /etc will
    472  1.14   fvdl 	probably need to be modified, as well.
    473  1.14   fvdl 
    474  1.14   fvdl 	If you are unfamiliar with UN*X-like system administration, it's
    475  1.14   fvdl 	recommended that you buy a book that discusses it.
    476  1.19   fvdl 
    477  1.19   fvdl 	If you have installed the X window system, look at the files in
    478  1.19   fvdl 	/usr/X11R6/lib/X11/doc for information. You will need to set up
    479  1.19   fvdl 	a configuration file. An example of such a file is
    480  1.19   fvdl 	/usr/X11R6/lib/X11/XF86Config.eg. See http://www.xfree86.org/
    481  1.19   fvdl 	and the XFree86 manual page for more information.
    482