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

    Bypass host registration error

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    8
    3.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.
    • J
      Jason Weir
      last edited by

      I’m running 0.32 and have installed the bypass.gz file so I can image machines right from the pxe menu without having to go through the host registration process.

      Here is the menu entry in the default file

      append initrd=fog/images/bypass.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 type=down img=Win7Image ftp=192.168.1.2 storage=192.168.1.2:/images web=192.168.1.2/fog/ osid=5 imgType=n loglevel=4 sessionPwd= consoleblank=0

      Where 192.168.1.1 is the IP of my dns server and 192.168.1.2 is the ip of the fog server

      I’ve verified the image name is correct and is located in /images

      When booting I get the following error message

      “An error has been detected!”

      “Unable to locate image file for Windows 7! (sys.img.000)”

      “Computer will reboot in 1 minute.”

      There is no sys.img.000 file anywhere that I can see are d1p1.img files in each image subfolder.

      Any ideas?

      Jason

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

        You’ll need to change the type of the image, from Single Disk resizable to Multi Part non-resizeable. I think Single Disk Multi Part or All disk multipart will work in your case.

        rec.img.000 and sys.img.000 are for Resizable images.

        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
        • J
          Jason Weir
          last edited by

          [quote=“Tom Elliott, post: 21274, member: 7271”]You’ll need to change the type of the image, from Single Disk resizable to Multi Part non-resizeable. I think Single Disk Multi Part or All disk multipart will work in your case.

          rec.img.000 and sys.img.000 are for Resizable images.[/quote]

          Thanks Tom,

          The actual image (on disk) is “Multiple Partition Image - Single Disk (Not Resizable)”
          The image type in the initrd string is “imgType=n” - what should it be?

          Jason

          1 Reply Last reply Reply Quote 0
          • J
            Jason Weir
            last edited by

            I changed the imgType=n to imgType=mps and now I’m getting a “Cannot find image store” error message

            Odd - no other changes

            -J

            1 Reply Last reply Reply Quote 0
            • J
              Jason Weir
              last edited by

              OK - got it

              In addition to the image type needing to be mps imgType=mps, the image name in img= needs to be the sub-folder name in the /images directory and not the name of the image you used in the fog webui.

              Working as advertised now…

              Thanks,
              Jason

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

                Awesome, sorry I didn’t respond right away.

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

                  hey guys, I cant seem to find the bypass.gz any where, Can you link me a copy? I am using FOG as our image deployment server for HP Thin Clients and I want to tuck my PC that is running FOG away in a closet and just image these Thin Clients through PXE and not have to register them.

                  Thanks

                  1 Reply Last reply Reply Quote 0
                  • J
                    jbsclm Developer
                    last edited by

                    If you have many of the same model of client, have you considered using the capone plug in for this.
                    You can associate a particular model with one (or more) image.
                    On the client you select capone from the menu choices, if there is only one image associated, it deploys with no registration required.
                    If there is more than one image associated, you select which one you want, and again it deploys, again no registration required.

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

                    163

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project