Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blog:netboot_solaris [2018/11/28 09:23] – [More thoughts] john | blog:netboot_solaris [2019/02/17 16:45] (current) – john | ||
---|---|---|---|
Line 22: | Line 22: | ||
< | < | ||
- | echo "00:01:02:03:04:ef sparky" | + | echo "00:80:42:0b:17:dd sparky" |
echo " | echo " | ||
</ | </ | ||
- | Run the rarp daemon in verbose mode (rarpd -v) and monitor syslog/ | + | Run the rarp daemon in verbose mode (rarpd -v -d) and monitor syslog/ |
- | The next step is supplying a kernel image to the booting Sparc machine. | + | < |
+ | ~# rarpd -d -v | ||
+ | rarpd[2326]: | ||
+ | rarpd[2326]: | ||
+ | rarpd[2326]: | ||
+ | rarpd[2326]: | ||
+ | rarpd[2326]: | ||
+ | rarpd[2326]: | ||
+ | rarpd[2326]: | ||
+ | rarpd[2326]: | ||
+ | rarpd[2326]: | ||
+ | rarpd[2326]: | ||
+ | rarpd[2326]: | ||
+ | rarpd[2326]: | ||
+ | rarpd[2326]: | ||
+ | rarpd[2326]: | ||
+ | rarpd[2326]: | ||
+ | </ | ||
+ | |||
+ | Once you have the right ethernet address for the Sparc, rarpd will respond as such: | ||
+ | |||
+ | < | ||
+ | rarpd[3578]: | ||
+ | rarpd[3578]: | ||
+ | </ | ||
+ | |||
+ | The next step is supplying a kernel image to the booting Sparc machine. Note that modern versions of rarpd on Linux will also try to find a Sun kernel image, if you already have a working tftp server elsewhere ignore that feature of rarpd by running it with the //-e// flag: rarpd -d -v -e. | ||
=== tftp === | === tftp === | ||
As the machine starts to boot it will make a request via TFTP, to the same server that it received a rarp request from, for a kernel image. | As the machine starts to boot it will make a request via TFTP, to the same server that it received a rarp request from, for a kernel image. | ||
+ | |||
+ | In my case: | ||
+ | |||
+ | < | ||
+ | Feb 17 16:43:56 curse tftpd[4446]: | ||
+ | Feb 17 16:44:05 curse tftpd[4478]: | ||
+ | </ | ||
The name of the kernel image will depend on the IP address that you have assigned to the Sparc machine. Unfortunately it's in hexadecimal format. In the case of assigning 192.168.1.15, | The name of the kernel image will depend on the IP address that you have assigned to the Sparc machine. Unfortunately it's in hexadecimal format. In the case of assigning 192.168.1.15, | ||
Line 62: | Line 95: | ||
=== bootparams === | === bootparams === | ||
- | TBC | + | During install, the Solaris kernel sends out a request to the **bootparam** daemon on the Linux host to request the correct parameters for the installer (remember that rarp only does basic IP assignment and tftp then only sends a kernel image - we still need to supply any needed kernel boot parameters in the same way we would do for Linux using dnsmasq/ |
+ | |||
+ | Install bootparamd on your Linux host and add an entry to / | ||
+ | |||
+ | < | ||
+ | sparky root=linuxbox:/ | ||
+ | install=linuxbox:/ | ||
+ | rootopts=: | ||
+ | boottype=: | ||
+ | </ | ||
+ | |||
+ | Obviously **sparky** must match the hostname you're assigning to the Solaris host, and the **root** and **install** paths should mirror where you have unpacked the Solaris installation CD images. | ||
=== NFS === | === NFS === |