Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Best way to expand drive size after "cloning"?

13 Sep 2012   #1
cooltouch

Win7 Ulitmate x64, XP x86 (Dual Boot)
 
 
Best way to expand drive size after "cloning"?

The title I chose was probably not the best, come to think of it. It isn't so much the resizing part of this process as it is all the rest of it that I seem to be having problems with.

Okay, first of all I need to specify that I'm just an average user when it comes to Win7 and hardware nitty gritty. But I have called upon the wisdom of this forum in the past and always received extremely helpful advice, to which I am very grateful. And here I am again, hat in one hand and a problem in the other.

Here's the situation: I have a laptop whose hard drive I've outgrown, so I bought a larger one for the machine. I also bought a USB-based enclosure so I'd be able to have the drives share data. I installed the new drive into the laptop, and put the old one in the enclosure. The old drive is 160 gigs in size with only about 3 gigs open. The new one is 500 gigs.

I used Clonezilla to clone the 160 to the 500. This worked perfectly. But I wound up with a new drive that still only had 3 gigs open. There were about 340 gigs left unallocated. So I used another Linux-based utility -- Parted Magic -- to reclaim the unallocated space.

Okay, I need to back up for a second. The old drive has two partitions, call them C and D. The D partition is fairly small -- about 10 gigs.

So Clonezilla cloned both partitions at their original sizes, but the funny thing was, it set the D partition ahead of the C partition. When I picture the graphic display that I get with a disk partition program, in my experience, the left most partition is the root partition, or "C". But for some reason, Clonezilla put D there, and C to the right of it. Well, I thought it probably doesn't matter because the OS can boot from other than the root partition -- or whatever it's proper term is -- from what I understand. So I expanded both in Parted Magic to take up all the unallocated space. Then I ran it and everything was set.

Went to boot the computer and no go. It couldn't find the boot sector or whatever. I didn't write down the error message so I don't recall the precise wording, but that is essentially what it was telling me. So I booted Parted Magic again, and took a look. Well, the "C" drive had the "boot" flag set, so I didn't really understand what the problem was other than it being out of place.

So this time I deleted the D partition so that C was the only one and moved C down to take up D's space. Linux is assigning each of these partitions a name or descriptor, like sba1 and sba2. Well, D got the sba1 and C got the sba2. When I deleted D, C's descriptor didn't change. It's still sba2. I dunno if this will matter or not.

Right now, I'm waiting for PM to finish moving the data as the C partition is expanded. Got another hour or so to go before it's done. I guess I'll find out if my workaround has worked.

My object was to transfer all the data from the old disk to the new, and to be able to access all the space in the new drive (duh). I also wanted C and D partitions. After the moving and expansion of C has been completed, there will be about 275 gigs of unallocated space left. My thinking is that if my latest attempt is successful, I'll go back and configure the unallocated space as D and then copy D's data off the old drive onto the new.

So anyway, the point of this long-winded post is to ask the all-knowing forum mind how I should have done it and whether what I'm doing now will work. So the next time I can avoid the hours I've spent spinning my wheels. If I have to start all over, I'm prepared to do that, but before I do, I would like to find a way to "clone" the old drive (probably not the best word choice) AND expand the two directories at the same time. Clonezilla did not allow for this, near as I can determine, so I'm wondering which other Linux-based utility I can use? I've got a couple of disks of Linux utilities, and for all I know I might have one of them already. From what I've recently read there's also a Windows 7 Disk Management Tool that can do the resizing? I'm not at all familiar with it. But I don't really think that resizing is my problem. It's positioning, and making sure all the right descriptors are set as they should be, seems to me.


My System SpecsSystem Spec
.
13 Sep 2012   #2
ignatzatsonic

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, 64-bit
 
 

The two tools for the job most often used here for partition managment are Windows Disk Management and Partition Wizard, a free download. The latter is more flexible and has more features.

I probably would have done it by imaging rather than cloning, although both can work. The most common tools for that are Windows built-in, Macrium, or Acronis.

Another cloning tool is Paragon Migrate. It's supposed to work quite well, but costs money.

I'd have cloned or imaged only the system partitions (C and System Reserved, typically). I assume your D has only data and I would have transferred that by ordinary means, with a mouse.
My System SpecsSystem Spec
13 Sep 2012   #3
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

You are making your life too complicated.

The fact that Clonzilla put D partition ahead of the C partition is to your advantage and nothing to worry about. After that's done, all you have to do is to go to Disk Management, right click on C and Extend Partition. The rest is self explanatory.

You might not want to extend C with all of the remaining freespace - just as much as you think you need for the OS on C. The rest is better invested into an additional Data Partition. No need to risk losing your data.
My System SpecsSystem Spec
.

13 Sep 2012   #4
cooltouch

Win7 Ulitmate x64, XP x86 (Dual Boot)
 
 

Thanks for the responses, guys. Whs, yes, I agree -- actually I was planning on having the D partition quite a bit larger than C, but I also figured I'd leave enough room on C for it to have elbow-room, I dunno. What would you suggest is a good size for a C partition? This is a 32-bit installation, btw.

