Menu

Cloning to larger hard drive

Help
Fed mar
2011-03-25
2013-04-05
  • Fed mar

    Fed mar - 2011-03-25

    info:
    I currently use a 500gb IDE hard drive and want to copy the contents to my new 1tb SATA drive.
    Having read the disk to dick tutorial (  http://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/03_Disk_to_disk_clone  ) I wasn't entirely sure if I could use the remaining 500gb on the 1tb drive after the cloning process.

    Questions:
    Does having the "-k1" option enabled mean i can use the remaining space on the 1tb drive as if my original drive was that size?
    Will the Clonezilla copy only the data on the 500gb drive or will it use 500gbs of space on the 1tb drive despite the 500gb drive not being full?

    Any help would be greatly appreciated
    Thanks, Fed

     
  • Steven Shiau

    Steven Shiau - 2011-03-25

    "can use the remaining space on the 1tb drive as if my original drive was that size? " -> What did you mean by "use the remaining space"? Do you want to be part of your file system, or you want to have an unallocated space in the disk?

    Steven.

     
  • Fed mar

    Fed mar - 2011-03-26

    I'd like to have 1 partition using the whole 1tb drive which will have the 400 or so gigabytes of data from my old PC within it
    so i can boot up and continue to use the rest of the drive as normal. That way I don't have to deal with seperate drives in my computer (I use windows 7).

     
  • Fed mar

    Fed mar - 2011-03-29

    Thanks very much Steve! :)

     
  • Steven Shiau

    Steven Shiau - 2011-03-30

    No problem.
    Enjoy!

    Steven.

     
  • Russ Smith

    Russ Smith - 2011-09-13

    I, too, am not able to expand the destination drive's partition to fully use the destination drive's space.

    I have a 200 GB hard drive with the whole drive as one partition. I have another drive that is 250GB that I have, in the past, used Clonezilla Live to make a copy of the 200GB drive (thus wasting 50GB of the 250GB drive). Now I want to copy the 200GB drive to the 250GB drive again, but THIS time I want the single partition of the 200GB drive to be extended to the full 250GB when I copy it across; at that time I will switch to using only the 250GB drive as my main (boot) drive.

    I have used the following options within the latest version of Clonezilla Live to copy the 200GB drive over to the 250GB drive:

    (1) device-device
    (2) local disk to local disk
    (3) -r
    (4) -k1

    This successfully copies the 200GB drive over to the 250GB drive, however the partition on the 250GB drive remains the same size as the originating 200GB drive - it does NOT expand to fill the extra 50GB. That is, the copy results in exactly what would have happened if I had not set the "-r" and "-k1" options.

    So…where am I going wrong?

     
  • Russ Smith

    Russ Smith - 2011-09-14

    Please note that the above original (and copy) drives are used with XP Pro.

     
  • Steven Shiau

    Steven Shiau - 2011-09-15

    I think I need more info:
    1. When Clonezilla created the partition table on the destination disk, did you see any error?
    2. Is the file system FAT or NTFS?
    3. After the cloning was done, did you see ntfsresize was ran to tune the file system to fit the partition size?
    4. After the cloning, when you reboot your MS Windows XP, did you see "chkdsk" ran?
    5. Could you please show me the partition layout of source and destination disks?
        If so, please boot clonezilla live, enter command line prompt, then run:
        sudo /sbin/parted -s /dev/sda print
        (replace /dev/sda with the device name of your source and destination disks).
    Thanks.

    Steven.

     
  • Russ Smith

    Russ Smith - 2011-09-15

    > I think I need more info…

    Your response is totally appreciated.

    > 1. When Clonezilla created the partition table on the destination disk, did you see any error?

    No, in fact, everything copied/cloned smoothly - no errors about how I used Clonezilla, no errors about how Clonezilla did its work.

    > 2. Is the file system FAT or NTFS?

    The 200GB source drive was created under XP Pro as the boot drive and has a single (~200GB) NTFS partition.

    > 3. After the cloning was done, did you see ntfsresize was ran to tune the file system to fit the partition size?

    Yes, I saw that ntfsresize did indeed run however it said something like "nothing needs to be done"

    > 4. After the cloning, when you reboot your MS Windows XP, did you see "chkdsk" ran?

    No, it did not. I ended up (after multiple similar attempts) with a perfectly cloned 200GB on my 250GB drive. On boot from that new drive everything behaved as one would expect from a completely unchanged XP boot environment - it was a perfect (no size change) clone.

    > 5. Could you please show me the partition layout of source and destination disks?

    The partition layouts for both 200GB source and 250GB destination drives were identical before AND after the cloning operation (the destination had previously been cloned from the source without trying to change the partition size)

    Source/Target
    Boot Partition
    XP NTFS Partition
    Unused Space

    Source 200GB
    Yes
    ~200 GB
    None

    Target 250GB
    Yes
    ~200GB]
    ~50GB

    > …If so, please boot clonezilla live, enter command line prompt, then run…

    Unfortunately, I cannot do this at this time however the above table accurately reflects both before and after results.

    > …Thanks.

    No, thank you -for both this excellent tool and your support.

     
  • Russ Smith

    Russ Smith - 2011-09-15

    Let's try that table one more time…lol!

    <table><tr><th>Source/Target</th><th>Boot Partition</th><th>XP NTFS Partition</th><th>Unused Space</th></tr><tr><td]Source 200GB</td><td>Yes</td><td>~200 GB</td><td>None</td></tr><tr><td>Target 250GB</td><td>Yes</td><td>~200GB</td><td>~50GB</td></tr></table>

     
  • Russ Smith

    Russ Smith - 2011-09-15

    Okay…let's just try text for the table (sheesh…)

    Source/Target    Boot Partition   XP NTFS Partition   Unused Space
    Source 200GB      Yes                    ~200 GB                     None
    Target 250GB        Yes                    ~200 GB                  ~50GB

     
  • Steven Shiau

    Steven Shiau - 2011-09-15

    I still need the output of parted or fdisk, or sgdisk… It will be more accurate for me.
    From what you have mentioned, I guess maybe the option "-k1" failed. If you show me the output of sfdisk by "sfdisk -d /dev/sda" both for source disk and target disk, I can try to reproduce the problem here. Otherwise it's too vague.

    Steven.

     
  • Russ Smith

    Russ Smith - 2011-09-15

    > I still need the output of parted or fdisk, or sgdisk…

    Unfortunately (or from MY POV, fortunately) in between your first response to my first post here and your second response, I used gparted to enlarge the clone-copy partition to the full 250GB. The procedure using that standalone program was straightforward and resulted in exactly what I wanted (after first cloning with Clonezilla). When I rebooted XP with the new 250GB boot disk "chkdsk" did indeed run; all was normal after full boot. As such, THIS particular problem has been resolved OUTSIDE of Clonezilla and I cannot use parted to show you anything interesting w.r.t. Clonezilla and how it did not work.

    HOWEVER…

    I am about to use Clonezilla to clone my SECOND 200GB drive (not a boot drive) to another 250GB drive and will again try to get the single partition of that drive expanded to take up the full 250GB of the new drive. If Clonezilla fails to expand the drive I'll use the commandline you suggest and follow up here with the results.

    Thanks again for your support.

     
  • Steven Shiau

    Steven Shiau - 2011-09-15

    OK, thanks. Please keep us posted.

    Steven.

     
  • geni7777

    geni7777 - 2011-09-27

    Steven, It seems to me I have similar issue with cloning my 120Gb into 1Tb. I 'm running clonzilla for 3rd time now, and it gave me the same partclone message both times.

    I'm using the same options:
    (1) device-device
    (2) local disk to local disk
    (3) -r
    (4) -k1

    and after about 1% of Partclone, it stops the process and gets the partclone error message asking to go read the log.

    It says I'm using partclone v 0.1.0 (Rev: 243:245M. File system is NTFS. OS- Win XP.

    Please direct me what should I do.

    Thanks,
    Geni

     
  • geni7777

    geni7777 - 2011-09-27

    Here is output of sfdisks:
    /dev/sda1: start=96390, size 221632740,ID=7, bootable (sda2, 3, 4 - all "0")
    /dev/sdb1: start 96390, size 1870270039, ID=7, bootable (sdb2, 3, 4 - all "0").

    I hope it will help you to help me…

    Geni

     
  • Steven Shiau

    Steven Shiau - 2011-09-29

    "It says I'm using partclone v 0.1.0 (Rev: 243:245M. File system is NTFS. OS- Win XP." -> This is a very old version of partclone.
    Please use the latest Clonezilla live, i.e. 1.2.10-14 or 20110922-natty.

    Steven.

     
  • geni7777

    geni7777 - 2011-09-29

    I found a link - downloading now - will try tonight and let your know if I have more problems. Thanks. Geni

     
  • Steven Shiau

    Steven Shiau - 2011-10-04

    There is an improvement about using option "-k1" in Clonezilla live 1.2.10-16, so maybe you can give that a try.

    Steven.

     
  • Calion

    Calion - 2012-07-04

    I'm trying to do something similar. I am trying to clone one partition to a larger partition. The larger partition already exists; I just want to wipe it and replace it with the data from the smaller partition. What options should I use to accomplish this?

     
  • Naveen

    Naveen - 2013-03-13

    Hi,

         I used Clonezilla to clone a windows XP OS. The old hard drive was of 40GB in size. The new drive on which the OS was cloned was of 1TB in size.
         With the help of Clonezilla, I cloned the $)GB Windows XP OS onto 1TB external hard drive. But after reboot, the system is automatically rebooting.
         I had got a screen with the following options :-
             1. Safe Mode
             2. Safe Mode with network prompt.
             3. Safe Mode with command prompt.
             4. Load last configuration settings and boot.
             5. Start Windows normally.

     
  • Fuchs

    Fuchs - 2013-03-13

    You have forgotten to set the jumpers for the 2 HDDs rightly
    concerning 'master' and 'slave'.
    Have a look for the manual of your new 1 TB HDD.
    Any information can you find at the rear of the HDDs too.
    Forget not the second HDD in the BIOS.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.