Date: Sun, 8 Jun 2008 21:34:57 -0700 (PDT) From: mohammad khatibi <mo_kh118@yahoo.com> To: CZUCZY Gergely <phoemix@harmless.hu>, freebsd question <freebsd-questions@freebsd.org> Subject: Re: PXE booting 7.0-R Message-ID: <482799.4165.qm@web90608.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
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= <phoemix@harmless.hu>=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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?482799.4165.qm>