p .(enum Place the kernel into the TFTP server's download area. If the kernel has a .Dq .gz suffix, you must first uncompress it using the
a gunzip program.
p .Dl server# Ic cp netbsd-GENERIC /tftpboot/netbsd-shark
p Note that your DHCP server must be configured to specify this file as the boot file for the client. t Unpack the distribution sets into the client's root directory on the server.
p .Dl server# Ic cd /export/client/shark .Dl server# Ic gzcat .../base.\*[setsuffix] | tar xvpf - .Dl server# Ic gzcat .../etc.\*[setsuffix] | tar xvpf - .Dl [ repeat for all sets you wish to unpack ] t Load the kernel from the TFTP server.
p .Dl ok Ic boot net .enum)
p The installation of your diskless .Nx*M system is now complete! You may now skip ahead to any post-installation instructions. . .Ss2 Installation onto a hard disk To install or upgrade .Nx*M on a hard disk, you need to first boot the installation program and then interact with the screen-menu program c sysinst . The installation program actually consists of the .Nx kernel plus an in-memory file system of utility programs.
p If you have an existing .Nx installation on your hard disk, you may copy the special installation kernel into your existing root file system.
p .Dl client# Ic gzcat .../shark/installation/instkernel/netbsd.gz \*[Gt] /netbsd.inst
p You may then boot the installation kernel.
p .Dl ok Ic boot disk netbsd.inst
p If you do not have an existing .Nx installation, then you must load the installation kernel over the network. You must configure a DHCP and TFTP server in order to do this.
p Place the installation kernel into the TFTP server's download area.
p .Dl server# Ic gzcat .../shark/installation/instkernel/netbsd.gz \*[Gt] /tftpboot/shark-inst
p Note that your DHCP server must be configured to specify this file as the boot file for the client.
p You may then boot the installation kernel.
p .Dl ok Ic boot net
p Once the installation kernel has loaded, the c sysinst installation program should launch automatically. . .