Home | History | Annotate | Line # | Download | only in amiga
install revision 1.9.2.4
      1  1.9.2.4  mellon 	$NetBSD: install,v 1.9.2.4 1998/02/07 06:23:18 mellon Exp $	
      2  1.9.2.4  mellon 
      3      1.1  chopps Installing NetBSD is a relatively complex process, but, if you have
      4      1.1  chopps this document in hand and are careful to read and remember the
      5      1.1  chopps information which is presented to you by the install program, it
      6      1.1  chopps shouldn't be too much trouble.
      7      1.1  chopps 
      8      1.1  chopps Before you begin, you must have already prepared your hard disk as
      9      1.1  chopps detailed in the section on preparing your system for install.
     10      1.1  chopps 
     11      1.1  chopps The following is a walk-through of the steps necessary to get NetBSD
     12      1.1  chopps installed on your hard disk.  If you wish to stop the installation,
     13      1.1  chopps you may hit Control-C at any prompt, but if you do, you'll have to
     14      1.1  chopps begin again from scratch.
     15      1.1  chopps 
     16  1.9.2.1  mellon 	Transfer the miniroot file system onto the hard disk partition
     17  1.9.2.1  mellon 	used by NetBSD for swapping, as described in the "Preparing
     18  1.9.2.1  mellon 	your System for NetBSD Installation" section above.
     19      1.4     jtc 
     20      1.8      is 	* Booting from AmigaOS, using loadbsd:
     21      1.8      is 
     22      1.4     jtc 	You then need to have "ixemul.library" in your LIBS: directory
     23      1.4     jtc 	on AmigaDOS.  You also need to have the "loadbsd" program
     24      1.4     jtc 	in your command path.  If AmigaDOS complains about loadbsd
     25      1.4     jtc 	not being an executable file, be sure that the "Execute"
     26      1.4     jtc 	protection bit is set.  If not, set it with the command:
     27      1.4     jtc 		Protect loadbsd add e
     28      1.3  chopps 
     29      1.3  chopps 	Next you need to get yourself into NetBSD by loading the
     30      1.3  chopps 	kernel from AmigaDOS with loadbsd like so:
     31      1.1  chopps 
     32      1.1  chopps 		loadbsd -b netbsd
     33      1.1  chopps 
     34      1.4     jtc 	If you have an AGA machine, and your monitor will handle
     35      1.4     jtc 	the dblNTSC mode, you may also include the "-A" option to
     36      1.4     jtc 	enable the dblNTSC display mode.
     37      1.4     jtc 
     38      1.7  chopps 	If your machine has a fragmented physical memory space, as, 
     39      1.7  chopps 	e.g., DraCo machines, you should add the "-n2" option to 
     40      1.7  chopps 	enable the use of all memory segments.
     41      1.7  chopps 
     42      1.8      is 	* Directly booting NetBSD, with boot blocks installed:
     43      1.8      is 
     44  1.9.2.2   veego 	[This description is for V40 (OS 3.1) ROMs. For older ROMs,
     45      1.8      is 	there might be small differences. Check your AmigaOS documentation
     46      1.8      is 	to learn about the exact procedure.]
     47      1.8      is 
     48  1.9.2.1  mellon [XXX should note someplace that using bootblocks may not work on some
     49  1.9.2.1  mellon  systems, and may require a mountable filesystem on others?]
     50  1.9.2.1  mellon 
     51      1.8      is 	Reboot your machine, holding down both mouse buttons if you 
     52      1.8      is 	have a 2-button mouse, the outer mouse buttons if you have
     53      1.8      is 	a 3-button mouse. On the DraCo, press the left mouse button
     54      1.8      is 	instead, when the boot screen prompts you for it.
     55      1.8      is 
     56      1.8      is 	From the boot menu, select "Boot Options".
     57      1.8      is 	Select the swap partition with the miniroot, and then "ok".
     58      1.8      is 	Select "Boot" now. The machine will boot the bootblock, which
     59      1.8      is 	will prompt your for a command line. You have a few seconds time
     60      1.8      is 	to change the default. Entering an empty line will accept the
     61      1.8      is 	default.
     62      1.8      is 
     63      1.8      is 	The bootblock uses command lines of the form:
     64      1.8      is 
     65      1.8      is 	file options
     66      1.8      is 
     67      1.8      is 	where file is the kernel file name on the partition where the
     68      1.8      is 	boot block is on, and options are the same as with loadbsd.
     69      1.8      is 	E.g., instead of "loadbsd -bsSn2 netbsd" use "netbsd -bsSn2".
     70      1.8      is 
     71      1.8      is 	* Once your kernel boots:
     72      1.8      is 
     73      1.1  chopps 	You should see the screen clear and some information about
     74      1.3  chopps 	your system as the kernel configures the hardware.  Note which
     75      1.3  chopps 	hard disk device(s) are configured (sd0, sd1, etc).  Then
     76      1.3  chopps 	you will be prompted for a root device.  At this time type
     77  1.9.2.4  mellon 	'sd0b', where 'sd0' is the device which contains the swap
     78      1.4     jtc 	partition you created during the hard disk preparation.
     79  1.9.2.4  mellon 	When prompted for a dump device, answer 'none' for the upgrade 
     80  1.9.2.4  mellon 	(normally, you would tell it one of the swap devices). When 
     81  1.9.2.4  mellon 	prompted for the root filesystem type, confirm 'generic', which 
     82  1.9.2.4  mellon 	will auto-detect it. 
     83      1.1  chopps 
     84      1.6  chopps 	If the system should hang after entering the root device, try
     85      1.6  chopps 	again with
     86      1.6  chopps 
     87      1.6  chopps 		loadbsd -I ff -b netbsd
     88      1.6  chopps 
     89      1.6  chopps 	This disables synchronous transfer on all SCSI devices.
     90      1.6  chopps 
     91      1.1  chopps 	The system should continue to boot.  For now ignore WARNING:
     92  1.9.2.1  mellon 	messages about bad dates in clocks, and a warning about /etc/rc
     93  1.9.2.1  mellon 	not existing.  Eventually you will be be asked to enter the
     94  1.9.2.1  mellon 	pathname of the shell, just hit return.  After a short while,
     95  1.9.2.1  mellon 	you will be asked to select the type of your keyboard.  After
     96  1.9.2.1  mellon 	you have entered a valid response here, the system asks you if
     97  1.9.2.1  mellon 	you want to install or upgrade your system.  Since you are
     98  1.9.2.1  mellon 	reading the 'install' section, 'i' would be the proper
     99  1.9.2.1  mellon 	response here...
    100  1.9.2.1  mellon 
    101  1.9.2.1  mellon 	The installer starts with a nice welcome messages.  Read this
    102  1.9.2.1  mellon 	message carefully, it also informs you of the risks involved
    103  1.9.2.1  mellon 	in continuing!  If you still want to go on, type 'y'.  The
    104  1.9.2.1  mellon 	installer now continues by trying to figure out your disk
    105  1.9.2.1  mellon 	configuration. 	When it is done, you will be prompted to
    106  1.9.2.1  mellon 	select a root device from the list of disks it has found.
    107  1.9.2.1  mellon 
    108  1.9.2.1  mellon 	You should know at this point that the disks are NOT numbered
    109  1.9.2.1  mellon 	according to their scsi-id! The NetBSD kernel numbers the scsi
    110  1.9.2.1  mellon 	drives (and other devices on the scsi bus) sequentially as it
    111  1.9.2.1  mellon 	finds them. The drive with the lowest scsi id will be called sd0,
    112  1.9.2.1  mellon 	the next one sd1, etc.  Also, any Amiga internal IDE disk drives
    113  1.9.2.1  mellon 	will be configured as "SCSI" drives, and will be configured
    114  1.9.2.1  mellon 	before any 'real' SCSI drives (if any are present).
    115      1.1  chopps 
    116      1.1  chopps 	YOU ARE NOW AT THE POINT OF NO RETURN.  If you confirm that
    117      1.1  chopps 	you want to install NetBSD, your hard drive will be modified,
    118      1.2  chopps 	and perhaps its contents scrambled at the whim of the install
    119  1.9.2.1  mellon 	program.  Type Control-C NOW if you don't want this.
    120      1.1  chopps 
    121  1.9.2.1  mellon 	At this time, you will need to tell the installer which partition
    122  1.9.2.1  mellon 	will be associated with the different filesystems.
    123      1.1  chopps 
    124  1.9.2.1  mellon 	The install program will now make the the file systems you
    125  1.9.2.1  mellon 	specified.  There should be only one error per file system in
    126  1.9.2.3   perry 	this section of the installation.  It will look like this:
    127      1.1  chopps 
    128      1.1  chopps 		newfs: ioctl (WDINFO): Invalid argument
    129      1.1  chopps 		newfs: /dev/rsd0a: can't rewrite disk label
    130      1.1  chopps 
    131      1.1  chopps 	If there are any others, restart from the the beginning of
    132      1.2  chopps 	the installation process.  This error is ok as the Amiga
    133      1.1  chopps 	does not write disklabels currently.  You should expect
    134      1.1  chopps 	this error whenever using newfs.
    135      1.1  chopps 
    136  1.9.2.1  mellon 	The install will now ask you want to configure any network
    137  1.9.2.1  mellon 	information.  It ill ask for the machine's host name, domain
    138  1.9.2.1  mellon 	name, and other network configuration information.
    139  1.9.2.1  mellon 
    140  1.9.2.1  mellon 	Since the network configuration might have lead to additional (nfs)
    141  1.9.2.1  mellon 	filesystem entries, you get another chance to modify your fstab.
    142  1.9.2.1  mellon 
    143  1.9.2.3   perry 	You are finally at the point where some real data will be put on
    144  1.9.2.1  mellon 	your freshly made filesystems. Select the device type you wish
    145  1.9.2.1  mellon 	to install from and off you go....
    146  1.9.2.1  mellon 	Some notes:
    147  1.9.2.1  mellon 	    - If you want to install from tape, please read the section
    148  1.9.2.1  mellon 	      about how to create such a tape.
    149  1.9.2.3   perry 	    - Some tapes (e.g. Archive Viper 150) refuse to operate with
    150  1.9.2.3   perry 	      the default tape density ("nrst0"). Try "nrst0h",
    151  1.9.2.3   perry 	      "nrst0m", or "nrst0l" instead.
    152  1.9.2.1  mellon 	    - Install at least the base and etc sets.
    153  1.9.2.1  mellon 	    - If you have to specify a path relative to the mount-point and
    154  1.9.2.1  mellon 	      you need the mount-point itself, enter '.'.
    155  1.9.2.1  mellon 
    156  1.9.2.1  mellon 	Next you will be asked to specify the timezone.  Just select the
    157  1.9.2.1  mellon 	timezone you are in. The installer will make the correct setup
    158  1.9.2.1  mellon 	on your root filesystem. After the timezone-link is installed,
    159  1.9.2.1  mellon 	the installer will proceed by creating the device nodes on your
    160  1.9.2.1  mellon 	root filesystem.
    161  1.9.2.1  mellon 
    162  1.9.2.1  mellon 	Be patient, this will take a while...
    163  1.9.2.1  mellon 
    164  1.9.2.1  mellon 	Finally, the installer ask you if you want to install the bootblock
    165  1.9.2.1  mellon 	code on your root disk. This is a matter of personal choice and can
    166  1.9.2.1  mellon 	also be done from a running NetBSD system. See the 'installboot(8)'
    167  1.9.2.1  mellon 	manual page about how to do this.
    168  1.9.2.1  mellon 
    169  1.9.2.1  mellon 
    170  1.9.2.1  mellon Once the installer is done, halt the system with the "halt" command
    171  1.9.2.1  mellon (wait for "halted" to be displayed) and reboot.  Then again boot
    172  1.9.2.1  mellon NetBSD this time with the command:
    173      1.2  chopps 
    174      1.8      is 	loadbsd netbsd
    175      1.8      is 
    176      1.8      is or select the root partition from the boot menu, and tell it to boot
    177      1.1  chopps 
    178      1.8      is 	netbsd -s
    179      1.1  chopps 
    180      1.7  chopps You need to do your final tweaks now.  First mount your file systems
    181      1.1  chopps like so:
    182      1.1  chopps 
    183      1.1  chopps 	mount -av
    184      1.1  chopps 
    185      1.1  chopps Your system is now complete but not completely configured; you
    186      1.1  chopps should adjust the /etc/sendmail.cf file as necessary to suit your
    187  1.9.2.3   perry site.  You should also examine and adjust the settings in /etc/rc.conf.
    188  1.9.2.3   perry You can use vi or ed to edit the files. If you installed the man pages
    189  1.9.2.3   perry you can type `man vi' or `man ed' for instructions on how to use these
    190  1.9.2.3   perry somewhat non-intuitive editors.  
    191      1.4     jtc 
    192      1.1  chopps Once you are done with the rest of configuration unmount your file
    193      1.1  chopps systems and halt your system, then reboot:
    194      1.1  chopps 
    195      1.1  chopps 	cd /
    196      1.1  chopps 	umount -av
    197      1.1  chopps 	halt
    198      1.1  chopps 	<reboot>
    199      1.1  chopps 
    200      1.1  chopps Finally you can now boot your system and it will be completely
    201      1.1  chopps functional:
    202      1.1  chopps 
    203      1.1  chopps 	loadbsd -a netbsd
    204      1.1  chopps 
    205      1.1  chopps When it boots off of the hard drive, you will have a complete
    206      1.1  chopps NetBSD system!  CONGRATULATIONS! (You really deserve them!!!)
    207