• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
    Kevin
    last edited by Jul 22, 2013, 8:31 PM

    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 Jul 30, 2013, 8:25 AM

      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 Jul 30, 2013, 1:47 PM

        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 Dec 4, 2013, 7:22 AM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • J
            jclrita Banned
            last edited by Dec 10, 2013, 8:25 AM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • M
              MichaelDigital
              last edited by Feb 14, 2014, 4:19 PM

              [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 Feb 14, 2014, 4:33 PM

                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
                • T
                  Tom Elliott
                  last edited by Feb 14, 2014, 4:36 PM

                  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 Feb 14, 2014, 4:48 PM

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

                    1 Reply Last reply Reply Quote 0
                    • L
                      Lee Rowlett Developer
                      last edited by Feb 14, 2014, 6:10 PM

                      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

                      152

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project