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

    Kernel Panic on Quick Register

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    8
    20
    6.3k
    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.
    • B
      Bob Henderson @george1421
      last edited by

      @george1421 Yep, that’s exactly what @Zaarin noticed in his first post. Looks like a fat finger kind of thing that we all do every once in a while.

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

        @Bob-Henderson Understand this is not an official comment, but if you are at a road block until the devs can resolve this issue, I have a way to hack around it.

        You need to have access to the linux console and edit the following file.
        /var/www/html/fog/lib/fog/bootmenu.class.php

        Search for rootfstype There should be two in that file. The first one is what we need to edit.

        It should look something like this

        $this->kernel = sprintf('kernel %s %s initrd=%s root=/dev/ram0 rw ramdisk_size=%s keymap=%s web=%s consoleblank=0%s rootfstype=ext4%s%s',
        

        Just insert a space between ext4%s%s making it look like this

        $this->kernel = sprintf('kernel %s %s initrd=%s root=/dev/ram0 rw ramdisk_size=%s keymap=%s web=%s consoleblank=0%s rootfstype=ext4  %s%s',
        

        Save the file and you should now be able to boot into the FOS kernel. Of course we should wait for an official fix, but this will get you going.

        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!

        Q T 2 Replies Last reply Reply Quote 2
        • B
          Bob Henderson
          last edited by

          @george1421 Confirmed, that works. Gotta love spaces!

          1 Reply Last reply Reply Quote 0
          • Q
            Quazz Moderator @george1421
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              Pushed into current to have a space.

              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
                mrdally204
                last edited by

                I ran into this same issue, just updated trunk to git 8022 (latest) and got the same kernel panic. I manually changed the file and was able to run though the host registration, but no host was registered at the server.

                1 Reply Last reply Reply Quote 0
                • falkoF
                  falko Moderator
                  last edited by

                  Version @ 8030 and I too receive the kernel panic when selecting from the pxe menu, deploy tasks set from the web work

                  1 Reply Last reply Reply Quote 0
                  • ZaarinZ
                    Zaarin
                    last edited by

                    Trunk version 8030 not solving the problem.

                    1 Reply Last reply Reply Quote 0
                    • falkoF
                      falko Moderator
                      last edited by falko

                      Version @ 8034 appears to be working fine now, thanks

                      1 Reply Last reply Reply Quote 0
                      • ZaarinZ
                        Zaarin
                        last edited by

                        8036 as well. Thank for your work. Topic can be closed.

                        Zaza.

                        1 Reply Last reply Reply Quote 0
                        • T
                          tkindle83 @george1421
                          last edited by

                          @george1421 said in Kernel Panic on Quick Register:

                          @Bob-Henderson Understand this is not an official comment, but if you are at a road block until the devs can resolve this issue, I have a way to hack around it.

                          You need to have access to the linux console and edit the following file.
                          /var/www/html/fog/lib/fog/bootmenu.class.php

                          Search for rootfstype There should be two in that file. The first one is what we need to edit.

                          It should look something like this

                          $this->kernel = sprintf('kernel %s %s initrd=%s root=/dev/ram0 rw ramdisk_size=%s keymap=%s web=%s consoleblank=0%s rootfstype=ext4%s%s',
                          

                          Just insert a space between ext4%s%s making it look like this

                          $this->kernel = sprintf('kernel %s %s initrd=%s root=/dev/ram0 rw ramdisk_size=%s keymap=%s web=%s consoleblank=0%s rootfstype=ext4  %s%s',
                          

                          Save the file and you should now be able to boot into the FOS kernel. Of course we should wait for an official fix, but this will get you going.

                          Hello new to linux here, trying to get fog up and running in my Windows environment I have came across the Kernel Panic issue after installing a newer kernel to try to get my HP 600 G2’s to register. I tried to follow this solution however when i look at the BootMenu.class.php with vi and search for rootfstype nothing comes up so I’m at a big stand still here. Any help would be much appreciated.

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

                            @tkindle83 Please try updating to rc-1.

                            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

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              tkindle83 @Tom Elliott
                              last edited by

                              @Tom-Elliott Thanks Tom how do I go about this? I’m very very new to Linux.

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

                                https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

                                Follow the guide for the git method, dev-branch IS currently RC-1 on 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

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

                                158

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.4k

                                Posts
                                Copyright © 2012-2024 FOG Project