From owner-freebsd-questions@FreeBSD.ORG Mon Jun 9 04:34:58 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 653E21065677 for ; Mon, 9 Jun 2008 04:34:58 +0000 (UTC) (envelope-from mo_kh118@yahoo.com) Received: from web90608.mail.mud.yahoo.com (web90608.mail.mud.yahoo.com [216.252.100.191]) by mx1.freebsd.org (Postfix) with SMTP id 2DB4A8FC0C for ; Mon, 9 Jun 2008 04:34:58 +0000 (UTC) (envelope-from mo_kh118@yahoo.com) Received: (qmail 4624 invoked by uid 60001); 9 Jun 2008 04:34:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=xp5EbbHnh1BiwYhTn5ZfzXw6QLQurHVWlo6PtAaLvNorKzdWN/HQ9NIsXx++jD26zYjZSVoRKXbhq9IkhTS3b+QcV9Lwyqb3z4k6jRzbFaw36piVu7psND1KWXSWMars6rW6b3YibwlD/v32KCncBV4AagXfsSuSg8aqA5fnloI=; Received: from [78.38.255.30] by web90608.mail.mud.yahoo.com via HTTP; Sun, 08 Jun 2008 21:34:57 PDT X-Mailer: YahooMailRC/975.41 YahooMailWebService/0.7.199 Date: Sun, 8 Jun 2008 21:34:57 -0700 (PDT) From: mohammad khatibi To: CZUCZY Gergely , freebsd question MIME-Version: 1.0 Message-ID: <482799.4165.qm@web90608.mail.mud.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: PXE booting 7.0-R 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: Mon, 09 Jun 2008 04:34:58 -0000 Hi =0Atry using this lines in your /usr/local/etc/dhcpd.conf instead of you= rs :=0Asubnet=A0[your subnet IP] netmask=A0[your netmask] {=0A=A0 range [st= art range] [finish range];=0A=A0 next-server [your PXE server IP];=0A=A0 fi= lename "pxeboot";=0A=A0 option root-path "[your Root server IP (if you moun= t your server root its obvious that your server IP)]:/";=0A}=0A=0Aand you s= hould make change in your /etc/inetd.conf and comment out this line :=0Atft= p=A0=A0 dgram=A0=A0 udp wait=A0=A0=A0 root=A0=A0=A0 /usr/libexec/tftpd=A0 t= ftpd -l -s /tftpboot/=0Aplace your pxeboot and loader in /tftpboot/ and reb= oot your system =0Ait should solve your problem =0Abut if you want to use t= ftp instead of nfs you should make your pxeboot and loader using tftp enabl= e to do this you can read this article :=0Ahttp://www.ultradesic.com/index.= php?section=3D72=0Abut there is a mistake in this article : =0Aafter you ma= ke new files are place here :=0Apxeboot : /usr/obj/usr/src/sys/boot/i386/px= eldr/=0Aloader : /usr/obj/usr/src/sys/boot/i386/loader/=0Aand you should ex= port / and all its directory for successful loading . for more information = you can read this article too.=0Ahttp://www.ultradesic.com/?section=3D144= =0AI hope you make it =0A----- Original Message ----=0AFrom: CZUCZY Gergely= =0ATo: freebsd-questions@freebsd.org=0ASent: Friday, = June 6, 2008 1:17:08 PM=0ASubject: PXE booting 7.0-R=0A=0AHello,=0A=0AI'm t= rying to PXE boot 7.0-RELEASE, but it stops at a time.=0A=0AAt boot I see t= he following on the screen:=0ABIOS drive C: is disk0=0ABIOS drive D: is dis= k1=0A=0APXE version 2.1, real mode entry point @9188:0106=0ABIOS 517kB/3406= 144kB available memory=0A=0AFreeBSD/i386 bootstrap loader, Revision 1.1=0A(= toor@myplace, date)=0Apxe_open: server addr: 10.0.0.1=0Apxe_open: serve pat= h: /wwwbladebsd/=0Apxe_open: gateway ip: 10.0.0.1=0AConsoles: internal vide= o/keybaord=0ABIOS drive C: is disk0=0ABIOS drive D: is diskl=0ABIOS 517kB/3= 406144kB available memory=0A=0AFreeBSD/i386 bootstrap loader, Revision 1.1= =0A(toor@myplace, date)=0ACan't work out which disk we are booting from.=0A= Guessed BIOS device 0xffffffff not found by probes, defaulting to disk0=0A= =0Acan't loader 'kernel'=0A=0AType '?' for a list of commands, 'help' for m= ore detailed help.=0AOK lsdev=0Acd devices:=0Adisk devices:=0Adisk0: BIOS d= rive C:=0Adisk1: BIOS drive D:=0Apxe devices:=0A=0Aon the server I see t se= rving pxeboot via tftp, and mounting the root via NFS:=0AJun=A0 6 11:38:22 = nfs dhcpd: DHCPDISCOVER from 00:30:48:8d:00:36 via eth1=0AJun=A0 6 11:38:22= nfs dhcpd: DHCPOFFER on 10.0.0.32 to 00:30:48:8d:00:36 via eth1=0AJun=A0 6= 11:38:24 nfs dhcpd: DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:= 00:36 via eth1=0AJun=A0 6 11:38:24 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30= :48:8d:00:36 via eth1=0AJun=A0 6 11:38:24 nfs atftpd[2221]: Serving /bsd/px= eboot to 10.0.0.32:2070=0AJun=A0 6 11:38:24 nfs atftpd[2222]: Serving /bsd/= pxeboot to 10.0.0.32:2071=0AJun=A0 6 11:38:25 nfs dhcpd: DHCPDISCOVER from = 00:30:48:8d:00:36 via eth1=0AJun=A0 6 11:38:25 nfs dhcpd: DHCPOFFER on 10.0= .0.32 to 00:30:48:8d:00:36 via eth1=0AJun=A0 6 11:38:25 nfs dhcpd: DHCPREQU= EST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1=0AJun=A0 6 11:= 38:25 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36 via eth1=0AJun= =A0 6 11:38:25 nfs mountd[2120]: authenticated mount request from 10.0.0.32= :1023 for /wwwbladebsd (/wwwbladebsd) (around 30-40 from these NFS mount me= ssages in the log).=0A=0AThe NFS server is a linux box right now.=0A=0AThe = dhcpd.conf:=0Ahost blade1 {=0A=A0 hardware ethernet 00:30:48:8d:00:36;=0A= =A0 fixed-address 10.0.0.32;=0A=A0 server-name "10.0.0.1";=0A=A0 filename "= /bsd/pxeboot";=0A=A0 next-server 10.0.0.1;=0A=A0 option root-path "/wwwblad= ebsd/";=0A}=0A=0Ai'm using "atftpd" with /tftpboot as root directory. /tftp= boot/bsd/ is a=0Asymlink to the root system's /boot .=0A=0AI've NFS-exporte= d /wwwbladebsd/, and that seems to work.=0A=0AThe question is, why loader i= s unable to load the kernel?=0AHow could I force the loader to use tftp ins= tead of NFS?=0A=0AOr using any other solutions, how can I make this box boo= t?=0AIf I've left out outsomething from here, please tell me, I will post i= t.=0A=0AThanks in advance.=0A=0A=0A-- =0ASincerely,=0A=0AGergely CZUCZY=0AH= armless Digital Bt=0Amailto: gergely.czuczy@harmless.hu=0ATel: +36-30-97029= 63=0A=0A=0A=0A