I'm following the guide in 'The Handbook' for setting up diskless operation, but can't figure out what should be copied to 'rootpath'.
31.8.2. Configuring the DHCP Server
Can I just extract an ISO image into FreeBSD/install/ or do I need to build a special diskless version of FreeBSD?
It mentions:-
I've run
which extracts the rootfs to /tftpboot/FreeBSD and have set 192.168.1.2:/tftpboot/FreeBSD as the root-path.
When booting, the PXE client executes the PXE boot loader then stops with a
Any ideas? How can I tell which file is being sought, ie precise path... Is it /tftpboot/FreeBSD/boot/kernel/kernel ?
31.8.2. Configuring the DHCP Server
Code:
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.3 ;
option subnet-mask 255.255.255.0 ;
option routers 192.168.0.1 ;
option broadcast-address 192.168.0.255 ;
option domain-name-servers 192.168.35.35, 192.168.35.36 ;
option domain-name "example.com";
# IP address of TFTP server
next-server 192.168.0.1 ;
# path of boot loader obtained via tftp
filename "FreeBSD/install/boot/pxeboot" ;
# pxeboot boot loader will try to NFS mount this directory for root FS
option root-path "192.168.0.1:/b/tftpboot/FreeBSD/install/" ;
}
Can I just extract an ISO image into FreeBSD/install/ or do I need to build a special diskless version of FreeBSD?
It mentions:-
Install the base system into ${NFSROOTDIR}, either by decompressing the official archives or by rebuilding the FreeBSD kernel and userland (refer to Section 23.5, “Updating FreeBSD from Source” for more detailed instructions, but do not forget to add DESTDIR=${NFSROOTDIR} when running the make installkernel and make installworld commands.
I've run
Code:
tar xf FreeBSD-11.1-RELEASE-i386-bootonly.iso -C /tftpboot/FreeBSD
When booting, the PXE client executes the PXE boot loader then stops with a
NFS MOUNT RPC error: 72
/
can't load 'kernel'
Type '?' for a list of commands.
Any ideas? How can I tell which file is being sought, ie precise path... Is it /tftpboot/FreeBSD/boot/kernel/kernel ?