From owner-freebsd-questions@FreeBSD.ORG Tue Apr 1 01:21:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9D481065672 for ; Tue, 1 Apr 2008 01:21:27 +0000 (UTC) (envelope-from brett@net24.co.nz) Received: from srv.exchange.net24.net.nz (srv.exchange.net24.net.nz [210.55.4.16]) by mx1.freebsd.org (Postfix) with ESMTP id 712108FC1A for ; Tue, 1 Apr 2008 01:21:27 +0000 (UTC) (envelope-from brett@net24.co.nz) Received: from [192.168.1.100] ([210.55.30.56]) by srv.exchange.net24.net.nz with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Apr 2008 14:06:11 +1300 Message-ID: <47F18B56.6030903@net24.co.nz> Date: Tue, 01 Apr 2008 14:09:42 +1300 From: Brett Davidson User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: multipart/mixed; boundary="----=neXtPaRt_1207012158" X-OriginalArrivalTime: 01 Apr 2008 01:06:11.0015 (UTC) FILETIME=[92F6CD70:01C89394] X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Getting PXE booting to work on FreeBSD 7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 01:21:28 -0000 ------=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: pxe_open: server path: /tftpboot/freebsd pxe_open: gateway ip: \ 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--