Home | History | Annotate | Line # | Download | only in mac68k
install revision 1.19
      1  1.19  hubertf 	$NetBSD: install,v 1.19 1998/08/23 12:42:19 hubertf Exp $	
      2  1.16    perry 
      3   1.1   briggs The installation can be broken down into three basic steps:
      4   1.1   briggs 	* Run Mkfs to build a filesystem or filesystems.
      5   1.8    ender 	* Run the Installer to load the files onto your filesystems.
      6   1.8    ender 	* Run the Booter to boot the system.
      7   1.1   briggs 
      8   1.1   briggs **** Preparing the filesystem(s)
      9   1.1   briggs 
     10  1.10    ender Double-click on the Mkfs application icon to start it up.  It will ask you
     11  1.10    ender for the SCSI ID of the drive that you are installing upon.  Once this is
     12  1.10    ender selected, it will present a list of the partitions on that disk. You must
     13  1.10    ender first convert the partitions to a type which NetBSD can understand. Select
     14  1.10    ender each partition on which you wish to build a filesystem and click on the
     15  1.10    ender "Change" button.  If you are placing the entire installation on a single
     16  1.10    ender partition, select the "NetBSD Root&Usr" radio button.  If you are using
     17  1.10    ender multiple partitions, select "NetBSD Root" for the root partition and
     18  1.10    ender "NetBSD Usr" for all the other partitions.  You should select "NetBSD Swap"
     19  1.10    ender for the swap partition. 
     20   1.8    ender 
     21  1.10    ender When you have finished converting each partition, select each partition and
     22  1.10    ender click on the "Format" button.  You will now be asked for a bunch of
     23   1.8    ender parameters for the hard drive and the filesystem.  Usually, you can just
     24  1.10    ender take the defaults.  If you are installing onto removable media (e.g. a Zip,
     25  1.10    ender Jaz, or Syquest), please see the FAQ.  Note that although this dialog only
     26  1.10    ender has the "OK" button, you are not committed, yet.  Once you get the values
     27  1.10    ender you want, press the "OK" button. A dialog will be presented at this point
     28  1.10    ender with two options: "Format" and "Cancel."  If you choose "Cancel," nothing
     29  1.10    ender will be written to your drive.  If you choose "Format," the program will
     30  1.10    ender proceed to make a filesystem.
     31  1.10    ender 
     32  1.10    ender Mkfs is not a well-behaved Macintosh application.  It will not allow any
     33  1.10    ender other tasks to run while it does (cooperative multitasking at its best).
     34  1.10    ender When it's finished, the program will put up a dialog to ask if you have
     35  1.10    ender scanned the output for any error messages.  Usually there won't have been
     36  1.10    ender any errors, but do scan the output to make sure.  Simply click on the "I
     37  1.10    ender Read It" button and the program will quit.
     38   1.1   briggs 
     39   1.1   briggs Repeat as necessary for any extra partitions that you wish to make
     40   1.1   briggs filesystems on.  Note that you do _not_ need a filesystem on your swap
     41   1.1   briggs partition.
     42   1.1   briggs 
     43   1.8    ender When you are finished, click on the "Done" button and choose "Quit" from
     44   1.8    ender the "File" menu to exit Mkfs.
     45   1.8    ender 
     46   1.1   briggs **** Installing the files
     47   1.1   briggs 
     48   1.8    ender Before using the Installer, it is probably a good idea to increase its
     49  1.10    ender memory allocation.  Select the Installer icon by clicking on it and choose
     50  1.10    ender "Get Info" from the File menu.  Increase both the Minimum and Preferred
     51  1.10    ender sizes to as much as you can spare.
     52  1.10    ender 
     53  1.10    ender Double-click on the Installer icon to start it up.  The Installer will
     54  1.10    ender present the same SCSI ID menu that Mkfs did.  Select the same SCSI ID that
     55  1.10    ender you did for Mkfs--i.e., the one you are installing onto. 
     56   1.1   briggs 
     57   1.1   briggs If you are installing onto a single root partition, proceed to the
     58   1.1   briggs "Installation of base files" section, below.
     59   1.1   briggs 
     60   1.1   briggs 	If you have not created filesystems for the root, usr, and
     61   1.1   briggs 	any other filesystems, go back to "Preparing the filesystem(s),"
     62   1.1   briggs 	above.
     63   1.1   briggs 
     64   1.8    ender 	When you started the Installer, it mounted your root partition.
     65   1.1   briggs 	Just before it printed, "Mounting partition 'A' as /," it printed
     66   1.1   briggs 	lines like:
     67   1.1   briggs 		sd1 at scsi ID 5.
     68   1.1   briggs 	This means that the device for scsi ID 5 is sd1.  The partitions
     69   1.1   briggs 	are signified by a trailing letter.  For instance, sd1a would be
     70   1.1   briggs 	the root partition of the second scsi disk in the chain, and sd0g
     71  1.10    ender 	would be the first Usr partition on the first scsi disk.
     72   1.1   briggs 
     73   1.1   briggs 	You will need to know the proper device to mount the remaining
     74   1.1   briggs 	partition(s) by hand:
     75   1.1   briggs 
     76   1.1   briggs 		* Select "Build Devices" from the "File" menu.
     77   1.1   briggs 
     78   1.1   briggs 		* Select "Mini Shell" from the "File" menu.
     79   1.1   briggs 
     80   1.8    ender 		* You can use the 'disklabel' command to get a listing of
     81   1.8    ender 		  the available partitions and their types and sizes.
     82  1.17    ender 
     83  1.17    ender 		* Create the directory mount point(s) with the command:
     84  1.17    ender 			mkdir path
     85  1.17    ender 		  (e.g. for the /usr partition type: mkdir /usr)
     86   1.8    ender 
     87   1.1   briggs 		* Mount the filesystems you wish with the command:
     88   1.1   briggs 			mount device path
     89   1.1   briggs 		  For example, if you wish to mount a usr partition from
     90   1.1   briggs 		  the first scsi disk, sd0, on /usr, you would type:
     91   1.1   briggs 			mount /dev/sd0g /usr
     92   1.1   briggs 
     93   1.8    ender 		* Type "fstab force" to create a proper /etc/fstab file
     94   1.8    ender 
     95   1.1   briggs 		* Type "quit" after you have mounted all the filesystems.
     96   1.1   briggs 
     97   1.1   briggs Installation of base files:
     98   1.1   briggs 
     99   1.1   briggs 	Select the "Install" menu item from the "File" menu and install
    100  1.10    ender 	base.tgz, etc.tgz, netbsd.tgz, and any other sets you wish to
    101  1.10    ender 	install	at this time (see the contents section for information
    102  1.10    ender 	about what's in each set).  The Installer will print out the
    103  1.10    ender 	filename of each file as it is installed, and will take quite some 
    104  1.10    ender 	time to install everything (the base package alone can take over an
    105  1.10    ender 	hour on a slow hard drive).
    106   1.1   briggs 
    107   1.1   briggs 	As is the case with Mkfs, this is not a particularly well-behaved
    108   1.1   briggs 	Macintosh application and the machine will be completely tied up
    109   1.1   briggs 	while the installation takes place.
    110   1.1   briggs 
    111  1.10    ender 	At some point after installing the base set, select the "Build
    112  1.10    ender 	Devices" option from the "File" menu if you have not already done
    113  1.10    ender 	so.  This will create a bunch of device nodes for you and will
    114  1.10    ender 	create your initial /etc/fstab.  The Installer program also has an
    115  1.10    ender 	option to give you a mini-shell.  Do not use this unless you are
    116  1.10    ender 	sure know what you are doing.
    117   1.8    ender 
    118  1.10    ender 	When you are finished installing all of the sets you wish to
    119   1.8    ender 	install, exit the Installer by choosing "Quit" from the "File" menu.
    120   1.8    ender 	
    121   1.1   briggs **** Booting the system
    122   1.1   briggs 
    123   1.7   scottr Prior to attempting to boot NetBSD/mac68k, please verify that all of
    124   1.7   scottr the following are true:
    125   1.7   scottr 
    126   1.7   scottr 	1) 32-bit addressing is enabled[*] in the Memory control panel;
    127   1.7   scottr 
    128   1.7   scottr 	2) All forms of virtual memory are disabled (the Memory control
    129   1.7   scottr 	   panel, RAM Doubler, or other software-based memory enhancement
    130   1.7   scottr 	   products); and
    131   1.7   scottr 
    132   1.7   scottr 	3) Your system is in B&W mode (1-bit color or grayscale) as shown
    133   1.8    ender 	   by the Monitors control panel.  You may choose to have the 
    134   1.8    ender 	   Booter do this for you automatically by selecting the appropriate
    135   1.8    ender 	   check box and radio button in the "Monitors" dialog on the
    136   1.8    ender 	   "Options" menu.
    137   1.7   scottr 
    138  1.10    ender It is probably best to boot your machine with all extensions turned
    139  1.10    ender off[*].  You can do this by booting into MacOS with the SHIFT key held
    140  1.10    ender down.  You may have to restart your Macintosh for changes to take effect
    141  1.10    ender before proceeding.  
    142   1.7   scottr 
    143   1.8    ender [* NOTE:  If you have an older II-class system (including the II, IIx, IIcx,
    144   1.8    ender and SE/30), it is necessary to install Connectix's MODE32 to work around
    145   1.7   scottr ROM issues which prevent you from enabling 32-bit addressing.  Please see
    146   1.8    ender <http://www.netbsd.org/Ports/mac68k/faq/> for more information.]
    147   1.7   scottr 
    148   1.5   scottr Double-click on the NetBSD/mac68k Booter icon to start the application.
    149   1.8    ender Select "Booting" from the "Options" menu.  Check that all of the items in
    150   1.8    ender the resulting dialog look sane--especially the SCSI ID.  If not, correct
    151   1.8    ender them to your preference (the SCSI ID should be the only thing you need to
    152   1.8    ender change).  When you are satisfied with your choices, try booting NetBSD by
    153   1.8    ender selecting "Boot Now" from the "Options" menu.
    154   1.8    ender 
    155   1.8    ender If you wish to save your preferences, choose "Save Options" from the
    156  1.10    ender "File" menu before Booting (your preferences will not be saved if you
    157  1.10    ender forget to do this).
    158   1.8    ender 
    159  1.18   scottr If the system does not come up, send mail to port-mac68k (a] netbsd.org
    160  1.18   scottr describing your software, your hardware, and as complete a description of
    161  1.18   scottr the problem as you can.
    162   1.1   briggs 
    163   1.8    ender If the system does come up, congratulations, you have successfully
    164  1.19  hubertf installed NetBSD _VER. 
    165