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

    Clone a hard disk to a smaller drive?

    Scheduled Pinned Locked Moved
    FOG Problems
    9
    11
    8.5k
    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.
    • K
      Kyle Rice
      last edited by

      We got like 40 new computers for our lab, and they some of them came with bigger drives than others. So not knowing that i made an image on one of the bigger HDDs and now fog won’t copy that image to the smaller ones, I have tryed to shrink the original partitions down to the smaller size. I’ve even tryed different programs with the smaller partitions and nothing works, I need you guy to help me before I literally throw the computer out the window.

      Bigger Drives are 320GB
      Smaller Drives are 250GB

      1 Reply Last reply Reply Quote 0
      • K
        Kevin
        last edited by

        What OS are you trying to deploy and what type of image did you select? If you selected NTFS re-sizable, you shouldn’t have any problems.

        "The quieter you become, the more you are able to hear"

        New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

        1 Reply Last reply Reply Quote 0
        • Y
          YuYo
          last edited by

          We had a similar issue and this is how we solved it:

          Make a Ghost image of the bigger disk into an USB disk.
          Restore the Ghost image into an smaller disk.
          Upload the image from the smaller disk to FOG

          This image should work for either the bigger and the smaller disks.

          1 Reply Last reply Reply Quote 0
          • R
            Raff
            last edited by

            When you shrink the partitions on the 320GB disk, make sure the free space is at the end of the disk and not in the middle. I prefer using the gparted live CD ([url]http://gparted.sourceforge.net/livecd.php[/url]) rather than windows Disk Management to accomplish this

            You can use the command <ExtendOSPartition> in your unattended.xml file to expand the 😄 volume to use the full disk during sysprep.

            1 Reply Last reply Reply Quote 0
            • J
              julialloyds Banned
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • J
                jclrita Banned
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • M
                  MichaelDigital
                  last edited by

                  [quote=“Raff, post: 13178, member: 298”]When you shrink the partitions on the 320GB disk, make sure the free space is at the end of the disk and not in the middle. I prefer using the gparted live CD ([url]http://gparted.sourceforge.net/livecd.php[/url]) rather than windows Disk Management to accomplish this

                  You can use the command <ExtendOSPartition> in your unattended.xml file to expand the 😄 volume to use the full disk during sysprep.[/quote]

                  I am looking for this option, but can’t seem to locate it. Anyone know how to use this? I am referring to the ExtendOSPartion in the unattend.xml file

                  1 Reply Last reply Reply Quote 0
                  • M
                    MichaelDigital
                    last edited by

                    ok. i’ve located this in the WSIM. But, what pass do I add this on? Also, because the sizes of the disks vary, inputting a specific size could prove bad. How do I configure this to tell sysprep in the unattend.xml file to just expand the partition to fill the drive no matter what the size?

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

                      According to: [url]http://technet.microsoft.com/en-us/library/cc766473(v=ws.10).aspx[/url]

                      You can place it on the oobeSystem pass.

                      Just have this code:
                      [code]<ExtendOSPartition>
                      <Extend>true</Extend>
                      </ExtendOSPartition>[/code]

                      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
                      • M
                        MichaelDigital
                        last edited by

                        Thanks so much Tom. I’m going to try it now and will post the results.

                        1 Reply Last reply Reply Quote 0
                        • Lee RowlettL
                          Lee Rowlett Developer
                          last edited by

                          the code tom’s posted is what i actively use to handle Win7/8/8.1 (mutli-partition) and i build my image in vm and have the disk only a few GB’s bigger than the image (20-25GB) and expand if the image gets bigger that way you never have to worry about putting it onto a “smaller hard drive” and extend partition in the unattend handles the rest 🙂

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

                          184

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project