Page 1 of 2

FOG Menu Not Working

Posted: 27 Feb 2015, 05:34
by lightmastr
I have successfully installed erpxe and installed the FOG plugin. However, whenever I try to select a fog option in the PXE menu a quick message flashes on the screen and then nothing happens. Any help would be greatly appreciated. Thank you very much!

Re: FOG Menu Not Working

Posted: 08 Mar 2015, 12:19
by RaveMaker
I've updated the FOG plugin, you can download it here:
https://sourceforge.net/projects/erpxe/ ... ugins/fog/

Re: FOG Menu Not Working

Posted: 08 Mar 2015, 23:53
by lightmastr
Thank you very much for updating the plugin! However, I am still having the same problem as before. Could it somehow be my configuration? Thank you for your help.

Re: FOG Menu Not Working

Posted: 09 Mar 2015, 11:23
by RaveMaker
probably file names or locations.

please post your output of:

Code: Select all

ls -R /tftpboot/er/plugins/fog/
also verify you are using the correct tftpd configuration using the remap file: (for CentOS tftpd)

Code: Select all

server_args		= -m /tftpboot/erpxe.remap -vvvvv -s /tftpboot/

Re: FOG Menu Not Working

Posted: 09 Mar 2015, 19:50
by lightmastr
Here is my output of that command:

/tftpboot/er/plugins/fog/:
boot.txt fogmain.menu fog.menu images
default fogmain.menu~ fog.png kernel

/tftpboot/er/plugins/fog/images:
init_32.xz init.xz

/tftpboot/er/plugins/fog/kernel:
bzImage bzImage32

Also, where is that remap file located? Thank you again for your help!

Re: FOG Menu Not Working

Posted: 10 Mar 2015, 17:26
by RaveMaker
erpxe.remap is located at /tftpboot

files location seems good, perhaps selinux issue.
use getenforce command and if Enforced change /tftpboot folder selinux context:

Code: Select all

restorecon -r /tftpboot
what is your OS type?

follow ERPXE installation manual and check if you missed anything:
http://erpxe.org/ERPXE:Installation

Re: FOG Menu Not Working

Posted: 10 Mar 2015, 22:52
by lightmastr
I tried running that command and that didn't seem to help. I also tried adding that line to the remap file and then had a tftp issue when trying to PXE boot.

I am running Ubuntu 13.10 32 Bit but previously tried this on Ubuntu 10.04 32 Bit and still had the same issue.

If this is helpful, I was able to successfully get SystemRescueCD to work.

Re: FOG Menu Not Working

Posted: 11 Mar 2015, 15:15
by RaveMaker
first make sure your remap file is being used:

Edit "/etc/default/tftpd-hpa"

Code: Select all

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot/"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-m /tftpboot/erpxe.remap -vvvvv -s"
second change permissions

Code: Select all

chmod -R 755 /tftpboot
verify you've updated the file 'fogmain.menu' and replaced 10.0.0.1 with your server IP.

Re: FOG Menu Not Working

Posted: 11 Mar 2015, 21:51
by lightmastr
I verified that I changed the IP and also verified that I had the TFTP configuration set correctly. I also tried changing the permissions. I tried booting FOG once again, and it still isn't working.

Re: FOG Menu Not Working

Posted: 12 Mar 2015, 12:54
by RaveMaker
the issue is that when you press enter on the menu entry nothing happens.
this means that the tftp server cant find the files mentioned in the kernel/initrd statement in fogmain.menu
verify kernel and initrd paths are correct and if not remove fog folder and redeploy the fog120-100.tar.gz