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

    Windows 10 - Image upload - sectorsize error

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    15
    4.9k
    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 @GFm
      last edited by

      @GFm I finally got my own system to test this. (VM with GPT layout) and i can say, with reasonable certainty, this should now operate too.

      Apparently, upload resize of GPT structures was broken. This same methodology (only reversed) was also used for download. The escaping wasn’t pretty either, but that appears to be good now too. I don’t know how viable this will be for non-resizable images, but with any luck this doesn’t require as much “thought” to go in.

      When you have free time, please test again and let me know.

      Thank you very much for at least reporting and getting us to look at the source. It was a fun time.

      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 2
      • G
        GFm
        last edited by

        @Tom-Elliott
        I will update and try on Monday. Thanks for the info!

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

          I had this same issue and after updating it seems to work for me. I was busy switching all my images to single disk resizable, so this is great timing for me 😉

          Although I do have to try it twice, it fails on resizing the first partition (fat32 UEFI partition), but then on second try it always works. I’m guessing it DOES succeed on resizing the partition, but doesn’t realize it for some reason!

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

            @Quazz I don’t think that’s the case at all.

            fat32 has no support for resizing in the init’s.

            The way we perform resizing is per partition, so what you see as fail on one, and success on another is only from the next partition. If you had 4 fat32 partitions on the disk, you’d likely see the failure on all four partitions.

            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

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

              @Tom-Elliott Then I’m not sure what happened. How come the first time it stops the process entirely when it fails to resize the fat32 partition (claiming the mbr partition is too large and needs to be resized), but then when I reboot and try again it works fine?

              It’s no big deal since it works the second time around, just want to know what’s going on. 😉

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

                @Quazz No clue. Maybe a picture of the first and second go arounds can help?

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

                  @Tom-Elliott
                  I just updated and it seemed to upload fine. Upon reboot, it says no bootable devices now. Any ideas?

                  Thanks!

                  1 Reply Last reply Reply Quote 0
                  • G
                    GFm
                    last edited by

                    @Tom-Elliott
                    I booted back to my win10 flash drive and saw this…
                    0_1453731527993_IMG_5462.JPG

                    So it must have deleted everything? I then went and quick-imaged it with the image I just uploaded and it went back through, but when it started to boot it said…

                    “The Boot Configuration Data for your PC is missing or contains errors.”

                    1 Reply Last reply Reply Quote 0
                    • G
                      GFm
                      last edited by

                      @Tom-Elliott

                      Here it is after the quick-image… sorry so many posts.
                      0_1453731802204_IMG_5463.JPG

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

                        @GFm Don’t be worried about the back to back posts. You’re trying to help us figure out where a problem is.
                        I would like, if you’d be so kind, for you to start a new thread as what you’re seeing now is NOTHING related to sectorsize and weird sed inaccuracies.

                        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

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          GFm @Tom Elliott
                          last edited by

                          @Tom-Elliott
                          Yep no worries! Sorry… You fixed the initial problem. It did upload.

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

                          166

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project