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

Autoimage Machines, possible?

Scheduled Pinned Locked Moved
Windows Problems
2
23
7.1k
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
    guscrown
    last edited by Oct 11, 2014, 12:59 AM

    We are deploying about 300+ of the same hardware, and I need to load WinXP on the 300+ machines. This Windows XP has some software preloaded that we will use for testing the machines before shipping out.

    I manage to configure my fog server, and I was able to upload an image to the server using a sample of one of the machines. I was unable to download the image back to the machine, I got an error message that said “This is Not a partclone image”. I don’t know what went wrong, I will retest again on Monday. I googled but there is not much information for that error. Anybody here gotten it before?

    My other question (related to the title), all these machines are brand new, and they come with NO operating system loaded. The way we handled it before was: connected the machine to an internal network where we had an imaging server. The server would automatically load the default image for that hardware and halt at the end of the imaging process.

    The person that was in charge of this system left the company, and took the knowledge with him.

    Is it possible to do the same with FOG? I’ve been going around the forums and Google but can’t find an answer.

    I know FOG identifies hardware based on the MAC address. How can FOG tell that they are all the same config and autoload the assigned image for that particular hardware version.

    At at different point in time there will be other hardware configurations, but for now one single one would be enough.

    By the way, I am running FOG on Kubuntu 14.04 VM. It should be the lastest version of FOG

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Oct 11, 2014, 1:45 AM

      If you enable plugins and install and configure the capone plugin, your auto imaging situation will be complete. YOu simply specify the relevant fields for the image you’re wanting.

      As for why the image went wrong, I’m just guessing it’s to do with the XP nature of your system. In 1.2.0 I made many more changes, but forgot to account for the 63s vs. 2048s boot sector and optimal boot sector variants within parted. I’m sorry, but this is what the problem is. I can hack up a quick fix for that problem, and possibly for the one dealing with the image itself. In a way I’m glad that the image isn’t writing to the disk as, in the current state (with the sector problems just described), I’d rather a system fail to image rather than image, but not be bootable.

      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
      • G
        guscrown
        last edited by Oct 11, 2014, 2:03 AM

        Glad you know what the problem is. I’ve been trying to push software guys to move to Win7, but alas that is NOT going to happen anytime soon.

        Is there something that could be done? I know you mentioned a possible hack/fix. I would love to try it out.

        [quote=“Tom Elliott, post: 37747, member: 7271”]If you enable plugins and install and configure the capone plugin, your auto imaging situation will be complete. YOu simply specify the relevant fields for the image you’re wanting.

        As for why the image went wrong, I’m just guessing it’s to do with the XP nature of your system. In 1.2.0 I made many more changes, but forgot to account for the 63s vs. 2048s boot sector and optimal boot sector variants within parted. I’m sorry, but this is what the problem is. I can hack up a quick fix for that problem, and possibly for the one dealing with the image itself. In a way I’m glad that the image isn’t writing to the disk as, in the current state (with the sector problems just described), I’d rather a system fail to image rather than image, but not be bootable.[/quote]

        1 Reply Last reply Reply Quote 0
        • G
          guscrown
          last edited by Oct 11, 2014, 2:05 AM

          If this is too much, would installing a previous better of FOG would be a better option? I wouldn’t like to do this, as I had a difficult time configuring it the first time around.

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Oct 11, 2014, 2:36 AM

            I’ve made the hacks I think will work for your situation.

            [url]https://mastacontrola.com/init.xz[/url]
            [url]https://mastacontrola.com/init_32.xz[/url]

            These files may work for all, but I haven’t tested so please just report any issues you see.

            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
            • G
              guscrown
              last edited by Oct 11, 2014, 3:07 AM

              Got them. Your server was complaining about the certificate. You should check that out.

              Are these files to replace other files in my current installation?

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by Oct 11, 2014, 2:08 PM

                [quote=“guscrown, post: 37751, member: 26595”]Got them. Your server was complaining about the certificate. You should check that out.

                Are these files to replace other files in my current installation?[/quote]

                The certificate problem isn’t a “problem” persay but I’m using self signed certificates.

                The init files you downloaded go in your fog server to replace the /var/www/fog/service/ipxe/init.xz and /var/www/fog/service/ipxe/init_32.xz files.

                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
                • G
                  guscrown
                  last edited by Oct 11, 2014, 11:40 PM

                  Thanks, Tom. I will test this and report back on my findings. I really appreciate you taking the time to do all of this.

                  1 Reply Last reply Reply Quote 0
                  • G
                    guscrown
                    last edited by Oct 13, 2014, 5:19 PM

                    Hi Tom. Finally got to the office and I am able to test. For starters, neither the Full Registration or the Quick Registration are working.

                    I will try and add the client manually and see if I can image it like that.

                    1 Reply Last reply Reply Quote 0
                    • G
                      guscrown
                      last edited by Oct 13, 2014, 5:27 PM

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • G
                        guscrown
                        last edited by Oct 13, 2014, 6:02 PM

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • G
                          guscrown
                          last edited by Oct 13, 2014, 6:04 PM

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • G
                            guscrown
                            last edited by Oct 13, 2014, 7:24 PM

                            Hi Tom,

                            I fixed a permission issue I had with the files. However I have found that Fog Server doesn’t relocate the IMAGE file from /images/dev/macaddress to /images/Name-of-Image

                            If I go into /images/dev/macaddress I see 5 files in there. But I don’t know why they weren’t moved to /images/name-of-image

                            So when I try to download the image to the host I get a “Cannot find XP Image File” error messages.

                            Any ideas?

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tom Elliott
                              last edited by Oct 13, 2014, 7:35 PM

                              I don’t know what the issue is, but for now, what files do you see in the /images/dev/<macaddress>?

                              There should be one:
                              in the sequence of :
                              /images/dev/<macaddress>/<macaddress>.000

                              To get your image to deploy properly, try moving the .000 file to:
                              /images/<imagepathname>

                              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
                              • G
                                guscrown
                                last edited by Oct 13, 2014, 7:42 PM

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • G
                                  guscrown
                                  last edited by Oct 13, 2014, 7:45 PM

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    guscrown
                                    last edited by Oct 13, 2014, 7:49 PM

                                    I had to restart tftpd. I manually moved the image file to the correct folder. I still get “Cannot find XP Image File”

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      guscrown
                                      last edited by Oct 13, 2014, 7:52 PM

                                      If it’s of any information, when I list the images via the web manager, the image is shown as 0.00 iB on both Client and Server

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        guscrown
                                        last edited by Oct 13, 2014, 8:23 PM

                                        I reuploaded the image with the same result. Nothing is created in the /images/<imagepath> automatically. I manually copy the <macaddress>.000 to /images/<imagepathname> and it still shows as size 0.00 iB on the server itself.

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          guscrown
                                          last edited by Oct 13, 2014, 9:10 PM

                                          This is the error that I am getting:

                                          [url=“/_imported_xf_attachments/1/1430_error 3a.jpg?:”]error 3a.jpg[/url]

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

                                          156

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project