PXE boot with pfSense and Slack
Hello!
I am trying to setup a PXE booting environment in my network and I almost got it to work... Only it does not quite work yet... Basically, I want my laptop or any other machines to boot from my network. I followed the instructions from AlienBob to do so. I setup my laptop to boot from the NIC, it automatically gets an IP from the DHCP server (pfSense); I setup my gateway/DHCP server (pfSense) as is: -The IP address from the network boot server: 192.168.0.101 (the server where my slackware mirror and all tftp boot files are) -The filename used for network booting: /mnt/it-maintenance/tftpboot/slackware-13.1/pxelinux.0 (the absolute address of pxelinux.0 in my server) I setup the network boot server (running slack 13.1) as is: -uncommented the line in inetd.conf to have: Code:
tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot -r blksize Code:
/mnt/it-maintenance/operating-systems/slackware-13.1 Code:
-rw-r--r-- 1 root root 1697 2010-07-04 22:26 README.TXT PXE-E32: TFTP open timeout According to google, E32 error means that the machine found a boot file but could not download it... What do I need to do to make it work??? |
tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot -r blksize
Note the -s /tftpboot that is more or less a chroot. All your tftpboot files have to be located in /tftpboot. |
Well that did it! but now I have a new problem...
I booted and got to the "boot:" prompt... I pressed enter to select the default hugesmp.s and it said: Could not find kernel image: kernels/hugesmp.s/bxImage and the content of pxelinux.cgf/default is: Code:
default hugesmp.s |
got it! I just removed the /kernels from the addresses... the root was already at the good place... now that I can almost have a perfect setup I noticed before it display the welcome messages, I see some messages:
Code:
Trying to load: pxelinux.cfg/01-00-a0-cc-de-21-39 |
That is pxelinux looking for a specific configuration based on mac address then ip address in hex.
|
So it does not represent a problem then?
Now that I have a working setup, how complicated it would be to have the opportunity to boot other kind of troubleshooting appz like clonezilla, slax live distro, UBCD, etc?? |
Quote:
Quote:
For instance, this is my /tftpboot/pxelinux.cfg/default file: Code:
default hugesmp.s Code:
----| Boot Options |----------------- |
hey Eric! Thanks for the instructions! Precious stuff...
I guess since I am going deeper into this, now I have several questions: 1-I added Clonezilla to my PXE setup and it kinda works but when I type "clonezilla" to the boot: prompt, it seems to load the kernel and work fine until I can read "Enter 1 to select a keyboard map". From a USB keyboard, I wont be able to type anything at this point... Is this normal that the USB attached keyboard does not work? it works with all the other slackware kernels... Edit to #1: Solved.. it does that for anything before the USB driver is loaded.. 2-Also just before this prompt, I can read: Code:
/proc/misc: No entry for device-mapper found |
Thanks Eric (and all the others) for your help!
|
All times are GMT -5. The time now is 05:13 PM. |