Date: Tue, 01 Apr 2008 14:09:42 +1300 From: Brett Davidson <brett@net24.co.nz> To: freebsd-questions@freebsd.org Subject: Getting PXE booting to work on FreeBSD 7.0 Message-ID: <47F18B56.6030903@net24.co.nz>
next in thread | raw e-mail | index | archive | help
------=neXtPaRt_1207012158 Content-Type: multipart/mixed; boundary="------------080104020308050303020008" This is a multi-part message in MIME format. --------------080104020308050303020008 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I have set up a Linux Boot DHCP server (for other reasons that hopefully will become obvious later) which points to the BSD based tftp server. I did try to recompile the BSD pxeboot program to use TFTP as per the following but this did not appear to work as booting it still prompted for an NFS path : echo LOADER_TFTP_SUPPORT=YES >> /etc/make.conf; cd /usr/src/sys/boot/; make clean; make depend; make; cp i386/pxeldr/pxeboot /tftpboot/freebsd So... I set up /etc/exports with "/tftpboot/ -alldirs ro", and started up nfs. This works fine for manual mounting and for installing via nfs after booting off CD but I get the following errors when PXE booting... pxe_open: server addr: <serverip> pxe_open: server path: /tftpboot/freebsd pxe_open: gateway ip: <subnetgatewayip> \ can't load 'kernel' The /tftpboot/freebsd/boot/loader.rc file contents are given here ( I have tried full OS paths to these as well to no avail) : echo Loading Kernel load /boot/kernel/kernel load linux.ko echo Booting load -r /mfs_root/mfsroot.gz echo \007\007 echo initialiasing h0h0magic set vfs.root.mountfrom=ufs:/dev/md0c boot IMPORTANT: I am booting the client within a vmware-based instance (Vmware-server 1.0.4 on Centos 4.4) using bridged networking. I am obviously missing something obvious. Can you please point this out to me?! :-) -- Brett Davidson Systems Engineer -- Net24 Limited Web: www.net24.co.nz Phone: 0800 5000 24 | DDI: +64 3 962 9518 -- // web hosting / email hosting / data backup // our reputation for reliability precedes us This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please delete it and notify the sender. --------------080104020308050303020008-- ------=neXtPaRt_1207012158 Content-Type: text/plain; Protected by Net24 Fortigate Anti-virus system ------=neXtPaRt_1207012158--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47F18B56.6030903>