FOG Menu Not Working

lightmastr
Posts: 9
Joined: 27 Feb 2015, 05:31

FOG Menu Not Working

Post by lightmastr » 27 Feb 2015, 05:34

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!

RaveMaker
Posts: 204
Joined: 21 Mar 2013, 20:11

Re: FOG Menu Not Working

Post by RaveMaker » 08 Mar 2015, 12:19

I've updated the FOG plugin, you can download it here:
https://sourceforge.net/projects/erpxe/ ... ugins/fog/

lightmastr
Posts: 9
Joined: 27 Feb 2015, 05:31

Re: FOG Menu Not Working

Post by lightmastr » 08 Mar 2015, 23:53

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.

RaveMaker
Posts: 204
Joined: 21 Mar 2013, 20:11

Re: FOG Menu Not Working

Post by RaveMaker » 09 Mar 2015, 11:23

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/

lightmastr
Posts: 9
Joined: 27 Feb 2015, 05:31

Re: FOG Menu Not Working

Post by lightmastr » 09 Mar 2015, 19:50

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!

RaveMaker
Posts: 204
Joined: 21 Mar 2013, 20:11

Re: FOG Menu Not Working

Post by RaveMaker » 10 Mar 2015, 17:26

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

lightmastr
Posts: 9
Joined: 27 Feb 2015, 05:31

Re: FOG Menu Not Working

Post by lightmastr » 10 Mar 2015, 22:52

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.

RaveMaker
Posts: 204
Joined: 21 Mar 2013, 20:11

Re: FOG Menu Not Working

Post by RaveMaker » 11 Mar 2015, 15:15

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.

lightmastr
Posts: 9
Joined: 27 Feb 2015, 05:31

Re: FOG Menu Not Working

Post by lightmastr » 11 Mar 2015, 21:51

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.

RaveMaker
Posts: 204
Joined: 21 Mar 2013, 20:11

Re: FOG Menu Not Working

Post by RaveMaker » 12 Mar 2015, 12:54

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

Post Reply