• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    PXE Menu issues - Dell Optiplex 790

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    7
    3.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jeremy Pieples
      last edited by

      Originally, I had some issues with the 790 being able to boot to the primary hard drive from the fog menu. So I attempted to follow the instructions [URL=‘http://www.fogproject.org/wiki/index.php?title=Boot_looping_and_Chainloading’]here[/URL], because all of the forum posts seem to indicate that was the problem.

      I had trouble finding any newer versions of syslinux that even had the chain.c32 file in them. So I used the version listed in that wiki article (4.04).

      Ever since making any changes to the /tftpboot/pxelinux.cfg/default file, instead of the vesa menu pulling up like it should, whenever I PXE boot, I wind up at a screen with “boot: _” that just loops.

      I have tried restoring the original file. I have rebooted the server to make sure any necessary services have restarted.

      I would prefer to get the chainloading working so that I can PXE -> hard disk in my boot order, but getting the PXE menu to work at all at this point would be my primary concern.

      I have included a copy of my pxelinux.cfg/default file

      [CODE]
      DEFAULT vesamenu.c32 MENU TITLE FOG Computer Cloning Solution MENU BACKGROUND
      fog/bg.png MENU MASTER PASSWD $1$MqHtEmUa$Q.rjvHGQ1eZ0cRfBI.OIR.

      menu color title 1;36;44 #ffffffff #00000000 std

      LABEL fog.local
      localboot 0
      MENU DEFAULT
      MENU LABEL Boot from hard disk
      TEXT HELP
      Boot from the local hard drive.
      If you are unsure, select this option.
      ENDTEXT[/CODE]

      as well as the directory output for the tftp file.

      [CODE]
      root@SCDFOG01:/tftpboot# ls -la
      total 260
      drwxr-xr-x 5 fog root 4096 Oct 10 15:48 .
      drwxr-xr-x 25 root root 4096 Oct 9 06:56 …
      -rw-r–r-- 1 fog root 828 Oct 8 15:08 boot.txt
      -rw-r–r-- 1 root root 20704 Oct 10 16:20 chain.c32
      drwxr-xr-x 5 fog root 4096 Oct 8 15:08 fog
      -rw-r–r-- 1 fog root 25340 Oct 8 15:08 memdisk
      -rw-r–r-- 1 fog root 26460 Oct 10 16:20 pxelinux.0
      drwxr-xr-x 2 fog root 4096 Oct 10 16:48 pxelinux.cfg
      drwxr-xr-x 2 fog root 4096 Oct 8 15:08 tftpboot
      -rw-r–r-- 1 fog root 155792 Oct 10 16:20 vesamenu.c32
      root@SCDFOG01:/tftpboot#
      [/CODE]

      And for clarification, the menu (as well as things like registering) were working just fine before trying to configure chainloading.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        First things first. Chown the directory with sudo chown -R fog:root /tftpboot just so you know permissions are good throughout. Next, the default file can’t have extra spaces for lines. So anything with text on it should be fine. Remove the whitespace.

        Change the local boot line to read as localboot 0x80 to ensure it finds the hard drive. Next all syslinux has the .c32 files they’re just in different places. Use du piped to grep to find them. Make sure you’ve got the fogboot directory in your web server. It should just be a link back to your /tftpboot/fog directory. I’ll clarify more when I get home.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • J
          Jeremy Pieples
          last edited by

          Tom, thanks for your help, but I managed to self-resolve this just as your responded.

          Two things fixed it. First, overwriting the default file by going back into the web interface and saving the pxe menu options fixed the menu for me.

          Second, I learned a very important lesson today about never using the ssh client in the web interface to edit files. As soon as I got back to my computer and used putty to ssh in and modify the default file, and configured it for chain loading. It worked just fine.

          Thank you for your quick reply!

          1 Reply Last reply Reply Quote 0
          • M
            Magnus_CA
            last edited by

            [quote=“Tom Elliott, post: 17948, member: 7271”]First things first. Chown the directory with sudo chown -R fog:root /tftpboot just so you know permissions are good throughout. Next, the default file can’t have extra spaces for lines. So anything with text on it should be fine. Remove the whitespace.

            Change the local boot line to read as localboot 0x80 to ensure it finds the hard drive. Next all syslinux has the .c32 files they’re just in different places. Use du piped to grep to find them. Make sure you’ve got the fogboot directory in your web server. It should just be a link back to your /tftpboot/fog directory. I’ll clarify more when I get home.[/quote]

            Tom,

            I am also having issues getting the boot from local drive option to work (on Lenovo PC’s, not Dell). I may need to start a new thread but I wanted to clarify something…why do you recommend using ‘localboot 0x80’ over the ‘KERNEL chain.c32’ as recommended in the ‘Boot looping and Chainloading’ wiki?

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              I ran into a similar issue when I was trying gpxelinux. The 0x80 seemed to work for both systems the most dynamically.

              0x80 fixed that issue for me, so I was hoping to get the information. I’ve since learned that this doesn’t always work, but please give that a shot as it allows the quickest fix if it works. Otherwise, you may need to chainload.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • M
                Magnus_CA
                last edited by

                Are you saying localboot 0x80 may reboot the clients without installing the 4.04 syslinux kernels?

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  Correct,

                  It may, but it may not as well. I don’t know for sure.

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post

                  218

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project