From owner-freebsd-questions@FreeBSD.ORG Tue Apr 1 15:14:25 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 398C0106566C for ; Tue, 1 Apr 2008 15:14:25 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id E78968FC23 for ; Tue, 1 Apr 2008 15:14:24 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1JgiBq-0001ax-AP; Tue, 01 Apr 2008 19:14:22 +0400 Received: from bsam by bs1.sp34.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JgiEf-0000Pq-4n; Tue, 01 Apr 2008 19:17:17 +0400 To: Brett Davidson References: <47F18B56.6030903@net24.co.nz> From: Boris Samorodov Date: Tue, 01 Apr 2008 19:17:17 +0400 In-Reply-To: <47F18B56.6030903@net24.co.nz> (Brett Davidson's message of "Tue\, 01 Apr 2008 14\:09\:42 +1300") Message-ID: <39018114@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: 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 15:14:25 -0000 On Tue, 01 Apr 2008 14:09:42 +1300 Brett Davidson wrote: > 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' take a look at /var/log/xferlog. You may find something helpful there. > 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?! :-) WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve