Partition : Recover Space Used by an Older OS

How to Recover the First Partition on a HDD Used by an Older Operating System into the New OS in a Dual Boot Configuration

Most dual or multi boot setups have an older Operating System (OS) like Windows XP in the first position on the Hard Disk Drive (HDD) and a second, newer OS like Windows 7 in the second position on the HDD and when the time comes to remove the older OS partition, Windows is not capable of recovering that space into the second partition natively, a third party program must be used, this will show the best way to accomplish this from start to finish.

   Information

Partition Wizard is a very reliable tool for your tool kit and it is a free download for home / personal use, first download the Partition Wizard Bootable Disk (PWBD) ISO file to the desktop, be sure to get the PWBD and not the installed version; scroll down to see the download link for the Bootable CD ISO file at this link below.

Partition Wizard Free Bootable Disk

Then burn the ISO file to a CD, it was designed for use and works best from a CD rather than a DVD

   Warning

As with anything that makes changes to the Windows structure there is always the chance for an error to occur, it would be advisable to make reliable backups to the media of your choice of any important data, i.e. pictures, music or documents, that you would not want to lose before you make any changes to your system, it is always better to be safe than sorry.

Once you have made backups and moved all the important data you need to save from the old Windows and you want to remove the older OS partition completely, it's not all that complicated a process.

Let's get started!



Step One

Mark Windows 7 as Active


In the snip below of Windows 7's disk management you can see that XP, on the first partition on the HDD is marked as "System, Active" if that partition is just removed as it is it will cause Windows 7 to not be able to boot-up at all, as the "System, Active" partition is where all the boot files for the dual boot are stored; a new set of boot files for Windows 7 has to be created to the W_7 partition before the XP partition can be removed.
click any image to enlarge
MarkActive.jpg
You will need to mark the Windows 7 partition as "Active" so that the repair procedure will know where you want the new system volume, (the partition the boot files that are needed to start Windows are stored on), then you will need to run 3 separate startup repairs with a system restart between each repair so that Windows will create the new boot files to the new "Active" Windows 7 partition.

View these tutorials below that explain the process in greater detail and if assistance is needed post a question in this same tutorial and we will assist you.

How to Run a Startup Repair in Windows 7

Startup Repair - Run 3 Separate Times

Be advised: Once Windows 7 is "System, Active" and the repairs have been run and Windows 7 is booting good on its own, Windows XP will no longer boot-up so make sure you have everything you need from that partition before you do this step.

If you should find yourself needing to retrieve something from the XP partition after the repairs have been done, the "Move To" option in this tutorial can be used to great effect to move personal data from XP to Windows 7 in Windows Explorer.



Step Two

Wipe the XP Partition


In the BIOS set the boot order to boot first from the Optical Disk Drive (ODD), insert the Partition Wizard Bootable Disk (PWBD) and re-start the PC. It'll take a minute or two for it to setup with no input from the user needed.
Once the program has started you can remove the disk from the ODD.

This will show how to do a partition specific wipe, also known as a "secure erase" to the Windows XP partition, this step will over-write every sector on the partition with zeroes, effectively 'removing' all the old XP code, along with the XP drivers and any other data on the partition making the best possible 'clean' space to recover into the Windows 7 partition.
Once this procedure has been done any data left on the partition will be gone and not even the best data recovery programs will be able to retrieve it.


1) In the Partition Wizard program, right click the XP partition (the first partition) and click "Wipe Partition", in the dialog box that opens select the type of wipe you want to run and click OK.Wipe.jpg

WipeSelect.jpg

2) In the left pane at the "Operations Pending" column click Apply then Yes to the 'conformation' dialog box.WipeApplyYes.jpg
3) You will get a progress graph, when it is finished click OK for the 'successful' dialog box.
Depending on the size partition you do the wipe to it could take a considerable amount of time, to wipe this 98+GB partition it took just over 30 minutes, just relax and let it finish.WipePending.jpg
4) It would be a good idea to boot into Windows 7 to let it recognize the changes to the partition structure and make sure all is well before you go on to the next step.
Remove the PWBD from the ODD and at the upper left corner at "General" click "Exit" to close the Partition Wizard program and start Windows 7.WipeExit.jpg



Step Three

Recover the Space


Put the PWBD back into the ODD and restart the PC.
There are 2 steps to do here but they can both be done in one operation so read through this section first to get an idea before you get started.

1) Right click the space from the old XP partition and click delete, you will see an entry added to the "Operations Pending" column but don't click apply yet.Delete.jpg
2) Now right click the Windows 7 partition and click "Move/Resize", in the dialog box that opens click and hold to drag the left slider so that there is no "Unallocated Space" before or after the Windows 7 partition and click OK.Resize.jpg

