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

    Using different Kernels for different machines

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    18
    4.0k
    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.
    • T
      TexasIT936
      last edited by

      Current Setup: FOG 1.2.0 on Ubuntu 14.04.1 LTS

      Task: Imaging machines
      So far the default kernel has been functioning perfect for my machines except one Optiplex 760 (the others are different).
      I have downloaded the compatible kernel but when I pxe the machine it says “no such file or directory” when trying to load the kernel!

      I have tried adding the exact new kernel path under “Host Kernel” for that specific host with no luck any ideas?

      I tried googling and searching the forum without success any help would be great!

      "There are those who can read binary and those who rather not."

      1 Reply Last reply Reply Quote 0
      • JunkhackerJ
        Junkhacker Developer
        last edited by

        what is the “exact new kernel path” you added, and where did you store the file?

        signature:
        Junkhacker
        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

        1 Reply Last reply Reply Quote 0
        • T
          TexasIT936
          last edited by

          [quote=“Junkhacker, post: 38769, member: 21583”]what is the “exact new kernel path” you added, and where did you store the file?[/quote]

          The Path I used is :/var/www/html/fog/service/ipxe/nav14bzImage

          "There are those who can read binary and those who rather not."

          1 Reply Last reply Reply Quote 0
          • T
            TexasIT936
            last edited by

            root@ubuntuFOGserver:/var/www/fog/service/ipxe# ls -l
            total 38684
            -rw-r–r-- 1 fog www-data 1105 Nov 3 15:05 advanced.php
            drwxr-xr-x 2 fog fog 4096 Nov 4 16:54 backup
            -rw-r–r-- 1 fog www-data 44908 Nov 3 15:05 bg.png
            -rw-r–r-- 1 fog www-data 756 Nov 3 15:05 boot.php
            -rw-r–r-- 1 fog www-data 6169392 Nov 3 15:05 bzImage
            -rw-r–r-- 1 fog www-data 6170512 Nov 3 15:05 bzImage32
            -rw-r–r-- 1 fog www-data 234697 Nov 3 15:05 grub.exe
            -rw-r–r-- 1 fog www-data 9577456 Nov 3 15:05 init_32.xz
            -rw-r–r-- 1 fog www-data 10914208 Nov 3 15:05 init.xz
            -rw-r–r-- 1 fog www-data 25340 Nov 3 15:05 memdisk
            -rw-r–r-- 1 fog www-data 1839104 Nov 3 15:05 memtest.bin
            -rw-r–r-- 1 fog fog 4606848 Nov 4 16:54 nov14bzImage
            root@ubuntuFOGserver:/var/www/fog/service/ipxe#

            "There are those who can read binary and those who rather not."

            1 Reply Last reply Reply Quote 0
            • JunkhackerJ
              Junkhacker Developer
              last edited by

              then the host is trying to load the kernel at [url]http://fog-server-ip/fog/service/ipxe/var/www/html/fog/service/ipxe/nav14bzImage[/url]
              it’s already expecting any available kernels to be located in the service/ipxe directory so that they can be served out by http
              you just need to put the host kernel as nav14bzImage in the host kernel field

              signature:
              Junkhacker
              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

              1 Reply Last reply Reply Quote 0
              • T
                TexasIT936
                last edited by

                [quote=“Junkhacker, post: 38773, member: 21583”]then the host is trying to load the kernel at [url]http://fog-server-ip/fog/service/ipxe/var/www/html/fog/service/ipxe/nav14bzImage[/url]
                it’s already expecting any available kernels to be located in the service/ipxe directory so that they can be served out by http
                you just need to put the host kernel as nav14bzImage in the host kernel field[/quote]

                I tried that method first and still got the typical “File not found error” o_O That is why I decided to include the full path to see if it made a difference.

                "There are those who can read binary and those who rather not."

                1 Reply Last reply Reply Quote 0
                • JunkhackerJ
                  Junkhacker Developer
                  last edited by

                  [quote=“TexasIT936, post: 38770, member: 26986”]The Path I used is :/var/www/html/fog/service/ipxe/nav14bzImage[/quote]

                  [quote=“TexasIT936, post: 38772, member: 26986”]root@ubuntuFOGserver:/var/www/fog/service/ipxe# ls -l
                  …
                  -rw-r–r-- 1 fog fog 4606848 Nov 4 16:54 nov14bzImage
                  …[/quote]

                  if these are direct copy/pastes, then i think i see the issue
                  nav14bzImage
                  nov14bzImage

                  signature:
                  Junkhacker
                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                  1 Reply Last reply Reply Quote 0
                  • T
                    TexasIT936
                    last edited by

                    [quote=“Junkhacker, post: 38775, member: 21583”]if these are direct copy/pastes, then i think i see the issue
                    nav14bzImage
                    nov14bzImage[/quote]

                    Wow! You were right I was also using a lowercase “I” in Image! I guess I needed a fresh set of eyes! Now it loads but I get a kernel panic I guess I have to find another kernel 🆒

                    "There are those who can read binary and those who rather not."

                    1 Reply Last reply Reply Quote 0
                    • T
                      TexasIT936
                      last edited by

                      [quote="Junkhacker,[/quote]

                      One more thing where can I get the 3.0.1 Kernel that is suppose to support my optiplex 760 I cant seem to find it anywhere! Thanks in advance Ill keep hunting in the meantime.

                      "There are those who can read binary and those who rather not."

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

                        You can try my kernels.

                        Any of them should support the Optiplex 760. I don’t know how you’re connecting things though.

                        bzImage is a 64 bit kernel that requires a 64 bit init. FOG 1.x.x bzImage and init.xz are the files in pair. It also detects the architecture of the system (64 bit or 32 bit) and uses the proper files. If the arch is not 64 bit, it assumes 32 bit and loads bzImage32/init_32.xz. Either one or the other should work even with kernel’s greater than 3.0.1. 3.17.2 should work perfectly for your needs.

                        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
                        • T
                          TexasIT936
                          last edited by

                          [quote=“Tom Elliott, post: 38788, member: 7271”]You can try my kernels.

                          Any of them should support the Optiplex 760. I don’t know how you’re connecting things though.

                          bzImage is a 64 bit kernel that requires a 64 bit init. FOG 1.x.x bzImage and init.xz are the files in pair. It also detects the architecture of the system (64 bit or 32 bit) and uses the proper files. If the arch is not 64 bit, it assumes 32 bit and loads bzImage32/init_32.xz. Either one or the other should work even with kernel’s greater than 3.0.1. 3.17.2 should work perfectly for your needs.[/quote]

                          Thanks for your advice!

                          I tried Kernel - 3.14.2 this morning without success.

                          This is the message I get when pxe booting:

                          Configuring (net0 00:…etc)…ok
                          /default.ipxe…ok
                          [url]http://10.10.10.230/fog/service/ipxe/boot.php...ok[/url]
                          /nov14bzImage…ok
                          /init.xz…ok
                          esas2r: driver will not be loaded because no ATT0 esas2r devices were found
                          i2c-parport-light: adapter type unspecified

                          Then right after it goes into the check process where it says:
                          Checking Operating System…Windows7
                          …etc
                          …etc (all checks come back as DONE no errors appear) then;

                          Task is completed computer will now restart. #It shutsdown the machine and nothing else happens.

                          I have installed the latest BIOS A16 with no success either.

                          "There are those who can read binary and those who rather not."

                          1 Reply Last reply Reply Quote 0
                          • JunkhackerJ
                            Junkhacker Developer
                            last edited by

                            does a partition currently exist on the drive?

                            signature:
                            Junkhacker
                            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                            1 Reply Last reply Reply Quote 0
                            • T
                              TexasIT936
                              last edited by

                              [quote=“Junkhacker, post: 38802, member: 21583”]does a partition currently exist on the drive?[/quote]

                              Yea I made sure to create one using a Windows 7 setup disk there is the 100mb OEM, 100mb system, 73GB ntfs

                              "There are those who can read binary and those who rather not."

                              1 Reply Last reply Reply Quote 0
                              • JunkhackerJ
                                Junkhacker Developer
                                last edited by

                                are you trying to upload or download?

                                signature:
                                Junkhacker
                                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  TexasIT936
                                  last edited by

                                  [quote=“Junkhacker, post: 38805, member: 21583”]are you trying to upload or download?[/quote]
                                  I am trying to download a Windows 7 image to the machine.

                                  "There are those who can read binary and those who rather not."

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

                                    Is it more likely your hdd has GPT info still on it, or that you’re using an image that started at sector 63?

                                    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
                                    • T
                                      TexasIT936
                                      last edited by

                                      [quote=“Tom Elliott, post: 38825, member: 7271”]Is it more likely your hdd has GPT info still on it, or that you’re using an image that started at sector 63?[/quote]

                                      I will Check these settings once I get back in the office, Thanks again for all your great support/feedback!

                                      "There are those who can read binary and those who rather not."

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

                                        If your images are starting at sector 63, you may look into updating to SVN as I’ve made fixes that should allow your systems to not only image, but also boot after they’re completed.

                                        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

                                        207

                                        Online

                                        12.1k

                                        Users

                                        17.3k

                                        Topics

                                        155.3k

                                        Posts
                                        Copyright © 2012-2024 FOG Project