Skip to main content

Remove Win Xp boot partition

Thread needs solution

Hello,

I have a large drive partitioned into C:, E:, and F:.

C boots into Win Xp, and F boots to Win7. I feel confident enough in Win7 that I'd like to remove the C: partition and recover the space. How would I do this in DD10?

Thanks!

0 Users found this helpful

What boot manager are you using? If you're using the Windows boot manager, the booting files are probably on the XP partition.

Can you post a screenshot of what Disk Management shows?

I would proceed as follows:

NOTE: The instructions below assume that C: is assigned to the Windows 7 partition and D: is assigned to the XP partition when booted into Windows 7. Use the drive letters that are correct for your system. --- These instructions further assume that the Windows 7 partition is a Primary partition. If this is not the case, the instructions would be different.

  1. Create an Entire Disk Image backup of the drive. This is recommended before making partitioning changes.
  2. Boot into Windows 7.
  3. Start an Administrator Command Prompt and run the following commands to generalize the BCD file:bcdedit /set {current} device boot

    bcdedit /set {current} osdevice boot

    bcdedit /set {bootmgr} device boot

    bcdedit /set {memdiag} device boot

  4. Copy the Windows 7 booting files to the Windows 7 partition by running the following commands:reg unload HKLM\BCD00000000

    robocopy D:\ C:\ bootmgr

    robocopy D:\Boot C:\Boot /s

  5. Use DD to set the Windows 7 partition as the Active partition.
  6. Reboot the computer and make sure Windows 7 boots.
  7. Start Disk Management and verify that the Windows 7 partition is now both the System and Active partition. The XP partition should now just be a Primary partition.
  8. Assuming everything is correct, you can now delete the XP partition. This can be done using DD or Disk Management.

As for using the newly unallocated space, do you want to add it to the Windows 7 partition or to the E: partition? I'm guessing that E: is between the XP partition and the Windows 7 partition so it would require moving E: if you want to add the space to the Windows 7 partition.

Thanks MudCrab.
What to do if windows7 is a logical partition??
please give us the differrent insructions. Many thanks!

rob vollinga,

The instructions are basically the same except that you may need to edit the Hidden sectors field of the Logical partition and (most likely) the entry will need to be manually added to OSS. The exact procedures necessary may differ depending on the version and build of DD being used.

Thanks MudCrab. Very quick response with links to your website where every one can learn perfectly!
In the mean time I found out that EASEUS Partition Manager with the latest version let you change a logical partition to primary.
(boot in Xp, in win7 you can't change while the windows7 partition is 'Boot'.)