Home | History | Annotate | Line # | Download | only in mac68k
install revision 1.7
      1  1.1  briggs The installation can be broken down into three basic steps:
      2  1.1  briggs 	* Run Mkfs to build a filesystem or filesystems.
      3  1.1  briggs 	* Run Install Utility to load the files onto your filesystems.
      4  1.1  briggs 	* Run the booter to boot the system.
      5  1.1  briggs 
      6  1.1  briggs **** Preparing the filesystem(s)
      7  1.1  briggs 
      8  1.1  briggs Double-click on the Mkfs application icon to start it up.  It will ask
      9  1.1  briggs you for the SCSI ID of the drive that you are installing upon.  Once
     10  1.1  briggs this is selected, it will present a list of the partitions on that disk.
     11  1.1  briggs Select the partition on which you wish to build a filesystem and click
     12  1.1  briggs on the "Format" button.  You will now be asked for a bunch of parameters
     13  1.1  briggs for the hard drive and the filesystem.  Usually, you can just take the
     14  1.1  briggs defaults.  If you are installing onto a Syquest, please see the FAQ.
     15  1.1  briggs Note that although this dialog only has the "OK" button, you are not
     16  1.1  briggs committed, yet.  Once you get the values you want, press the "OK" button.
     17  1.1  briggs A dialog will be presented at this point with two options: "Format" and
     18  1.1  briggs "Cancel."  If you choose "Cancel," nothing will be written to your drive.
     19  1.1  briggs If you choose "Format," the program will proceed to make a filesystem.
     20  1.1  briggs 
     21  1.1  briggs Mkfs is not a well-behaved Macintosh application.  It will not allow
     22  1.1  briggs any other tasks to run while it does (cooperative multitasking at its
     23  1.1  briggs best).  When it's finished, the program will put up a dialog to ask if
     24  1.1  briggs you have scanned the output for any error messages.  Usually there won't
     25  1.1  briggs have been any errors, but do scan the output to make sure.  Simply click
     26  1.1  briggs on the "I Read It" button and the program will quit.
     27  1.1  briggs 
     28  1.1  briggs Repeat as necessary for any extra partitions that you wish to make
     29  1.1  briggs filesystems on.  Note that you do _not_ need a filesystem on your swap
     30  1.1  briggs partition.
     31  1.1  briggs 
     32  1.1  briggs **** Installing the files
     33  1.1  briggs 
     34  1.1  briggs Double-click on the Install Utility icon to start it up.  The installer
     35  1.1  briggs will present the same SCSI ID menu that mkfs did.  Select the same SCSI
     36  1.1  briggs ID that you did for mkfs--i.e., the one you are installing onto.
     37  1.1  briggs 
     38  1.1  briggs If you are installing onto a single root partition, proceed to the
     39  1.1  briggs "Installation of base files" section, below.
     40  1.1  briggs 
     41  1.1  briggs 	If you have not created filesystems for the root, usr, and
     42  1.1  briggs 	any other filesystems, go back to "Preparing the filesystem(s),"
     43  1.1  briggs 	above.
     44  1.1  briggs 
     45  1.1  briggs 	When you started the installer, it mounted your root partition.
     46  1.1  briggs 	Just before it printed, "Mounting partition 'A' as /," it printed
     47  1.1  briggs 	lines like:
     48  1.1  briggs 		sd1 at scsi ID 5.
     49  1.1  briggs 	This means that the device for scsi ID 5 is sd1.  The partitions
     50  1.1  briggs 	are signified by a trailing letter.  For instance, sd1a would be
     51  1.1  briggs 	the root partition of the second scsi disk in the chain, and sd0g
     52  1.1  briggs 	would be the first usr partition on the first scsi disk.
     53  1.1  briggs 
     54  1.1  briggs 	You will need to know the proper device to mount the remaining
     55  1.1  briggs 	partition(s) by hand:
     56  1.1  briggs 
     57  1.1  briggs 		* Select "Build Devices" from the "File" menu.
     58  1.1  briggs 
     59  1.1  briggs 		* Select "Mini Shell" from the "File" menu.
     60  1.1  briggs 
     61  1.1  briggs 		* Mount the filesystems you wish with the command:
     62  1.1  briggs 			mount device path
     63  1.1  briggs 		  For example, if you wish to mount a usr partition from
     64  1.1  briggs 		  the first scsi disk, sd0, on /usr, you would type:
     65  1.1  briggs 			mount /dev/sd0g /usr
     66  1.1  briggs 
     67  1.1  briggs 		* Type "quit" after you have mounted all the filesystems.
     68  1.1  briggs 
     69  1.1  briggs Installation of base files:
     70  1.1  briggs 
     71  1.1  briggs 	Select the "Install" menu item from the "File" menu and install
     72  1.4  scottr 	base12, netbsd, and any other packages you wish to install at
     73  1.1  briggs 	this time (see the contents section for information about what's
     74  1.1  briggs 	in each package).  The installer will print out the filename of
     75  1.1  briggs 	each file as it is installed, and will take quite some time to
     76  1.1  briggs 	install everything.
     77  1.1  briggs 
     78  1.1  briggs 	As is the case with Mkfs, this is not a particularly well-behaved
     79  1.1  briggs 	Macintosh application and the machine will be completely tied up
     80  1.1  briggs 	while the installation takes place.
     81  1.1  briggs 
     82  1.1  briggs 	At some point after installing the base package, select the "Build
     83  1.1  briggs 	Devices" option from the "File" menu.  This will create a bunch of
     84  1.1  briggs 	device nodes for you and will create your initial /etc/fstab.  The
     85  1.1  briggs 	installer program also has an option to give you a mini-shell.  Do
     86  1.1  briggs 	not use this unless you know what you are doing.
     87  1.1  briggs 
     88  1.1  briggs **** Booting the system
     89  1.1  briggs 
     90  1.7  scottr Prior to attempting to boot NetBSD/mac68k, please verify that all of
     91  1.7  scottr the following are true:
     92  1.7  scottr 
     93  1.7  scottr 	1) 32-bit addressing is enabled[*] in the Memory control panel;
     94  1.7  scottr 
     95  1.7  scottr 	2) All forms of virtual memory are disabled (the Memory control
     96  1.7  scottr 	   panel, RAM Doubler, or other software-based memory enhancement
     97  1.7  scottr 	   products); and
     98  1.7  scottr 
     99  1.7  scottr 	3) Your system is in B&W mode (1-bit color or grayscale) as shown
    100  1.7  scottr 	   by the Monitors control panel.
    101  1.7  scottr 
    102  1.7  scottr You may have to restart your Macintosh for changes to take effect before
    103  1.7  scottr proceding.
    104  1.7  scottr 
    105  1.7  scottr [* NOTE:  If you have an older II-class system (including the II, the IIx,
    106  1.7  scottr and the IIcx), it is necessary to install Connectix's MODE32 to work around
    107  1.7  scottr ROM issues which prevent you from enabling 32-bit addressing.  Please see
    108  1.7  scottr <http://www.netbsd.org/Ports/mac68k/faq/faq.html> for more information.]
    109  1.7  scottr 
    110  1.5  scottr Double-click on the NetBSD/mac68k Booter icon to start the application.
    111  1.6  scottr Check that the options in the Booting dialog look sane -- especially the
    112  1.5  scottr SCSI ID.  If not, correct them to your preference.  When you are satisfied
    113  1.5  scottr with your choices, try booting NetBSD.
    114  1.1  briggs 
    115  1.1  briggs If you wish to save your preferences, choose the "Save Preferences"
    116  1.1  briggs option in the "File" menu, then quit the application and restart.  Due
    117  1.1  briggs to a long-standing bug, the preferences will not be saved unless you
    118  1.1  briggs quit.
    119  1.1  briggs 
    120  1.6  scottr If the system does not come up, send mail to port-mac68k (a] NetBSD.ORG
    121  1.6  scottr describing your software, your hardware, and as complete a description
    122  1.6  scottr of the problem as you can.  You might also consider subscribing to the
    123  1.6  scottr port-mac68k mailing list, since there may already be others who have
    124  1.6  scottr successfully identified and resolved the problem you're seeing.
    125  1.1  briggs 
    126  1.6  scottr If the system does come up, congratulations!  You have successfully
    127  1.3  briggs installed NetBSD 1.2.  When you reboot into NetBSD, you should log
    128  1.1  briggs in as "root" at the login prompt.  There is no initial password, but
    129  1.1  briggs if you're using the machine in a networked environment, you should
    130  1.1  briggs create yourself an account and protect it and the "root" account with
    131  1.1  briggs good passwords.
    132  1.1  briggs 
    133  1.3  briggs Some of the files in the NetBSD 1.2 distribution might need to be
    134  1.1  briggs tailored for your site.  In particular, the /etc/sendmail.cf file will
    135  1.1  briggs almost definitely need to be adjusted, and other files in /etc will
    136  1.1  briggs probably need to be modified, as well.  If you are unfamiliar with
    137  1.1  briggs UN*X-like system administration, it's recommended that you buy a book
    138  1.1  briggs that discusses it.
    139