Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2008 22:54:18 -0700 (PDT)
From:      mohammad khatibi <mo_kh118@yahoo.com>
To:        CZUCZY Gergely <gergely.czuczy@harmless.hu>, freebsd question <freebsd-questions@freebsd.org>
Subject:   Re: PXE booting 7.0-R
Message-ID:  <677961.48472.qm@web90602.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
hi again=0Ayou said you use freebsd 7.0 so I told you to do these in freebs=
d ( that you install dhcp on it!!! to the end I call it pxeserver) not on y=
our Linux Server(and to the end I call your server that you want to boot fr=
om and mount its / FileServer)!!!=0Ayour dhcpd.conf is :=0A> host 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";=0AI dont use it and nothing happend=0A>=
 =A0 filename "/bsd/pxeboot";=0Ayou should=A0place pxeboot where you specif=
y as root-path and write here "pxeboot"=0A> =A0 next-server 10.0.0.1;=0A> =
=A0 option root-path "/wwwbladebsd/";=0Ayou should specify your root-path a=
s follow : [FileServer IP]:/=0AI use "/" because I couldn`t use any path an=
d admonish you not to try anywhere else because it doesn`t work!!!=0A> }=0A=
after these you should edit inetd in your pxeserver (freebsd) =0Aand you sh=
ould make your pxeboot again if you want to use tftp that briefly explain i=
n that article =0Aplease do=A0above steps exactly and=A0I hope you make it =
!!!=0Athese are my 3 months of working on freebsd for pxeboot=0A=0A=0A-----=
 Original Message ----=0AFrom: CZUCZY Gergely <gergely.czuczy@harmless.hu>=
=0ATo: mohammad khatibi <mo_kh118@yahoo.com>=0ACc: CZUCZY Gergely <phoemix@=
harmless.hu>=0ASent: Monday, June 9, 2008 8:56:47 AM=0ASubject: Re: PXE boo=
ting 7.0-R=0A=0AOn Sun, 8 Jun 2008 21:34:57 -0700 (PDT)=0Amohammad khatibi =
<mo_kh118@yahoo.com> wrote:=0A=0A> Hi =0A> try using this lines in your /us=
r/local/etc/dhcpd.conf instead of=0A> yours : subnet=A0[your subnet IP] net=
mask=A0[your netmask] {=0A> =A0 range [start range] [finish range];=0A> =A0=
 next-server [your PXE server IP];=0A> =A0 filename "pxeboot";=0A> =A0 opti=
on root-path "[your Root server IP (if you mount your server=0A> root its o=
bvious that your server IP)]:/"; }=0AYes, I was exactly using these options=
.=0A=0A> =0A> and you should make change in your /etc/inetd.conf and commen=
t out=0A> this line : tftp=A0=A0 dgram=A0=A0 udp wait=A0=A0=A0 root=A0=A0=
=A0 /usr/libexec/tftpd=0A> tftpd -l -s /tftpboot/ place your pxeboot and lo=
ader in /tftpboot/=0A> and reboot your system it should solve your problem =
=0ASorry, but you've failed here.=0A1) I stated the NFS(also tftp) server i=
s Linux, and I'm not using it=0Afrom inetd.=0A2) I wasn't asking how are _y=
ou_ doing it, the question was, what's=0Awrong with my setup. (After I know=
 what's wrong I can fix it myself,=0Athanks)=0A3) I've read articles, manua=
ls, etc. I have a problem with it, it's not=0Aworking as it's supposed to.=
=0A=0AAnyways, thanks for your efforts.=0A=0A> but if you want to use tftp =
instead of nfs you should make your=0A> pxeboot and loader using tftp enabl=
e to do this you can read this=0A> article : http://www.ultradesic.com/inde=
x.php?section=3D72 but there is=0A> a mistake in this article : after you m=
ake new files are place here :=0A> pxeboot : /usr/obj/usr/src/sys/boot/i386=
/pxeldr/=0A> loader : /usr/obj/usr/src/sys/boot/i386/loader/=0A> and you sh=
ould export / and all its directory for successful=0A> loading . for more i=
nformation you can read this article too.=0A> http://www.ultradesic.com/?se=
ction=3D144 I hope you make it =0A> ----- Original Message ----=0A> From: C=
ZUCZY Gergely <phoemix@harmless.hu>=0A> To: freebsd-questions@freebsd.org=
=0A> Sent: Friday, June 6, 2008 1:17:08 PM=0A> Subject: PXE booting 7.0-R=
=0A> =0A> Hello,=0A> =0A> I'm trying to PXE boot 7.0-RELEASE, but it stops =
at a time.=0A> =0A> At boot I see the following on the screen:=0A> BIOS dri=
ve C: is disk0=0A> BIOS drive D: is disk1=0A> =0A> PXE version 2.1, real mo=
de entry point @9188:0106=0A> BIOS 517kB/3406144kB available memory=0A> =0A=
> FreeBSD/i386 bootstrap loader, Revision 1.1=0A> (toor@myplace, date)=0A> =
pxe_open: server addr: 10.0.0.1=0A> pxe_open: serve path: /wwwbladebsd/=0A>=
 pxe_open: gateway ip: 10.0.0.1=0A> Consoles: internal video/keybaord=0A> B=
