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

    Uploading image breaks source machine, XP

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    5
    17
    5.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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      For what it’s worth I have an XP VM that I have tested both upload and download. I’m unable to reproduce on current trunk. I’ll read more and see if I can find the scenario directly.

      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
      • Wayne WorkmanW
        Wayne Workman @neodawg
        last edited by

        @neodawg said in Uploading image breaks source machine, XP:

        I guess the next step would be to try a new xp install and upload that.

        In my opinion this is your best option.

        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
        • neodawgN
          neodawg
          last edited by

          I wipe out the partitions and loaded XP from CD:

          Using build 8088

          Single partition upload: breaks source install
          multi part upload: works

          Tested the partimage image i have been using:

          single partition upload: breaks source install
          multi partition upload: works

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

            @neodawg XP normally defaults to a single partition using the whole disk. Is this not the case in your image? I still cannot replicate. The only thing I can think it might be is the upload portion isn’t resetting the boot flag on upload but download tasks use the same expanding item as upload when the image is complete writing.

            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

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

              @neodawg Thanks for the update on this! I will do some more testing in the next days.

              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
              • neodawgN
                neodawg @Tom Elliott
                last edited by

                @Tom-Elliott I was more so meaning that I had blown away any factory restore partitions. I have no idea why it doesn’t work, the whole upload process appears to work fine.

                1 Reply Last reply Reply Quote 0
                • JJ FullmerJ
                  JJ Fullmer Testers
                  last edited by

                  @Sebastian-Roth Might this person be having the same problem I was having? https://forums.fogproject.org/topic/7404/old-computer-asus-eeetop-all-in-one-touchscreen-mbr-fails-to-restore-after-imaging-task/25
                  It sounds like a similar issue

                  Have you tried the FogApi powershell module? It's pretty cool IMHO
                  https://github.com/darksidemilk/FogApi
                  https://fogapi.readthedocs.io/en/latest/
                  https://www.powershellgallery.com/packages/FogApi
                  https://forums.fogproject.org/topic/12026/powershell-api-module

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

                    @neodawg I am very sorry for taking such a long time!

                    Same as Tom said I cannot replicate this issue. I got a WinXP VM, booted it in virtualbox just fine. In disk management I see one single partition. Then uploaded a image. Before and after the upload I have this disk layout:

                    sfdisk -d /dev/sda
                    label: dos
                    label-id: 0xbe2ebe2e
                    device: /dev/sda
                    unit: sectors
                    
                    /dev/sda1 : start=          63, size=   266116662, type=7, bootable
                    

                    Looks pretty similar to what you have. After the image upload I can boot into the Win XP OS without an issue.

                    Are you absolutely sure the kernel and initrd was updated when you installed trunk version 8088? Please post a listing of the following command: ls -al /var/www/fog/service/ipxe/{bzImage*,init*}

                    Can you do me a favour? Please run the following commands on debug upload and post the files (sda_before.gz and sda_after.gz) in the forum so I can do a binary diff and hopefully see what changed:

                    dd if=/dev/sda bs=512 count=4096 | gzip > sda_before.gz
                    fog
                    ...
                    ...
                    dd if=/dev/sda bs=512 count=4096 | gzip > sda_after.gz
                    mount -o nolock x.x.x.x:/images/dev /mnt
                    mv sda_* /mnt
                    umount /mnt
                    

                    Put in your FOG server IP instead of x.x.x.x and you should find the files in /images/dev/ on your server.

                    PS: @JJ-Fullmer Don’t think this is related. Here we have a single partition and XP while you have more than one partition with the bootable flag flapping.

                    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
                    • Tom ElliottT
                      Tom Elliott
                      last edited by Tom Elliott

                      Any way to ask if you could try reuploading a working XP image and see if it still breaks booting? After an update of course.

                      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
                      • neodawgN
                        neodawg
                        last edited by

                        Sorry for the delay, I ran out of time on this and just used multiple partition single disk method. It sounds like you guys are not able to replicate the problem, so it must be an issue with my server/client pc. If I get time again later I will try to replicate the issue with a new install of XP.

                        Thanks for the help

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

                          @neodawg I have solved this thread for now. Please keep us posted if you’re still running into this issue. I’m fairly confident fog can do this with little problem, but I can not know all the possible scenarios that might present this problem.

                          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

                          178

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project