I guess I need to read up on the difference between imaging and cloning. I've read Clonezilla's process as being referred to as imaging, as well. I guess to make things really confusing.

Ignatz, I wasn't given the choice -- or at least I missed it -- where I could have left out "D". Clonezilla cloned the entire drive. I would have preferred to have D omitted as well.

I have a copy of Partition Wizard. Guess I'll give it a try next. Speaking of which, this latest attempt was a total bust. Got some sort of Intel message this time telling me that it couldn't find nuttin' basically. So, I'm gonna start all over again. I'll let y'all know how things work out this time around. Or if I have any questions, I'll be back and I'll pose them before I dive in again.
My System SpecsSystem Spec
13 Sep 2012   #5
pricetech

Windows 7 Professional 64 bit
 
 

Since I started using Windows PE a few years ago, I haven't even considered anything else. Diskpart will let you create whatever partitions you want and simply image to the first partition, leaving the second one for you to copy to later using more conventional methods.

I wrote a tutorial about creating a PE disk some time ago, but I've updated the process since and will try to get that posted shortly, in case you want to give it a try.
My System SpecsSystem Spec
13 Sep 2012   #6
pricetech

Windows 7 Professional 64 bit
 
 

Download the WAIK ISO from here:
Download: Windows® AIK for Windows® 7 - Microsoft Download Center - Download Details

Download the WAIK Supplement from here:
Download: The Windows® Automated Installation Kit (AIK) Supplement for Windows® 7 SP1 - Microsoft Download Center - Download Details

Online Documentation is here:
Windows Automated Installation Kit (Windows AIK) User's Guide

Downloadable Documentation here:
Download: Windows AIK for Windows 7 documentation (May 2010 update) - Microsoft Download Center - Download Details

ReadMe here:
Windows Automated Installation Kit for Windows 7 Readme

Virtual Clone drive can be downloaded from:
SlySoft Download | AnyDVD, CloneDVD, CloneCD, GameJackal, Any DVD, Clone DVD, Clone CD, Game Jackal

While the ISO files can be burned to DVD, I prefer to mount them using Virtual Clone Drive and install from the mounted ISO. If you already have software that can mount and read an ISO, you can skip the installation of Virtual Clone Drive.

