Jumpstart server on linux


Copyright 2002, 2003 Andy Barclay
OpenContent License (OPL)

Solaris Jumpstart Server on Linux
-------------------------------------

Installation
----------------
You must create an empty /etc/vfstab file so setup_install_server does not
think that we are SunOS 4.1.x

Ensure that the /export file system has about 1 Gig of disk space 

	mount /mnt/cdrom
	cd /mnt/cdrom/S*/T*/
./setup_install_server /export/install_7

Several "adb" errors will show up. Just disregard these.

Add the hostname and the IP address of the SUN client to the /etc/hosts file.


RARP
-------
Ensure the kernel is compiled with RARP support.

You must add the Ethernet address and the IP address of the SUN client device to the kernel RARP table.

To add entries to the RARP table use:
	rarp --set  

Add these to a startup script if you wish them to be retained after a reboot.

TFPT
-----
	mkdir /tftpboot 

	cp /export/install_7/Solaris_2.7/Tools/Boot/usr/platform/SUNW,Ultra-60/lib/fs/nfs/inetboot /tftpboot/inetboot.SUN4U.Solaris_2.7-1


Just create 2 links in /tftpboot. The file name is made from the SUN clients IP address in HEX. In the example below
C0A825DE is equal to  192.168.37.222

	lrwxrwxrwx    1 root     root           28 Sep  8 17:13 C0A825DE -> inetboot.SUN4U.Solaris_2.7-1
	lrwxrwxrwx    1 root     root           28 Sep  8 17:13 C0A825DE.SUN4U -> inetboot.SUN4U.Solaris_2.7-1



Bootparamd stuff 
----------------

rpc.bootparamd is located on the Mandrake 7.02 CD. You can also get it from rufus.w3.org.

	rpm -i bootparamd-0.10-4mdk.i586.rpm


Then I just created /etc/bootparams. Example below:

	sun_client_name  root=192.168.37.16:/export/install_7/Solaris_2.7/Tools/Boot
	install=192.168.37.16:/export/install_7 boottype=:in   rootopts=:rsize=32768   


Create a startup script so the rpc.bootparamd daemon start after each reboot.

NFS
---------

Ensure that the kernel has NFS server components compiled in under the filesystems section of the kernel config.

Create the file /etc/exports to enable the NFS shares required

	/etc/exports
	------------------------------------------------
	/export/install_7   *   (ro,no_root_squash)    
	------------------------------------------------

Export all of the filesystems in /etc/exports

	exportfs -a


Installing the Client
----------------------

On the SUN client type:

 A

boot net - install