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

Chainloading failure: Toshiba Tecra C40-C UEFI & Samsung SSD MZNLF128HCHP-000

Scheduled Pinned Locked Moved
FOG Problems
5
88
35.8k
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.
  • G
    george1421 Moderator @mabarton
    last edited by Jul 2, 2016, 5:14 PM

    @mabarton Just so you understand FOG is a complex orchestration of a number of other open source projects. All must work together to produce an effective deployment.

    FOG uses PXE, TFTP, FTP, PARTCLONE and NFS to be able to image files. The FOS engine (the software that is downloaded to the target computer to capture and deploy images) moves files over (unix) NFS connections (akin to a MS Windows file share) to the /images/dev directory on the FOG server. Once the upload is complete and the image information has been updated in the FOG database, the files are moved from the upload directory in /images/dev/<mac_address> to the /images/<image_name> directory. The FOS engine could do this over NFS, but that means reading the entire image back to the FOS engine’s memory and then writing it to the proper directory on the FOG server. But instead of doing this, the FOG developers are brilliantly using the FTP service on the FOG server to move the files about directly on the FOG server. To do this, once the files are captured to the FOG server, the FOS engine connects to the FOG server over the FTP protocol to direct the file moves. (This is the part you ran into yesterday). The FOS engine must log into the FTP service using the fog (user) maintenance account. In your case the fog (user) home directly did not exist, so linux block the fog (user) login via the FTP service. So the files were on the FOG server, they just couldn’t get to the final destination or recored in the database that the upload was complete. Once you created the fog (user) home directory the FOS engine should have been able to move the file from /images/dev to /images/<image_name>.

    I know that was a long (and some what tedious explanation) but I hope you under a little bit more about the sequence of event.

    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!

    W 1 Reply Last reply Jul 2, 2016, 6:44 PM Reply Quote 0
    • W
      Wayne Workman @george1421
      last edited by Jul 2, 2016, 6:44 PM

      @george1421 iPXE, Apache, in some cases ISC-DHCP or dnsmasq, MySQL, MariaDB, PHP, PartImage, probably others I’m not thinking about.

      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 1
      • W
        Wayne Workman
        last edited by Jul 2, 2016, 6:46 PM

        httpd php php-cli php-common php-gd mariadb mariadb-server tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gcc gcc-c++ lftp curl php-mcrypt php-mbstring mod_ssl php-fpm php-process

        And, others that are not listed which are directly downloaded and not installed through the repo manager.

        🙂

        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 Jul 2, 2016, 7:04 PM Reply Quote 0
        • M
          mabarton @Wayne Workman
          last edited by Jul 2, 2016, 7:04 PM

          You guys make my head explode. Lol

          It amazes me the amount of knowledge both of you have about Fog. Someday, I hope to have a fraction of that knowledge.

          I will be at the school in about 2 hours and will check if the image uploaded.

          Another question…does it matter where you install Fog and its subsequent updates? For example, do you have to be in /root or can you be in / or another location?

          I ask this because I see reference to
          /root/ fogproject, and I either do not have access to /root or nothing exists in the directory. Also, I am concerned that I messed up the install and that is the reason I am having this issue.

          W 1 Reply Last reply Jul 2, 2016, 8:21 PM Reply Quote 0
          • W
            Wayne Workman @mabarton
            last edited by Wayne Workman Jul 2, 2016, 2:22 PM Jul 2, 2016, 8:21 PM

            @mabarton It doesn’t really matter where the installation files are kept, but I recommend /root/git/fogproject or /root/svn/trunk generally. When running the installer you MUST have root properly sourced - meaning you need to BE root. In most cases, sudo -i will source root properly.

            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 Jul 2, 2016, 8:34 PM Reply Quote 0
            • M
              mabarton @Wayne Workman
              last edited by Jul 2, 2016, 8:34 PM

              @Wayne-Workman I use sudo su and sudo -i, but I have never used /root because when I use ls I see nothing in /root.

              W 1 Reply Last reply Jul 2, 2016, 9:09 PM Reply Quote 0
              • W
                Wayne Workman @mabarton
                last edited by Jul 2, 2016, 9:09 PM

                @mabarton Well, that just means it’s empty.

                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
                • M
                  mabarton @mabarton
                  last edited by mabarton Jul 2, 2016, 3:25 PM Jul 2, 2016, 9:20 PM

                  @mabarton So, I am looking at the image of a 128gb SSD and it shows that the image is 460 mib. I am going to deploy this image to see what happens.

                  My concern is that the chainloading error means that Fog is not able to boot the SSD and so it is imaging something else???

                  T 1 Reply Last reply Jul 2, 2016, 9:28 PM Reply Quote 0
                  • T
                    Tom Elliott @mabarton
                    last edited by Jul 2, 2016, 9:28 PM

                    @mabarton booting and imaging are two completely separate things. The size is more a convenience thing to let you know how big of a hard disk you’ll need. I suspect, however, simply disabling network boot after imaging is complete will allow the system to boot properly.

                    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 Jul 2, 2016, 9:38 PM Reply Quote 0
                    • M
                      mabarton @Tom Elliott
                      last edited by Jul 2, 2016, 9:38 PM

                      @Tom-Elliott
                      That is excellent news! All of the other computers I have imaged with Fog have been legacy and HDD, and all of their images were almost the same size as the drive. That was why I was so concerned with the size/chainloading error.

                      Thank you, Tom. So, the chainloading error is more of a nuisance than a problem.?

                      T 1 Reply Last reply Jul 2, 2016, 9:44 PM Reply Quote 0
                      • M
                        mabarton @mabarton
                        last edited by Jul 2, 2016, 9:40 PM

                        @mabarton So, is there a way that I can force the computers to shut down after the imaging process is complete? I am going to deploy this image to 100 computer and I don’t want them to boot loop until I get back to work.

                        T 1 Reply Last reply Jul 2, 2016, 9:49 PM Reply Quote 0
                        • T
                          Tom Elliott @mabarton
                          last edited by Jul 2, 2016, 9:44 PM

                          @mabarton the chainloading IS a problem but I don’t have a way to fix it for now, so it is also a nuisance as it means, at least for this systems having issues, they won’t automatically perform tasks you might need. I think, however, this would be the perfect time to learn how to configure rEFInd to enable booting to actually happen without a problem.

                          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 Jul 2, 2016, 9:57 PM Reply Quote 0
                          • T
                            Tom Elliott @mabarton
                            last edited by Jul 2, 2016, 9:49 PM

                            @mabarton when setting up the task there is a place it asks you to shutdown after imaging.

                            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
                              mabarton @Tom Elliott
                              last edited by mabarton Jul 2, 2016, 3:58 PM Jul 2, 2016, 9:57 PM

                              @Tom-Elliott Our computers go out to students living anywhere in Kansas, so I don’t get to use all of the benefits of Fog. Since the computers are not in my area, I always shut off PXE boot. Our brick-and-mortar uses iPads, primarily.

                              However, our school belongs to a network of schools called “Teen” and I am hoping to introduce Fog to those schools and a few others in our area. This is Kansas after all, and they don’t like giving schools money.

                              @Tom-Elliott said in Chainloading failure: Toshiba Tecra C40-C UEFI & Samsung SSD MZNLF128HCHP-000:

                              @mabarton I think, however, this would be the perfect time to learn how to configure rEFInd to enable booting to actually happen without a problem.

                              I am googling that now.

                              T 1 Reply Last reply Jul 2, 2016, 10:01 PM Reply Quote 0
                              • T
                                Tom Elliott @mabarton
                                last edited by Jul 2, 2016, 10:01 PM

                                @mabarton don’t lack on sharing what you find. That way, maybe, I could provide a usable Config for all. After all open source is all about contributing. It sounds selfish I suppose but I would, and possibly many others, be most appreciative of yours, or anybody else’s, findings on this.

                                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 Jul 2, 2016, 10:05 PM Reply Quote 0
                                • M
                                  mabarton @Tom Elliott
                                  last edited by mabarton Jul 2, 2016, 4:08 PM Jul 2, 2016, 10:05 PM

                                  @Tom-Elliott I fear that I would not be much help, but I rarely give up!

                                  The deployment worked!!! I think I am going to have a party to celebrate the end of an entire week of battling this problem. I may be able to leave the school at a decent hour next week!! If it were not for this forum and all of your help, I don’t know what I would have done.

                                  Thank you, thank you, thank you, Tom, Wayne, and George. Your help and expertise have been immensely appreciated!

                                  G 1 Reply Last reply Jul 4, 2016, 10:33 PM Reply Quote 0
                                  • G
                                    george1421 Moderator @mabarton
                                    last edited by Jul 4, 2016, 10:33 PM

                                    @mabarton Sorry I’ve been out enjoying the holiday. So image deployment worked, you are able to clone your image to 2 or more target systems right?

                                    The next bit you need to work on is the pxe exit mode stuff (if you want to). Just to recap you’ve selected all of the exit modes for UEFI Exit and none worked. Building on what Tom posted rEFInd should work. While I don’t have personal experience with this issue (yet), if rEFInd does not work out of the box (should be near the end of the list of options). There is a configuration file on the fog server that may need to be tweaked (refind.conf). Its located in /var/www/html/fog/service/ipxe on the fog server. We may need to add additional resources to look for (using the scanfor tag).

                                    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!

                                    M 1 Reply Last reply Jul 5, 2016, 2:19 AM Reply Quote 0
                                    • M
                                      mabarton @george1421
                                      last edited by Jul 5, 2016, 2:19 AM

                                      @george1421 it has deployed beautifully-- with the exception of the boot looping:)

                                      I am working in the rEFInd, so we shall see if it works.

                                      Thank you for the support!

                                      G 1 Reply Last reply Jul 5, 2016, 2:33 AM Reply Quote 0
                                      • G
                                        george1421 Moderator @mabarton
                                        last edited by george1421 Jul 4, 2016, 8:34 PM Jul 5, 2016, 2:33 AM

                                        @mabarton If the default out of the box refind.conf does not work look for a line like this one ( of course the next time you work, and not on your free time).

                                        scanfor internal
                                        

                                        This tell refind where to look for bootable devices. You may want to append/change that line to search in a few more places, like this one.

                                        scanfor internal,hdbios
                                        

                                        IF that doesn’t work then extend the search a bit more (reminder you need to reboot the target after each change.

                                        scanfor internal,external,hdbios,biosexternal
                                        

                                        One of those should pick up that M.2 disk. (said with some hope) We are walking on some uncharted ground here so there will be many trial and error tests until we get it right (or just give up 😉 )

                                        ref: http://www.rodsbooks.com/efi-bootloaders/refind.html

                                        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!

                                        M 1 Reply Last reply Jul 13, 2016, 2:14 AM Reply Quote 1
                                        • S
                                          Sebastian Roth Moderator
                                          last edited by Jul 8, 2016, 9:08 AM

                                          @george1421, @Wayne-Workman Sorry, I’m just being a bit lazy after having been offline (visiting a friend in the mountains) for almost a week I am trying to catch up… Is this solved or are we still seeing an issue with this laptops?

                                          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

                                          G 1 Reply Last reply Jul 8, 2016, 10:04 AM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 4 / 5
                                          4 / 5
                                          • First post
                                            74/88
                                            Last post

                                          206

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project