Linux Network installation server
For successfull network installation you will need
- DHCP or BOOTP-Server
- TFTP Share (Trivial File Transfer Protocol)
- Network installation source (HTTP, FTP or NFS)
So in general: you will need to configure your DHCP or BOOTP server to answer a bootp request from the openfirmware, usually this is done by adding a section with the mac-address of the machine to be installed to your server configuration.
Next we copy our network boot image from CD to /tftpboot directory and create full distribution network installation source on NFS share (or FTP, HTTP).
*dhcpd.conf example
Using AIX or VIO as a network installation server
Contents of /etc/bootptab:
Contents of /tftpboot:
- Edit /etc/inetd.conf and uncomment bootps and tftp lines
- refresh -s inetd
- Use IPL Settings, directed bootp requests from client LPARs (assign adress and server address)
Example: installing Red Hat over network with kickstart on Power
First we need to decide either to use directed bootp request or bootp broadcast request. If you are installing from different subnet, you should use directed bootp request (providing installation server IP in the IPL or on the openfirmware command line). If you add your client mac address to the /etc/bootptab line you will not be asked for IP again. If you ommit the mac address the installation will stop and anaconda will ask for IP configuration.
Step 1: prepare server
Kernel
Copy your boot kernel to servers /tftpboot directory. You will find the boot kernel on the first Red Hat CD in the directory /images/pseries. The file is called netboot.img. Here is an example from U4 CD1:
# ls -al images/pseries/netboot.img
-rwxr-xr-x 1 root root 6355144 Aug 3 04:24 images/pseries/netboot.img
bootptab
Add the appropriate line to your /etc/bootptab
p650-lpar2:bf=/tftpboot/p650-lpar2:ip=192.168.1.111:ht=ethernet:sa=192.168.1.1:sm=255.255.255.0:
you can also use ha:XXXXXXXXXXXX to add your mac address. Note that ha: should be after ht=ethernet
Start bootp and tftp
- If not done before start your bootp and tftp server.
- Edit /etc/inetd.conf and uncomment bootps and tftp lines
- refresh -s inetd
Client installation
Debugging
You can check tftp is running and working properly by "tftp localhost" and "get netboot.img"
If you suspect any bootp problems, kill the daemon and start it in foreground in debug mode:
# /usr/sbin/bootpd -s -d -d -d -d -d