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

    Nothing to Boot error..any solution?

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    22
    18.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.
    • A
      adi
      last edited by

      Hi

      I run fog client and restarting the Pcs…its then boot up to network(iPXE)…then it says "Nothing to boot: No such file or directory (http://ipxe.org/2d03e13b) No more network devices.

      Btw both fog server and win7 pc are on virutal box…

      ch3iC 1 Reply Last reply Reply Quote 0
      • ch3iC
        ch3i Moderator @adi
        last edited by

        @adi Hi, \o/… Can you provide more informations like FOG version, OS Server, …

        1 Reply Last reply Reply Quote 1
        • A
          adi
          last edited by

          fog version 1.2.0…n os linux mint 17.2(rafaela)

          ch3iC 1 Reply Last reply Reply Quote 0
          • ch3iC
            ch3i Moderator @adi
            last edited by

            @adi said:

            fog version 1.2.0…n os linux mint 17.2(rafaela)

            Have you a firewall ? Can you access your tftp server with a tftp client (to test) ?

            A 1 Reply Last reply Reply Quote 1
            • A
              adi @ch3i
              last edited by

              @ch3i
              I already disable firewall…how to test ?

              ch3iC 1 Reply Last reply Reply Quote 0
              • ch3iC
                ch3i Moderator @adi
                last edited by ch3i

                @adi said:

                @ch3i
                I already disable firewall…how to test ?

                On a Windows host, enable tftp client via “Turn Windows feature on or off” and select tftp client. After that test your connection via command line interface on the windows like that :

                tftp xxx.xxx.xxx.xxx GET boot.txt boot.txt (where xxx.xxx.xxx.xxx is your fog server IP !)
                

                If it’s ok :

                Transfer successful: 865 bytes in 1 second(s), 865 bytes/s
                
                A 1 Reply Last reply Reply Quote 1
                • A
                  adi @ch3i
                  last edited by

                  @ch3i
                  the transfer output was successful:865 bytes in 1 second.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Sebastian Roth

                    How is the network configured for those two virtual machines? Please make sure those two machines can reach each other (e.g. boot both and ping from one to the other).

                    Would be a real help if you could capture a packet dump with the traffic from the windows machine while it tries to boot up into iPXE. Follow this article: https://www.virtualbox.org/wiki/Network_tips

                    Upload the pcap file here in the forums and we’ll have a look!

                    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

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      adi @Sebastian Roth
                      last edited by

                      @Uncle-Frank
                      Both virtual machines can ping each other and firewall were off…

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

                        @adi As @Uncle-Frank said, a packet dump would be very helpful in figuring out what’s going on. Here’s an alternative guide that uses Linux to do the packet dump. Look in the “troubleshooting” section here: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_TFTP

                        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/

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          adi @Wayne Workman
                          last edited by

                          @Wayne-Workman
                          See attached file.issue.pcap

                          my fog server IP: 192.168.56.102
                          win7 client IP:192.168.56.101

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

                            Just asking but based on the error from ipxe this particular error presents most often because the next-server and/or filename parameters of the dhcp server are not set, or in reachable. This is represented in Windows dhcp as option 66 and option 67. If these are set then I’d double check the VM nics and verify they are in a bridged not natted mode.

                            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
                            • S
                              Sebastian Roth Moderator
                              last edited by

                              In the pcap file I only see DHCP answers from 192.168.56.100. Which machine is this?

                              This seams kind of weird as there is no information about next-server or filename set in those DHCP answers. The client actually does not even try to boot from network or even get iPXE via TFTP.

                              Please run this again to the point where you see the above error.

                              Again my question: How are your network interfaces configured in virtualbox (hostonly, bridge, …)?

                              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

                              A 2 Replies Last reply Reply Quote 0
                              • A
                                adi @Sebastian Roth
                                last edited by

                                @Uncle-Frank
                                let me check back the cconfig…both virtualbox config with host-only adapter…

                                1 Reply Last reply Reply Quote 0
                                • A
                                  adi @Sebastian Roth
                                  last edited by

                                  @Uncle-Frank
                                  How do I setup my fog server as dhcp server?

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator @adi
                                    last edited by Sebastian Roth

                                    @adi I was a little confused about not seeing TFTP traffic in the packet dump (meaning that iPXE binary didn’t get transferred to the client to boot from) but you still see an iPXE error message. Haven’t used virtualbox for netbooting much lately and so I did not know that it actually uses iPXE as network boot binary in the first place (http://www.virtualbox.org/svn/vbox/trunk/src/VBox/Devices/PC/ipxe/src/usr/autoboot.c).

                                    IMHO the easiest solution for you here is to add a proxyDHCP using dnsmasq on the FOG server. The virtualbox DHCP server will go on handing the IP address to the client and dnsmasq will add the important information to netboot the client.

                                    sudo apt-get install dnsmasq
                                    sudo apt-get remove isc-dhcp-server tftpd-hpa
                                    

                                    The second command might fail but I just want to make sure that ISC DHCP and TFTPd are not getting in the way as dnsmasq will do the job for you. Then edit /etc/dnsmasq.conf to your needs. Here is an example for your setup. I am not able to test this so there could be minor errors in it. Look over it and make sure to correct things as needed:

                                    # Don't function as a DNS server:
                                    port=0
                                    
                                    # Log lots of extra information about DHCP transactions.
                                    log-dhcp
                                    
                                    # Dnsmasq can also function as a TFTP server.
                                    enable-tftp
                                    
                                    # Set the root directory for files available via FTP.
                                    tftp-root=/tftpboot
                                    
                                    # The boot filename, Server name, Server Ip Address
                                    dhcp-boot=undionly.kpxe,192.168.56.102,192.168.56.102
                                    
                                    # Disable re-use of the DHCP servername and filename fields as extra
                                    # option space. That's to avoid confusing some old or broken DHCP clients.
                                    dhcp-no-override
                                    
                                    # PXE menu.
                                    pxe-prompt="Press F8 for boot menu", 3
                                    
                                    # Tells the client to load undionly.0 from TFTP
                                    pxe-service=X86PC, "Boot from network", undionly
                                    
                                    # This range(s) is for the public interface, where dnsmasq functions
                                    # as a proxy DHCP server providing boot information but no IP leases.
                                    dhcp-range=192.168.56.102,proxy
                                    

                                    And to finish things up you need to link the boot file and restart dnsmasq:

                                    sudo ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.0
                                    sudo service dnsmasq restart
                                    

                                    Then bootup your windows client and keep fingers crossed.

                                    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

                                    A 2 Replies Last reply Reply Quote 1
                                    • A
                                      adi @Sebastian Roth
                                      last edited by

                                      @Uncle-Frank

                                      Hi

                                      boot.jpg

                                      Seem like it tried to contact fog server…but it keeps on restarting

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        adi @Sebastian Roth
                                        last edited by

                                        @Uncle-Frank
                                        here is my tcpdumplog1.pcap

                                        A 1 Reply Last reply Reply Quote 0
                                        • A
                                          adi @adi
                                          last edited by

                                          @adi said:

                                          @Uncle-Frank
                                          here is my tcpdumplog1.pcap

                                          fog server :192.168.100.10
                                          client:192.168.100.11(get ip via dhcp from fog server)

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            Sebastian Roth Moderator
                                            last edited by

                                            Could you please help us with some more information. Why have you changed IP addresses (is there a reason we should know)? Seams like you have configured a “normal” DHCP now, not proxyDHCP. Also your FOG server MAC address seams changed. Please tell us what you’ve done and best also post the configs you are running. Otherwise it is all very hard guesswork.

                                            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

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

                                            216

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project