IOS drive C: is disk0=0A> BIOS drive D: is diskl=0A> BIOS 517kB/3406144kB a=
vailable memory=0A> =0A> FreeBSD/i386 bootstrap loader, Revision 1.1=0A> (t=
oor@myplace, date)=0A> Can't work out which disk we are booting from.=0A> G=
uessed BIOS device 0xffffffff not found by probes, defaulting to=0A> disk0=
=0A> =0A> can't loader 'kernel'=0A> =0A> Type '?' for a list of commands, '=
help' for more detailed help.=0A> OK lsdev=0A> cd devices:=0A> disk devices=
:=0A> disk0: BIOS drive C:=0A> disk1: BIOS drive D:=0A> pxe devices:=0A> =
=0A> on the server I see t serving pxeboot via tftp, and mounting the root=
=0A> via NFS: Jun=A0 6 11:38:22 nfs dhcpd: DHCPDISCOVER from=0A> 00:30:48:8=
d:00:36 via eth1 Jun=A0 6 11:38:22 nfs dhcpd: DHCPOFFER on=0A> 10.0.0.32 to=
 00:30:48:8d:00:36 via eth1 Jun=A0 6 11:38:24 nfs dhcpd:=0A> DHCPREQUEST fo=
r 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1=0A> Jun=A0 6 11:38:2=
4 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36=0A> via eth1 Jun=A0 =
6 11:38:24 nfs atftpd[2221]: Serving /bsd/pxeboot to=0A> 10.0.0.32:2070 Jun=
=A0 6 11:38:24 nfs atftpd[2222]: Serving /bsd/pxeboot=0A> to 10.0.0.32:2071=
 Jun=A0 6 11:38:25 nfs dhcpd: DHCPDISCOVER from=0A> 00:30:48:8d:00:36 via e=
th1 Jun=A0 6 11:38:25 nfs dhcpd: DHCPOFFER on=0A> 10.0.0.32 to 00:30:48:8d:=
00:36 via eth1 Jun=A0 6 11:38:25 nfs dhcpd:=0A> DHCPREQUEST for 10.0.0.32 (=
10.0.0.1) from 00:30:48:8d:00:36 via eth1=0A> Jun=A0 6 11:38:25 nfs dhcpd: =
DHCPACK on 10.0.0.32 to 00:30:48:8d:00:36=0A> via eth1 Jun=A0 6 11:38:25 nf=
s mountd[2120]: authenticated mount=0A> request from 10.0.0.32:1023 for /ww=
wbladebsd (/wwwbladebsd) (around=0A> 30-40 from these NFS mount messages in=
 the log).=0A> =0A> The NFS server is a linux box right now.=0A> =0A> The d=
hcpd.conf:=0A> host 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 f=
ilename "/bsd/pxeboot";=0A> =A0 next-server 10.0.0.1;=0A> =A0 option root-p=
ath "/wwwbladebsd/";=0A> }=0A> =0A> i'm using "atftpd" with /tftpboot as ro=
ot directory. /tftpboot/bsd/=0A> is a symlink to the root system's /boot .=
=0A> =0A> I've NFS-exported /wwwbladebsd/, and that seems to work.=0A> =0A>=
 The question is, why loader is unable to load the kernel?=0A> How could I =
force the loader to use tftp instead of NFS?=0A> =0A> Or using any other so=
lutions, how can I make this box boot?=0A> If I've left out outsomething fr=
om here, please tell me, I will post=0A> it.=0A> =0A> Thanks in advance.=0A=
> =0A> =0A=0A=0A-- =0A=0ASincerely,=0A=0AGergely CZUCZY,=0AHarmless Digital=
=0Amailto: gergely.czuczy@harmless.hu=0A=0ALegacy software is software that=
 works.=0A=0A=0A=0A      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?677961.48472.qm>