Install Virtual Clone Drive first. A Default install should work just fine. Right click on an ISO file and choose Mount (Virtual CloneDrive E (assuming E as the drive letter VCD uses) to mount each ISO file in turn.

Install the WAIK (KB3AIK_EN) first. If the ISO does not autorun, open “StartCD.exe” to bring up the main installation screen and choose “Windows AIK Setup”. Close the installer once the AIK is installed.

Update the AIK by mounting the supplement (waik_supplement_en_us) and copying the contents to c:\Program Files\ Windows AIK\Tools\

Once installation and update are complete, run the AIK using Main Menu (aka Start) All Programs – Microsoft Windows AIK – Deployment Tools Command Prompt.
Begin with a cleanup:
dism /cleanup-wim

Run the copype.cmd script:
copype.cmd x86 c:\winpe
NOTE: the syntax for this command is:
copype.cmd <architecture> <destination>
so you'll need to change “x86” to “amd64” for that architecture. Also, my chosen destination is “c:\winpe” but you can create your folder elsewhere if you want. Just keep in mind that this tutorial uses “x86” and “c:\winpe” in the examples, so you'll need to adapt that as needed.

Now, copy and rename the base image:
copy c:\winpe\winpe.wim c:\winpe\iso\sources\boot.wim

Mount the wim file:
dism /mount-wim /wimfile:c:\winpe\winpe.wim /index:1 /mountdir:c:\winpe\mount

Add imagex to the system32 folder so it is pathed: (command is all on one line)
copy "c:\Program Files\Windows AIK\Tools\x86\imagex.exe" c:\winpe\mount\windows\system32

NOTE:
I don't add any additional packages to my Windows PE, however I am including the following step for those who might need it.
You can add additional packages by using the following syntax:
dism / image:<path_to_image> /add-package /packagepath:<path_to_package>

Drivers can be added using the following syntax: (The recurse switch causes the command to add all drivers within the path including those in subdirectories.)
dism /image:<path_to_image> /add-driver /driver:<path_to_driver> /recurse
Here's an examples:
dism /image:c:\winpe\mount /add-driver /driver:c:\waik\390nic /recurse

Unmount the finished wimfile:
dism /unmount-wim /mountdir:c:\winpe\mount /commit

Copy the finished wimfile:
copy c:\winpe\winpe.wim c:\winpe\iso\sources\boot.wim /y

You can stop here if you want to create a bootable thumbdrive (see below) but I have had a few computers that simply wouldn't boot to Windows PE on USB, even though they would boot to other bootable thumbdrives, so I recommend burning a disk since I've never had that fail.

Create a bootable iso file:
oscdimg -n -bc:\winpe\etfsboot.com c:\winpe\iso c:\winpe\winpe.iso

Close the Deployment Tools Command Prompt.

Browse to c:\winpe\ and right-click on winpe.iso and choose Open With – Windows Disk Image Burner to burn the iso to disk.



To create and use a bootable thumbdrive:
Open elevated Command Prompt and run DISKPART
LIST DISK to determine the disk number of your USB drive.
SELECT DISK n (Replace “n” with your disk number)
CLEAN
CREATE PARTITION PRIMARY
ACTIVE
ASSIGN LETTER=Y (see note below)
FORMAT (Format process will take a while, or use the QUICK switch to do a quick format)
EXIT
Copy the Windows PE files to the thumbdrive:
xcopy /e c:\winpe\iso y:\

NOTE: I recommend manually assigning a drive letter since the assign command will assign a drive letter that is in use if it is a network drive, though “help assign” says it will not assign a drive letter that is in use.
My System SpecsSystem Spec
13 Sep 2012   #7
pricetech

Windows 7 Professional 64 bit
 
 

Apologies for not posting that in tutorials, but I thought the need for the information was more imminent.
My System SpecsSystem Spec
14 Sep 2012   #8
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Quote:
What would you suggest is a good size for a C partition? This is a 32-bit installation, btw.

For the OS and programs, 40 to 50GB would be ample. That assumes that your user data is in a different partition. If you have large games, you may want to add some depending on the size of the games.
My System SpecsSystem Spec
14 Sep 2012   #9
cooltouch

Win7 Ulitmate x64, XP x86 (Dual Boot)
 
 

Wow, thanks for all that, pricetech! As it turns out, it looks like I won't have to use it, but I'm sure someone else here will be able to. Or I should probably do as you state and just have that disk for future needs. Whs, I finally made some progress last night, and I decided just not to mess with things any further, leave well enough alone.

I was experiencing no joy with Partition Magic -- didn't seem to matter what I was trying to do. Windows Boot Manager didn't like it, and even at one point where it would boot from the hard drive, then error out, it still was giving me error messages (from the "Repair" option on the DVD) that it couldn't find the boot loader or whatever. Made no sense to me, since it was finding something and booting enough for it to get all the way to the flowery Win7 screen.

So I went back to what worked the first time, and used Clonezilla again. About 5 hours and change later, it was done. And my computer was booting normally once again. This time, though, to capture the unallocated space, I used Win7's partition routine. It would not let me move the C partition down to occupy the D's space, even after I deleted "D", but I was able to claim all unallocated space above it. So that's what I did. Then I reformatted D and installed the stuff I deleted from D from the backup (ie, old) drive.

So, I've finally got access to the entire 500gig drive now, although most of it's one giant partition. Maybe I'll screw up the courage later and see about shrinking C and adding E. I'm afraid to mess with D after all I've been through this past day.

I'll swear I have the worst computer karma of anybody I know. Things always have to become a giant complicated mess. Actually, I got off lucky this time; only wasted most of a single day. Good thing I'm not in IT. I'd get run off the site, folks chasing after me with pitchforks or coat racks or whatever.
My System SpecsSystem Spec
Reply

 Best way to expand drive size after "cloning"?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
bsod copying files from "c" to "d" drive and system lock ups
Hi New installation of windows 7 ultimate 32bit and on trying to copy a 38gb folder from c drive to d drive, pc gives bsod. Lately playing world of tanks is resulting in system lock ups,please can anyone help Frosty
BSOD Help and Support
Folder for "Videos" library won't work on same drive as "Recorded TV"
Interesting discovery. W7 Pro x64. I was copying content from my desktop PC to my laptop in anticipation of an upcoming weekend trip. The content consists of both (a) entire recent copy-freely WTV recordings, and (b) MPEG videos (actually previously edited from copy-freely WTV recordings using...
Media Center
Seek Advice on Cloning/Imaging and how to "standardize" beforehand
Hi guys, I bought 5 identical PC's. My intent was to make one just how I want it: software, configs, etc, then clone or image the drive to all the other machines, and then update each with machine ID or whatever. But I mistakenly went ahead and created a user account that's very specific...
Installation & Setup
Hard Drive "Not Initialized", "device is not ready",won't recognize
I used a DriveWire - Universal Hard Drive Adapter (IDE / PATA / SATA to USB HDD Adapter) to hook up A 3.5" Hard Drive (Samsung model HD502HJ) to my desktop in an attempt to get my wife's files off her old desktop machine and merge them into mine. It all started off fine, the drive was recognized...
Hardware & Devices
What's the diffrent between "size" and "size on Disk"?
Hello! When i check folders properties i can see this "Size" and "Size on Disk". Both fields are show same amount so what is the different between that?:cry: http://www.freeimagehosting.net/uploads/d7720bb2e2.png
General Discussion
Remove "labels" from drive types in "Computer" window?
Hi there, I didn't really know how to google for this (although I did), so I didn't find anything proper and like to ask you: How do I remove the "labels" from drive types in "Computer" window? What I mean: http://dl.getdropbox.com/u/16751/computer_labels.jpg These labels above the different...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 21:46.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App