Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2008 08:50:42 +0200
From:      CZUCZY Gergely <gergely.czuczy@harmless.hu>
To:        mohammad khatibi <mo_kh118@yahoo.com>
Cc:        freebsd question <freebsd-questions@freebsd.org>
Subject:   Re: PXE booting 7.0-R
Message-ID:  <20080609085042.2c57d83e@twoflower.in.publishing.hu>
In-Reply-To: <677961.48472.qm@web90602.mail.mud.yahoo.com>
References:  <677961.48472.qm@web90602.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/MwODA8el9_EB=fXx79URFLO
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I've tried also specifing the IP for root-path, but as it seems, the hosts
defaults to server-name or next-server (these are the same for me), so it's=
 not
neccessery to specify the IP in root-path.

Also the fileserver and the dhcp server are the same. You should have seen =
this
in the included config I gave.

Furthermore, meanwhile we've noticed that loader fails to get the pxe varia=
bles
when the onboard raid is enabled, and it notices the PXE environment when t=
he
disks are not included in any RAID setups. Quite strange.

On Sun, 8 Jun 2008 22:54:18 -0700 (PDT)
mohammad khatibi <mo_kh118@yahoo.com> wrote:

> hi again
> you said you use freebsd 7.0 so I told you to do these in freebsd ( that =
you
> install dhcp on it!!! to the end I call it pxeserver) not on your Linux
> Server(and to the end I call your server that you want to boot from and m=
ount
> its / FileServer)!!! your dhcpd.conf is :
> > host blade1 {
> > =C2=A0 hardware ethernet 00:30:48:8d:00:36;
> > =C2=A0 fixed-address 10.0.0.32;
> > =C2=A0 server-name "10.0.0.1";
> I dont use it and nothing happend
> > =C2=A0 filename "/bsd/pxeboot";
> you should=C2=A0place pxeboot where you specify as root-path and write he=
re
> "pxeboot"
> > =C2=A0 next-server 10.0.0.1;
> > =C2=A0 option root-path "/wwwbladebsd/";
> you should specify your root-path as follow : [FileServer IP]:/
> I use "/" because I couldn`t use any path and admonish you not to try
> anywhere else because it doesn`t work!!!
> > }
> after these you should edit inetd in your pxeserver (freebsd)=20
> and you should make your pxeboot again if you want to use tftp that brief=
ly
> explain in that article please do=C2=A0above steps exactly and=C2=A0I hop=
e you make
> it !!! these are my 3 months of working on freebsd for pxeboot
>=20
>=20
> ----- Original Message ----
> From: CZUCZY Gergely <gergely.czuczy@harmless.hu>
> To: mohammad khatibi <mo_kh118@yahoo.com>
> Cc: CZUCZY Gergely <phoemix@harmless.hu>
> Sent: Monday, June 9, 2008 8:56:47 AM
> Subject: Re: PXE booting 7.0-R
>=20
> On Sun, 8 Jun 2008 21:34:57 -0700 (PDT)
> mohammad khatibi <mo_kh118@yahoo.com> wrote:
>=20
> > Hi=20
> > try using this lines in your /usr/local/etc/dhcpd.conf instead of
> > yours : subnet=C2=A0[your subnet IP] netmask=C2=A0[your netmask] {
> > =C2=A0 range [start range] [finish range];
> > =C2=A0 next-server [your PXE server IP];
> > =C2=A0 filename "pxeboot";
> > =C2=A0 option root-path "[your Root server IP (if you mount your server
> > root its obvious that your server IP)]:/"; }
> Yes, I was exactly using these options.
>=20
> >=20
> > and you should make change in your /etc/inetd.conf and comment out
> > this line : tftp=C2=A0=C2=A0 dgram=C2=A0=C2=A0 udp wait=C2=A0=C2=A0=C2=
=A0 root=C2=A0=C2=A0=C2=A0 /usr/libexec/tftpd
> > tftpd -l -s /tftpboot/ place your pxeboot and loader in /tftpboot/
> > and reboot your system it should solve your problem=20
> Sorry, but you've failed here.
> 1) I stated the NFS(also tftp) server is Linux, and I'm not using it
> from inetd.
> 2) I wasn't asking how are _you_ doing it, the question was, what's
> wrong with my setup. (After I know what's wrong I can fix it myself,
> thanks)
> 3) I've read articles, manuals, etc. I have a problem with it, it's not
> working as it's supposed to.
>=20
> Anyways, thanks for your efforts.
>=20
> > but if you want to use tftp instead of nfs you should make your
> > pxeboot and loader using tftp enable to do this you can read this
> > article : http://www.ultradesic.com/index.php?section=3D72 but there is
> > a mistake in this article : after you make new files are place here :
> > pxeboot : /usr/obj/usr/src/sys/boot/i386/pxeldr/
> > loader : /usr/obj/usr/src/sys/boot/i386/loader/
> > and you should export / and all its directory for successful
> > loading . for more information you can read this article too.
> > http://www.ultradesic.com/?section=3D144 I hope you make it=20
> > ----- Original Message ----
> > From: CZUCZY Gergely <phoemix@harmless.hu>
> > To: freebsd-questions@freebsd.org
> > Sent: Friday, June 6, 2008 1:17:08 PM
> > Subject: PXE booting 7.0-R
> >=20
> > Hello,
> >=20
> > I'm trying to PXE boot 7.0-RELEASE, but it stops at a time.
> >=20
> > At boot I see the following on the screen:
> > BIOS drive C: is disk0
> > BIOS drive D: is disk1
> >=20
> > PXE version 2.1, real mode entry point @9188:0106
> > BIOS 517kB/3406144kB available memory
> >=20
> > FreeBSD/i386 bootstrap loader, Revision 1.1
> > (toor@myplace, date)
> > pxe_open: server addr: 10.0.0.1
> > pxe_open: serve path: /wwwbladebsd/
> > pxe_open: gateway ip: 10.0.0.1
> > Consoles: internal video/keybaord
> > BIOS drive C: is disk0
> > BIOS drive D: is diskl
> > BIOS 517kB/3406144kB available memory
> >=20
> > FreeBSD/i386 bootstrap loader, Revision 1.1
> > (toor@myplace, date)
> > Can't work out which disk we are booting from.
> > Guessed BIOS device 0xffffffff not found by probes, defaulting to
> > disk0
> >=20
> > can't loader 'kernel'
> >=20
> > Type '?' for a list of commands, 'help' for more detailed help.
> > OK lsdev
> > cd devices:
> > disk devices:
> > disk0: BIOS drive C:
> > disk1: BIOS drive D:
> > pxe devices:
> >=20
> > on the server I see t serving pxeboot via tftp, and mounting the root
> > via NFS: Jun=C2=A0 6 11:38:22 nfs dhcpd: DHCPDISCOVER from
> > 00:30:48:8d:00:36 via eth1 Jun=C2=A0 6 11:38:22 nfs dhcpd: DHCPOFFER on
> > 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun=C2=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
> > Jun=C2=A0 6 11:38:24 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:=
36
> > via eth1 Jun=C2=A0 6 11:38:24 nfs atftpd[2221]: Serving /bsd/pxeboot to
> > 10.0.0.32:2070 Jun=C2=A0 6 11:38:24 nfs atftpd[2222]: Serving /bsd/pxeb=
oot
> > to 10.0.0.32:2071 Jun=C2=A0 6 11:38:25 nfs dhcpd: DHCPDISCOVER from
> > 00:30:48:8d:00:36 via eth1 Jun=C2=A0 6 11:38:25 nfs dhcpd: DHCPOFFER on
> > 10.0.0.32 to 00:30:48:8d:00:36 via eth1 Jun=C2=A0 6 11:38:25 nfs dhcpd:
> > DHCPREQUEST for 10.0.0.32 (10.0.0.1) from 00:30:48:8d:00:36 via eth1
> > Jun=C2=A0 6 11:38:25 nfs dhcpd: DHCPACK on 10.0.0.32 to 00:30:48:8d:00:=
36
> > via eth1 Jun=C2=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 messages in the log).
> >=20
> > The NFS server is a linux box right now.
> >=20
> > The dhcpd.conf:
> > host blade1 {
> > =C2=A0 hardware ethernet 00:30:48:8d:00:36;
> > =C2=A0 fixed-address 10.0.0.32;
> > =C2=A0 server-name "10.0.0.1";
> > =C2=A0 filename "/bsd/pxeboot";
> > =C2=A0 next-server 10.0.0.1;
> > =C2=A0 option root-path "/wwwbladebsd/";
> > }
> >=20
> > i'm using "atftpd" with /tftpboot as root directory. /tftpboot/bsd/
> > is a symlink to the root system's /boot .
> >=20
> > I've NFS-exported /wwwbladebsd/, and that seems to work.
> >=20
> > The question is, why loader is unable to load the kernel?
> > How could I force the loader to use tftp instead of NFS?
> >=20
> > Or using any other solutions, how can I make this box boot?
> > If I've left out outsomething from here, please tell me, I will post
> > it.
> >=20
> > Thanks in advance.
> >=20
> >=20
>=20
>=20


--=20
=C3=9Cdv=C3=B6lettel,

Czuczy Gergely
Harmless Digital Bt
mailto: gergely.czuczy@harmless.hu
Tel: +36-30-9702963

--Sig_/MwODA8el9_EB=fXx79URFLO
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)

iD8DBQFITNLEzrC0WyuMkpsRAnxVAJ0Re+dzKX4LHzWQHWGJnr9UgYv3HwCfeMmx
BOQd1aJAWDlaxtCvEhSc8Ec=
=mTKE
-----END PGP SIGNATURE-----

--Sig_/MwODA8el9_EB=fXx79URFLO--



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