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

    Resizing issue maybe?

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    6
    50
    19.4k
    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.
    • Wayne WorkmanW
      Wayne Workman @Wayne Workman
      last edited by

      If it doesn’t work…

      @Wayne-Workman said in Resizing issue maybe?:

      Also - your second picture in your OP, we need to see the error on the PartClone screen to help further! All we see now is the error after PartClone closes!

      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/

      A 1 Reply Last reply Reply Quote 0
      • A
        adame @Wayne Workman
        last edited by

        @Wayne-Workman Ok sounds good. I’ll try to catch it. It happens pretty quick. Haha.

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

          if it fails, run the task again as a debug task. that will make it easier to see where exactly it fails

          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 1
          • A
            adame
            last edited by

            Caught it. Seems like the first process went through but when it started with the second I get this.
            https://gyazo.com/b59cbfae543cc106d8ef2ec1da0d0e5c

            Maybe resizing just isn’t going to work with this unless I have some 512GB SSDs? think there are technically 3 partitions. Maybe that’s what the mess is. I don’t think it cared about the 100meg partition that windows creates but I think these toughbooks have an image of Windows storage in another one too so if I wanted to format I don’t need a disc/usb.

            I just feel like I didn’t have this problem before when I did the same process.

            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @adame
              last edited by

              @adame Do not give up… you only JUST gave us an error we can work with! And of course we can get this working! We are here to help, and the fog community is responsive!

              I’m asking @Sebastian-Roth for his opinion, he is our resident HDD expert.

              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/

              A 1 Reply Last reply Reply Quote 1
              • A
                adame @Wayne Workman
                last edited by

                @Wayne-Workman Oh, I don’t plan to. I’ll still be looking at things on my end to see if anything pops out at me. I’m just hoping it’s not because of that one partition that has the windows image itself on it. Haha.

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

                  How much data was on the 500GB HDD?

                  A 1 Reply Last reply Reply Quote 1
                  • A
                    adame @Quazz
                    last edited by

                    @Quazz Actually I was wrong with one of the partitions. It’s a 24gb partition but has nothing in it. Only dedicated to recovery I guess. Here’s what that drive has in total.

                    24GB partition 100% free space
                    300MB partition 100% free space
                    441GB partition 95% free space

                    So all in all it’s only really has like 20GB total being used.

                    1 Reply Last reply Reply Quote 0
                    • A
                      adame
                      last edited by

                      Maybe it will work if I just remove the 24gb partition? I’ll wait on what you all have to say :).

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

                        i would take a backup of the drive with clonezilla and play around with removing/resizing the wasted space partitions with gparted

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

                        A 1 Reply Last reply Reply Quote 1
                        • A
                          adame @Junkhacker
                          last edited by

                          @Junkhacker Alright. I can do that. I’ll give you all an update once I’ve done that.

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

                            @adame You might be able to get this fixed by shuffling around with your partitions but we also might be able to get this fixed from our side as well - not promising anything but we might be able.

                            Please run a debug upload job from the old HDD (schedule a normal upload but just before you click “CREATE UPLOAD TASK” there is a checkbox for debug). The client boots up and drops you to a shell. Run sfdisk -d /dev/sda. Please take a picture an upload it here.

                            [edit] Just a blind shot: Edit /images/<image-name>/d1.fixed_size_partitions file. I guess it reads 1: right now. Make it 1:2 and try deploying again to the SSD.[/edit]

                            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

                            A 2 Replies Last reply Reply Quote 1
                            • A
                              adame @Sebastian Roth
                              last edited by

                              @Sebastian-Roth Ok I’ll give that a shot.

                              1 Reply Last reply Reply Quote 0
                              • A
                                adame
                                last edited by

                                Sorry. Had to put out some fires, haha. So far I got this part done. I’ll do the other thing after I put out another fire. 🙂

                                https://gyazo.com/78b039ef89bd2eb7c90d54511d640d8f

                                1 Reply Last reply Reply Quote 0
                                • A
                                  adame
                                  last edited by

                                  I changed that file to 1:2 and so far it went on to the next process. So I’m farther than I was. I’ll let you know once it’s finished if it’s all good to go.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    adame @Sebastian Roth
                                    last edited by adame

                                    @Sebastian-Roth Setting the image to 1:2 worked like a charm. Loaded up windows just fine after it finished. Will I need to do that with every image or is that something on your end you can do? I don’t mind if I have to edit it manually for each one.

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

                                      @adame Thanks for the picture. This things is your partition layout is not really “the typical clean install of windows” that we usually have. So FOG is kind of tripping. You have two hidden NTFS partitions (type 27) which is kind of unusual. I’ll see if we can change the scripts to work for your partition layout as well.

                                      What is that first partition for anyway??? Second is the boot partition and third is windows, right? But the first?!?

                                      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

                                      A 2 Replies Last reply Reply Quote 0
                                      • A
                                        adame @Sebastian Roth
                                        last edited by adame

                                        @Sebastian-Roth Sorry for the late response. These came from Panasonic. The 3rd partition is the system recovery partition so we are able to restore to factory settings. Also has 64 and 32-bit of the OS in it. They don’t send out recovery media at all. Kind of sucks. We spend like $3,000 a piece on these and we can’t even get $5 jump drive with the recovery media on it without requesting to get one for a small fee.

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          adame @Sebastian Roth
                                          last edited by

                                          @Sebastian-Roth But I’m assuming that’s where a lot of laptops have been going these days. Granted most still come with recovery media but they have that extra partition primarily for factory resets. The thing I’m going to love about fog is if that hard drive took a crap I have a “factory reset” on the fog server so I don’t have to purchase the media. 🙂

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

                                            @adame said:

                                            But I’m assuming that’s where a lot of laptops have been going these days.

                                            Absolutely. Lots and lots of different setups and it’s not very easy to kind of auto-discover and do assumptions on partition scheming! There are too many things that can go wrong. I checked our scripts and thought about adding a check to see if windows boot files are found on one of the partitions.

                                            @Tom-Elliott what do you think about this idea? Find BCD on one of the partitions and if we find it mark this partition and all the ones before it as fixed size! Not sure if this would break other weird partition layouts.

                                            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

                                            A 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • First post
                                              Last post

                                            203

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project