2009-04-23 05:56:48 +04:00
|
|
|
.\" $NetBSD: prep,v 1.10 2009/04/23 01:56:50 snj Exp $
|
2002-05-18 21:31:43 +04:00
|
|
|
.
|
|
|
|
First and foremost, before beginning the installation process,
|
|
|
|
.Em make sure you have a reliable backup
|
|
|
|
of any data (e.g., an old IRIX installation) you wish to preserve.
|
|
|
|
.Pp
|
|
|
|
Booting
|
|
|
|
.Nx*M
|
2002-06-30 16:34:38 +04:00
|
|
|
for the first time is most commonly done from the network.
|
2002-07-15 16:47:58 +04:00
|
|
|
You must set up DHCP, TFTP, and possibly NFS for the installation
|
|
|
|
procedure to be successful.
|
2002-07-26 19:41:55 +04:00
|
|
|
Although newer SGI bootproms can read ELF kernels directly from the
|
|
|
|
network, others require that you boot an ECOFF version of the kernel.
|
|
|
|
Attempting to boot an ELF kernel on a system with a PROM that only
|
|
|
|
supports ECOFF binaries will result in the following message being
|
|
|
|
displayed by the PROM:
|
2002-05-23 09:44:50 +04:00
|
|
|
.Pp
|
|
|
|
.Dl Illegal f_magic number 0x7f45, expected MIPSELMAGIC or MIPSEBMAGIC.
|
|
|
|
.Pp
|
|
|
|
You can convert the standard ELF
|
2002-05-18 21:31:43 +04:00
|
|
|
format kernel into an ECOFF kernel using the
|
2005-03-01 03:23:59 +03:00
|
|
|
.Pa objcopy
|
2002-05-18 21:31:43 +04:00
|
|
|
tool.
|
|
|
|
.Pp
|
2002-07-26 19:41:55 +04:00
|
|
|
.\" Different SGI hardware will require the executable code in the loadable
|
|
|
|
.\" image to start at a different address.
|
|
|
|
.\" You must decide which image your system is capable of loading.
|
|
|
|
.\" The current options are:
|
|
|
|
.\" .(bullet
|
|
|
|
.\" Indigo2, Indy, Challenge M, Challenge S
|
|
|
|
.\" .It
|
|
|
|
.\" O2
|
|
|
|
.\" .bullet)
|
|
|
|
.\" .Pp
|
|
|
|
.\" Additionally there may be a third type in the future for 64bit machines.
|
|
|
|
.\" From now on this document assumes you are familiar with selecting the
|
|
|
|
.\" correct image for your system.
|
2002-05-23 09:44:50 +04:00
|
|
|
.Pp
|
2002-05-18 21:31:43 +04:00
|
|
|
Note that some older bootproms have an interesting bug in reading the
|
2002-06-30 16:34:38 +04:00
|
|
|
kernel via TFTP.
|
|
|
|
They handle the port number as a signed entity, and
|
2008-10-29 20:01:50 +03:00
|
|
|
can thus not connect to ports \*[Gt]32767.
|
2002-06-30 16:34:38 +04:00
|
|
|
You can work around this problem on the TFTP server
|
|
|
|
(given that it is a NetBSD host) by using
|
2002-05-18 21:31:43 +04:00
|
|
|
.Dq sysctl
|
|
|
|
to set
|
|
|
|
.Dq net.inet.ip.anonportmin
|
|
|
|
and
|
|
|
|
.Dq net.inet.ip.anonportmax
|
2002-07-26 19:41:55 +04:00
|
|
|
to more suitable values. For example:
|
|
|
|
.Pp
|
|
|
|
.Dl # Ic sysctl -w net.inet.ip.anonportmin=16384
|
|
|
|
.Dl # Ic sysctl -w net.inet.ip.anonportmax=32767
|
2002-05-18 21:31:43 +04:00
|
|
|
.Pp
|
2006-12-20 03:40:16 +03:00
|
|
|
.Dl "# cu -l /dev/ttyXX
|
|
|
|
.Pp
|
|
|
|
where XX is the serial port used on your remote machine (usually
|
|
|
|
.Pa /dev/tty00
|
|
|
|
or
|
2006-12-20 10:34:44 +03:00
|
|
|
.Pa /dev/tty01 ) .
|
|
|
|
Enter the Command Monitor from the System Maintenance Menu. In
|
2006-12-20 03:40:16 +03:00
|
|
|
order to boot the kernel properly you also have to modify the PROM
|
|
|
|
environment with
|
|
|
|
.Pp
|
2008-10-29 20:01:50 +03:00
|
|
|
.Dl "\*[Gt] setenv console serial
|
2006-12-20 03:40:16 +03:00
|
|
|
.Pp
|
|
|
|
Afterwards, just continue with the normal installation procedure.
|