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