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

    Checksum kernel failed

    Scheduled Pinned Locked Moved
    FOG Problems
    kernel checksum
    5
    14
    2.7k
    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.
    • W
      welcomyou
      last edited by

      Unfortunately, this server couldn’t. This is company policy 😞
      I see this link https://wiki.fogproject.org/wiki/index.php?title=Kernel_Update, there’s a manual kernel update.

      Is there any way for me to manually download and copy the kernel to the right place at FOG installing process?

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @welcomyou
        last edited by

        @welcomyou Not at this time, the installer must connect to the internet to download the kernel, inits, fog client…

        You have a bigger issue, the installer script also installs any needed system packages too. Its a bit more complete than copying all of the bits and then just running the installer and pointing it at a cache directory (something I discussed last week). If certain php modules are not installed the fog installer will reach out to your distribution’s package servers and download them.

        What host OS are you installing FOG on?

        @Developers can you think of any way to install FOG on a system that absolutely doesn’t have internet access?

        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!

        Tom ElliottT W 2 Replies Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @george1421
          last edited by

          @george1421 No.

          The reason? Because we have to ensure all packages are available. The only real way to do that is to run package management checks which will require internet.

          You only need internet for the initial installation, after that you can isolate it.

          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

          W 1 Reply Last reply Reply Quote 2
          • W
            welcomyou @george1421
            last edited by

            @george1421 I could download other packages on other computer, copy to USB and install on that internal server. I have done this for php_fpm package, not sure any other package need to be download manually. For kernel, I dont know where to download and what path to put it in when FOG installing

            I use CentOS 7 and its full packages DVD

            1 Reply Last reply Reply Quote 0
            • W
              welcomyou @Tom Elliott
              last edited by

              @Tom-Elliott So, there’s no way for me to install FOG without internet access? 😢

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

                @welcomyou There is a pre-made VM that someone here has made, I think it’s for VMWare but could be wrong. Search the forums for it.

                How are you even communicating with our site? How do you even plan to download a VM without internet access? How do you plan to get a copy of FOG without internet access, or a copy of a modern Linux distribution for that matter? How are you going to keep Linux secure without updates? A system is less secure without updates. People think that Linux is impenetrable - this isn’t true. Linux is better than most, but it has it’s flaws - flaws that are fixed when found, in the form of updates, with new versions of packages. Disallowing internet disallows the latest patches, which essentially disallows a secure environment.

                It’s estimated that over 90% of all security breaches happen from within an organization - so your no-internet access network you may have is not secure. It would be quite vulnerable. In fact, an isolated network often has lax security because of perceived security from not having a line in or out, making it easier to compromise.

                If the thought behind disallowing the internet is to somehow protect your company from malicious stuff - well, keep in mind you’re wanting to run an open source operating system that thousands of people contribute to every day, and running a solution (fog) that is open source and developed by volunteers - a solution that DOES stuff to your image. Modern imaging is not copy/paste. By the act of even using FOG, there is mandatory trust of the FOG developers, and of Linux developers in general.

                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/

                W 1 Reply Last reply Reply Quote 0
                • W
                  welcomyou @Wayne Workman
                  last edited by

                  @Wayne-Workman Thank for your opinion. With FOG, VM, Linux distribution, security patch … I usually download them to USB and update manually.

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

                    @welcomyou If you want to do it the ‘hackish’ way there is always an option to do so. Add this to your /etc/hosts file on the FOG server and replace x.x.x.x with an IP pointing to a local webserver within your private network:

                    x.x.x.x fogproject.org
                    

                    Assuming you have all the packages for your distribution properly installed beforehand, plus put checksums, kernels and initrds on your local webserver, you should be able to run the FOG installer script.

                    I am not saying this is easy but definitely doable…

                    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 2
                    • george1421G
                      george1421 Moderator
                      last edited by

                      I started to reply this (early AM for me) and discarded what I had once I saw the mountain of work ahead of you.

                      As for the yum repository stuff, you can follow these instructions to mount the centos dvd as a local repository: https://access.redhat.com/solutions/1355683

                      As Sebastian said, if you create a local web server to mimic the fogproject.org web site then you can maybe install FOG.

                      You will need these files in this local path
                      https://fogproject.org/inits/init.xz
                      https://fogproject.org/inits/init_32.xz
                      https://fogproject.org/inits/index.php
                      https://fogproject.org/kernels/bzImage
                      https://fogproject.org/kernels/bzImage32
                      https://fogproject.org/kernels/index.php

                      The unknown is if the fog installer adds in any additional repos that you will need to install.

                      [edit] crud I just found that the fog installer is accessing files from the remi repo too. The mountain just got a bit higher. [/ edit]

                      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 Reply Quote 1
                      • W
                        welcomyou @george1421
                        last edited by

                        @george1421 , @Sebastian-Roth thank so much for your support, I have requested permission to access to internet. Add one more NIC and set up new temporary IP.

                        george1421G 1 Reply Last reply Reply Quote 1
                        • george1421G
                          george1421 Moderator @welcomyou
                          last edited by

                          @welcomyou I think that is your best solution. This internet access is only required during the install process. Once that is done the connection should be disabled and removed. That way you can maintain your security rules.

                          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!

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

                            The installer has an option to not exit if something fails. It’ll likely be a disaster in most cases to use, and it’s been a pretty flaky option in the past, but the argument is:

                            ./installfog.sh -X
                            

                            This - if it works - should not exit when the kernels/inits/client fail to download, and then you can place the files later.

                            Get a full description from the installer’s help menu:

                            ./installfog.sh --help
                            Usage: ./installfog.sh [-h?dEUuHSCKYXT] [-f <filename>]
                            		[-D </directory/to/document/root/>] [-c <sslPath>]
                            		[-W <webroot/to/fog/after/docroot/>] [-B </backup/path/>]
                            		[-s <192.168.1.10>] [-e <192.168.1.254>] [-b <undionly.kpxe>]
                            	-h -? --help			Display this info
                            	-d    --no-defaults		Don't guess defaults
                            	-U    --no-upgrade		Don't attempt to upgrade
                            	-H    --no-htmldoc		No htmldoc, means no PDFs
                            	-S    --force-https		Force HTTPS redirect
                            	-C    --recreate-CA		Recreate the CA Keys
                            	-K    --recreate-keys		Recreate the SSL Keys
                            	-Y -y --autoaccept		Auto accept defaults and install
                            	-f    --file			Use different update file
                            	-c    --ssl-file		Specify the ssl path
                            	               				defaults to /opt/fog/snapins/ssl
                            	-D    --docroot			Specify the Apache Docroot for fog
                            	               				defaults to OS DocumentRoot
                            	-W    --webroot			Specify the web root url want fog to use
                            	            				(E.G. http://127.0.0.1/fog,
                            	            				      http://127.0.0.1/)
                            	            				Defaults to /fog/
                            	-B    --backuppath		Specify the backup path
                            	      --uninstall		Uninstall FOG
                            	-s    --startrange		DHCP Start range
                            	-e    --endrange		DHCP End range
                            	-b    --bootfile		DHCP Boot file
                            	-E    --no-exportbuild		Skip building nfs file
                            	-X    --exitFail		Do not exit if item fails
                            	-T    --no-tftpbuild		Do not rebuild the tftpd config file
                            	-P    --no-pxedefault		Do not overwrite pxe default 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

                            193

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.3k

                            Posts
                            Copyright © 2012-2024 FOG Project