Resize2.jpg

3) Now in the left pane "Operations Pending" column click Apply and then Yes to the 'conformation' dialog box.ResizeApplyYes.jpg
4) You will get a progress graph, when it finishes click OK for the 'successful' box.ResizePending.jpg
That's it, you're finished with the Partition Wizard program, remove the PWBD from the ODD and at the upper left corner at "General" click "Exit" to close the PW program and start Windows.ResizeExit.jpg
Enjoy! :)

 
Last edited by a moderator:
Hello again lisior.



Sorry to see you had an issue though I'm at a loss at what it could be; did you have Linux installed at any other time?
 

My Computer My Computer

At a glance

W 7 64-bit UltimateIntel Q9550 Yorkfield8GB Dominator 8500C5DATI : XFX 5870
Computer Manufacturer/Model Number
* BFK Customs *
OS
W 7 64-bit Ultimate
CPU
Intel Q9550 Yorkfield
Motherboard
ASUS P5Q Pro
Memory
8GB Dominator 8500C5D
Graphics Card(s)
ATI : XFX 5870
Sound Card
Realtek HD Audio 7-1
Monitor(s) Displays
1x 47" LCD HDMI & 3x 26" LCD HDMI
Screen Resolution
1920x1080P & 1920x1200
Hard Drives
1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s)
PSU
Corsair 620HX
Case
Cooler Master RC-690
Cooling
Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
Keyboard
Microsoft 500
Mouse
Razer Diamondback 3G
Internet Speed
14 Mb/s
Other Info
1x Koutech 3Gb/s SATA HDD Hot Swap Rack
Thanks

First of all, thank you for this tutorial BFK. I have been reading through quite a bit of threads where you and Brink have been helping others with similar issues. I kind of just mixed and matched different advise that the two of you have given, before I found this thread. Turns out I did almost exactly what is described here, except for the "wipe" (I just deleted my first partition, which was Vista, with Partition Wizard) Turns out, I ended up with the same problem as lisior. I can boot to Windows 7, but after I log on it says "preparing your desktop", and after waiting longer than usual it brings me to a blue screen that says "Windows 7; Build 7600; This copy of Windows is not genuine" in the lower right corner. I followed prodigy's "Possible Solution" here:
http://www.sevenforums.com/windows-...roblem-related-windows-not-genuine-error.html
Which fixed the problem, but now my only partition, which is the Windows 7, is labeled as F: I tried to use Disk Management to change drive letter and paths, but it throws me an error about parameters. I know that it doesn't really effect anything to be labeled as F:, but I was just wandering if you had any insight as to something that I could try to get it to work correctly, labeled as C:?
 

Attachments

  • Disk Management.jpg
    Disk Management.jpg
    52.4 KB · Views: 293

My Computer My Computer

At a glance

Windows 7 Home Premium 64 BitIntel Core 2 Duo CPU P8700 @ 2.53GHz4.00GBNVIDIA GeForce GT 130M
Computer Manufacturer/Model Number
HP HDX16T
OS
Windows 7 Home Premium 64 Bit
CPU
Intel Core 2 Duo CPU P8700 @ 2.53GHz
Memory
4.00GB
Graphics Card(s)
NVIDIA GeForce GT 130M
Monitor(s) Displays
16" 1080P
Screen Resolution
1920 x 1080
Hello Chris H.




To get a letter 'not' C: you must have installed Windows 7 from within Vista and didn't boot from the Windows 7 installation disk; unfortunately there is no successful way to change the drive letter for a Windows "System" partition and if you did manage it there would be all sorts of issues following; when you installed programs/apps they were created to use the "Letter F:" and that can't be changed short of a Windows reinstall.
 

My Computer My Computer

At a glance

W 7 64-bit UltimateIntel Q9550 Yorkfield8GB Dominator 8500C5DATI : XFX 5870
Computer Manufacturer/Model Number
* BFK Customs *
OS
W 7 64-bit Ultimate
CPU
Intel Q9550 Yorkfield
Motherboard
ASUS P5Q Pro
Memory
8GB Dominator 8500C5D
Graphics Card(s)
ATI : XFX 5870
Sound Card
Realtek HD Audio 7-1
Monitor(s) Displays
1x 47" LCD HDMI & 3x 26" LCD HDMI
Screen Resolution
1920x1080P & 1920x1200
Hard Drives
1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s)
PSU
Corsair 620HX
Case
Cooler Master RC-690
Cooling
Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
Keyboard
Microsoft 500
Mouse
Razer Diamondback 3G
Internet Speed
14 Mb/s
Other Info
1x Koutech 3Gb/s SATA HDD Hot Swap Rack
Back
Top