1 .\" $NetBSD: prep,v 1.9 2008/10/29 17:01:50 tsutsui Exp $
3 First and foremost, before beginning the installation process,
4 .Em make sure you have a reliable backup
5 of any data (e.g., an old IRIX installation) you wish to preserve.
9 for the first time is most commonly done from the network.
10 You must set up DHCP, TFTP, and possibly NFS for the installation
11 procedure to be successful.
12 Although newer SGI bootproms can read ELF kernels directly from the
13 network, others require that you boot an ECOFF version of the kernel.
14 Attempting to boot an ELF kernel on a system with a PROM that only
15 supports ECOFF binaries will result in the following message being
16 displayed by the PROM:
18 .Dl Illegal f_magic number 0x7f45, expected MIPSELMAGIC or MIPSEBMAGIC.
20 You can convert the standard ELF
21 format kernel into an ECOFF kernel using the
25 .\" Different SGI hardware will require the executable code in the loadable
26 .\" image to start at a different address.
27 .\" You must decide which image your system is capable of loading.
28 .\" The current options are:
30 .\" Indigo2, Indy, Challenge M, Challenge S
35 .\" Additionally there may be a third type in the future for 64bit machines.
36 .\" From now on this document assumes you are familiar with selecting the
37 .\" correct image for your system.
39 Note that some older bootproms have an interesting bug in reading the
41 They handle the port number as a signed entity, and
42 can thus not connect to ports \*[Gt]32767.
43 You can work around this problem on the TFTP server
44 (given that it is a NetBSD host) by using
47 .Dq net.inet.ip.anonportmin
49 .Dq net.inet.ip.anonportmax
50 to more suitable values. For example:
52 .Dl # Ic sysctl -w net.inet.ip.anonportmin=16384
53 .Dl # Ic sysctl -w net.inet.ip.anonportmax=32767
55 .Dl "# cu -l /dev/ttyXX
57 where XX is the serial port used on your remote machine (usually
61 Enter the Command Monitor from the System Maintenance Menu. In
62 order to boot the kernel properly you also have to modify the PROM
65 .Dl "\*[Gt] setenv console serial
67 Afterwards, just continue with the normal installation procedure.