SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Windows 7

(Solved) - installing operating system on second hard disk

(8 posts)
  • Started 4 years ago by joe2005
  • Latest reply from ScottW
  • Topic Viewed 4316 times

joe2005
Posts: 14

Had a 160 gb hard disk on which Windows XP was installed. Later Windows 7 RC was also installed by duly resizing C and I am having a dual boot system.
Installed second hard drive due to space constraints.I want to shift either WINDOWS RC or WINDOWS XP to one of the primary partition of second hard drive and I do not know how to go about it.Request guidance.Will be very much thankful if the guidance is step be step

Posted 4 years ago
Top
 
ScottW
ScottW
Posts: 6609

joe2005, this is a tricky operation and should be done with care. The first thing you need to know is where the Windows boot manager is and where the bootloaders are for XP and Windows 7. You can get all of this information from the command bcdedit.exe which is part of Windows 7, but not XP. To get the information in XP, use EasyBCD which can run in either OS. You're going to need this tool later on, as well.

In Windows 7, run bcdedit from an elevated Command Prompt (run as administrator) and copy the output here. If you are using EasyBCD, instead, click on the "View Settings" button, select "Detailed (Debug Mode)", and copy the text here. You only need to do one of these, not both. They produce the same basic output.

Posted 4 years ago
Top
 
joe2005
Posts: 14

Thanks for immediate response.Info desired is given below.
Windows 7 RC bcdedit details
Microsoft Windows [Version 6.1.7100]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>bcdedit

Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=D:
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {c5f45d50-3d39-11de-9282-d75e24b6dcd9}
displayorder {ntldr}
{current}
toolsdisplayorder {memdiag}
timeout 30

Windows Legacy OS Loader
------------------------
identifier {ntldr}
device partition=D:
path \ntldr
description Earlier Version of Windows

Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 7
locale en-US
inherit {bootloadersettings}
recoverysequence {c5f45d52-3d39-11de-9282-d75e24b6dcd9}
recoveryenabled Yes
osdevice partition=C:
systemroot \Windows
resumeobject {c5f45d50-3d39-11de-9282-d75e24b6dcd9}
nx OptIn

C:\Windows\system32>

Easybcd XP DETAILS

Overview

There are a total of 2 entries listed in the Vista Bootloader.
Bootloader Timeout: 30 seconds.
Default OS: Windows 7

Entry #1

Name: Earlier Version of Windows
BCD ID: {ntldr}
Drive: C:\
Bootloader Path: \ntldr

Entry #2

Name: Windows 7
BCD ID: {default}
Drive: R:\
Bootloader Path: \Windows\system32\winload.exe
Windows Directory: \Windows

Windows Boot Manager
--------------------
identifier {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device partition=C:
description Windows Boot Manager
locale en-US
inherit {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
default {c5f45d51-3d39-11de-9282-d75e24b6dcd9}
resumeobject {c5f45d50-3d39-11de-9282-d75e24b6dcd9}
displayorder {466f5a88-0af2-4f76-9038-095b170dc21c}
{c5f45d51-3d39-11de-9282-d75e24b6dcd9}
toolsdisplayorder {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout 30

Windows Legacy OS Loader
------------------------
identifier {466f5a88-0af2-4f76-9038-095b170dc21c}
device partition=C:
path \ntldr
description Earlier Version of Windows

Windows Boot Loader
-------------------
identifier {c5f45d51-3d39-11de-9282-d75e24b6dcd9}
device partition=R:
path \Windows\system32\winload.exe
description Windows 7
locale en-US
inherit {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
recoverysequence {c5f45d52-3d39-11de-9282-d75e24b6dcd9}
recoveryenabled Yes
osdevice partition=R:
systemroot \Windows
resumeobject {c5f45d50-3d39-11de-9282-d75e24b6dcd9}
nx OptIn
Hope the information is ok.EXpecting further guidance.
thanks

Posted 4 years ago
Top
 
ScottW
ScottW
Posts: 6609

Yep, that's what I was looking for. Your two boot partitions, I will call XP and Win7. When you are booted into Window 7, the Win7 partition is assigned the volume letter C: and the XP partition is assigned the letter D:. When you boot into XP, the XP partition is assigned the letter C: and the Win7 partition is assigned the letter R:. No problems there.

We can see that the Windows boot manager itself is stored on the XP partition. XP's bootloader is installed on the XP partition in \ntldr. And Windows 7's bootloader is installed on the Win7 partition in \windows\system32\winload.exe. As a result of all this, the XP partition will be your System partition and should be marked as such in Disk Management (diskmgmt.msc). All of this is good, and it will make the changeover relatively easy.

The next step is to copy the Windows 7 partition to the new hard drive. If you have an up-to-date partition manager or disk image copier, you can use that. If not, use a utility such as the freeware Partition Master from Easeus. The operation that you want to perform is a Partition Copy. You want to copy the Windows 7 partition on the older 160 GB hard drive onto the new hard drive. I expect that Partition Master will take care of creating and formatting the partition so you should NOT create or format a partition on the new drive unless the program tells you to.

After the Windows 7 partition is copied over to the new hard drive, then you will modify the BCD data so that the Windows 7 entry points to the new partition. (By the way, don't delete the old partition until the new one is installed an verified to be booting.)

Posted 4 years ago
Top
 
joe2005
Posts: 14

With your help managed to copy the partition R to the second disk changed the settings and tested ok.There is an unallocated space of 39 gb.
How to merge or extend the new partition with unallocated

Posted 4 years ago
Top
 
ScottW
ScottW
Posts: 6609

You can use the Disk Management utility (diskmgmt.msc) in Windows 7 to extend that partition into the unallocated space immediately following it. In Disk Management, right-click on the partition and select "Extend Volume".

Posted 4 years ago
Top
 
joe2005
Posts: 14

Successfully extended the partition and WINDOWS 7 is now booting from new partition.I have not deleted the old one.I really appereciate the step by step
guidance.Thanks

Posted 4 years ago
Top
 
ScottW
ScottW
Posts: 6609

Glad it's working for you. You're welcome.

Posted 4 years ago
Top
 



Topic Closed

This topic has been closed to new replies.

Get Free Articles in Your Inbox!

Join 134,000 newsletter readers

Email:

Go check your email!