<div class="gmail_quote">2010/7/30 Jim Cromie <span dir="ltr"><<a href="mailto:jim.cromie@gmail.com">jim.cromie@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

thanks Michael,<br>
<div class="im"><br>
<br>
On Sun, Jul 25, 2010 at 1:44 AM, Michael Steinmann<br>
<<a href="mailto:mike.steinmann@gmail.com">mike.steinmann@gmail.com</a>> wrote:<br>
> my PXE running in pfsense (192.168.100.1) works like this:<br>
><br>
> SERIAL 0 38400<br>
> # CONSOLE 0<br>
><br>
> DEFAULT menu.c32<br>
> ALLOWOPTIONS 0<br>
> PROMPT 0<br>
> TIMEOUT 0<br>
><br>
> MENU TITLE --== Install Voyage ==--<br>
><br>
> LABEL rootmenu<br>
>     MENU LABEL ..<br>
>     kernel menu.c32<br>
>     append pxelinux.cfg/default<br>
><br>
> LABEL Voyage<br>
>     MENU LABEL ^Voyage 0.6.5<br>
>     KERNEL voyage-0.6.5/vmlinuz1<br>
>     APPEND initrd=voyage-0.6.5/initrd1.img boot=live<br>
> fetch=tftp://<a href="http://192.168.100.1/voyage-0.6.5.filesystem.squashfs" target="_blank">192.168.100.1/voyage-0.6.5.filesystem.squashfs</a> live-getty<br>
> noautologin all_generic_ide debug console=ttyS0,38400n8<br>
><br>
<br>
</div>can you clarify a few things ?<br>
<br>
fetch=<><br>
<br>
Im not familiar with this directive, and I didnt see it on <a href="http://syslinux.zytor.com" target="_blank">syslinux.zytor.com</a><br>
</blockquote><div><br>see <a href="http://syslinux.zytor.com/wiki/index.php/WDSLINUX">http://syslinux.zytor.com/wiki/index.php/WDSLINUX</a><br>until now I used:<br>PXELINUX 3.71 Debian-2008-09-06  Copyright (C) 1994-2008 H. Peter Anvin<br>

and just now I upgraded to (changed pxelinux.0 and menu.c32):<br>PXELINUX 4.02 2010-07-21  Copyright (C) 1994-2010 H. Peter Anvin et al<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I can imagine what it should do, but I tried adding it, and saw no<br>
download happening.<br>
what part of the boot actually uses it ?<br>
what would the proper output look like ?<br></blockquote><div><br>Intel UNDI, PXE-2.0 (build 082)<br>Copyright (C) 1997,1998,1999  Intel Corporation<br>VIA Rhine III Management Adapter v2.43 (2005/12/15)<br><br>CLIENT MAC ADDR: 00 0D B9 12 87 68<br>

CLIENT IP: 192.168.100.233  MASK: 255.255.255.0  DHCP IP: 192.168.100.1<br>GATEWAY IP: 192.168.100.1<br><br>PXELINUX 4.02 2010-07-21  Copyright (C) 1994-2010 H. Peter Anvin et al<br><br>          ¢z¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w<br>

          ¢x                 --== PXE Boot Menu ==--       <br>          ¢u¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w<br>          ¢x Voyage 0.6.5                                          <br>          ¢x Voyage 0.6.5 stable                               <br>

          ¢x Voyage-One (0.6.5 based)                      <br><br><br><br>Loading voyage-0.6.5/vmlinuz1....<br>Loading voyage-0.6.5/initrd1.img........ready.<br><br>[    0.000000] Linux version 2.6.32-voyage (2.6.32) (root@punknix-uml) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #1 PREEMPT Sat Jun 5 10:37:21 GMT 2010<br>

[    0.000000] KERNEL supported cpus:<br>[    0.000000]   Intel GenuineIntel<br>[    0.000000]   AMD AuthenticAMD<br>[    0.000000]   NSC Geode by NSC<br>...<br><br>and here the filesystem.squashfs gets fetched:<br><br>[    6.387421] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1<br>

[    6.391592] eth1: link down<br>[    6.427181] ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports<br><br>and after a while and some NIC-LEDs blinking (no other messages in between):<br>


<br>[   56.105838] aufs 20090126<br>[   56.273950] loop: module loaded<br>[   56.419914] squashfs: version 4.0 (2009/01/31) Phillip Lougher<br>INIT: version 2.88 booting<br>Using makefile-style concurrent boot in runlevel S.<br>

Starting the hotplug events dispatcher: udevd[   79.151982] udev: starting version 158<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


I also tried appending it to the initrd=<img>,filesystem.squashfs,<br>
which did download,<br>
but didnt know what to do with it afterwards.<br>
Is 192.168.100.1 the same box that provides the pxelinux.0 file ?<br></blockquote><div><br>yes<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


pfsense is a FreeBSD based dist, right ?<br></blockquote><div><br>yes<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
is this what youre using as the dhcpd, tftp server ?<br></blockquote><div><br>yes, it does it all. This is my little how-to enable PXE on pfSense:<br><ul><li>In pfSense 1.2.3-Release install the TFTP package.</li><li>remount the filesystem R/W with "mount -rw /dev/ufs/pfsense0 /"</li>

<li>make a folder /tftpboot/ <br></li><li>in the webGUI:
 pfSense->Services->DHCP server->Enable Network booting 
[checked]; enter the IP of the pfSense itself (192.168.100.1), and the filename 
"pxelinux.0"<span class="__wave_paste"></span><span> <br></span></li></ul></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">


><br>
> the files are from the live-cd<br>
> make sure not to place the filesystem.squashfs in a subfolder.<br>
<br>
</div>If I had tried this, would I get a clear error ?<br>
I did not, since I saw nothing during the boot process.<br>
</blockquote></div><br>I was wrong, I just had this in mind but tested it again and it also works if it is in a subfolder.<br>If the filesystem.squashfs is missing I get the following output:<br><br>[    6.393543] ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports<br>

<br>BusyBox v1.15.3 (Debian 1:1.15.3-1) built-in shell (ash)<br>Enter 'help' for a list of built-in commands.<br><br>/bin/sh: can't access tty; job control turned off<br>(initramfs)<br><br>I hope this helps.<br>

What do you see? How far does it go?<br><br>MIchael<br><br>