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