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

    Can't boot to hard drive after installing dnsmasq

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    6
    1.4k
    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.
    • M
      MarcB
      last edited by

      Hey Gang,

      I had a working FOG 1.20 server running on ubuntu 14.04 for a while, but then decided to run dhcp from our cisco equipment. I followed the instructions for installing dnsmasq, and got everything to work regarding pxe booting. However, if I didn’t select any pxe boot options (register host, etc), and allowed the system to boot from hard drive, it would fail indicating no startup disk, and would suggest pressing F2 for setup, etc. This was a different behavior from other folks (various posts in the forum) who had a black screen and a flashing cursor in the corner.

      I solved the issue by editing /etc/dnsmasq.d/ltsp.conf and uncommenting the line that reads:

      pxe-service=X86PC, “Boot from local hard disk”, 0

      For the record, I created my ltsp.conf file from the sample provided in the documentation, and just changed the relevant parts (server IP address, etc), and kept everything else as is.

      Anyway - I thought I’d post this in the hope that someone else who may be struggling with this issue will find success with this solution.

      Keep up the good work on this excellent project! FOG is one of the greatest tools I’ve ever used in my 16 years as a sysadmin.

      Thanks,

      Marc

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        When you network boot to fog (no matter the means of delivering the options), FOG handles exiting to HDD just fine. So I’d sugest that you set DNSMASQ to always network boot to fog.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

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

          Try commenting port=0 in the dnsmasq config file and restarting the service too.

          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

          M 1 Reply Last reply Reply Quote 0
          • M
            MarcB @Tom Elliott
            last edited by MarcB

            @Tom-Elliott Thanks Tom - yes, that option was commented, and that fixed my dns issue on the fog server (dns broke when I installed dnsmasq, but was restored by commenting out that line). Buy my machines wouldn’t find their hard drives unless I uncommented the line I specified above.

            1 Reply Last reply Reply Quote 0
            • M
              MarcB @Wayne Workman
              last edited by

              @Wayne-Workman Are you referring to this line:
              pxe-service=X86PC, “Boot from network”, undionly

              I had that line uncommented as well, and still had the issue where my machines were not finding their hard drives. This issue cropped up once I installed dnsmasq. Everything else about FOG process on these very same machines worked flawlessly (and had been since v.28).

              The one change that allowed them to find their hard drives was uncommenting the line:
              pxe-service=X86PC, “Boot from local hard disk”, 0

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @MarcB
                last edited by

                @MarcB It’d help a lot if you posted the entire ltsp.conf file.

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

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

                237

                Online

                12.1k

                Users

                17.3k

                Topics

                155.3k

                Posts
                Copyright © 2012-2024 FOG Project