Windows 7 won't boot after restore of c drive to another drive

HI all,

I just bought a new computer, and I want to use my bigger 1TB drive on the new PC (right now it is a system drive on my old). I want to move the system of my old PC to a 330GB drive. I used acronis to image the boot sector and the system partition. I restore the image to the 330gb drive with 1 partition.

THe 1tb drive has 3 partitions. C (windows 7), H (data), J (windows XP). I installed windows 7 on the same drive as xp a year or so ago.

I get : "Windows failed to start. A recent hardware or software change might be the cause...

Status 0xc00000e. Info: THe boot selection failed because a required device is inaccessible.

I tried system repair, and repair automatically. NO success.

I tried bootrec.exe /fixmbr also /fixboot also /rebuildbcd. NO success.

After browsing the harddrive contents, I noticed that the \boot\bcd is on the J (windows XP) drive. I also saw some boot files there. I did not see \boot\BCD on the C drive nor any system files. ( i selected to show all hidden files and all os files)

Is there a way for me to move all the boot info off of the J (windows xp) partition so that I can move my old PC's windows 7 to the 330 gb drive?

I would rather not re-install.

Best wishes to all!

Here is the BCDEdit output

---------------------------------------------------------

C:\Windows\system32>bcdedit

Windows Boot Manager
--------------------
identifier              {bootmgr}
device                  partition=J:
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
default                 {current}
resumeobject            {8b0464b0-1542-11df-a177-8c3140daf829}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 5

Windows Boot Loader
-------------------
identifier              {current}
device                  partition=C:
path                    \Windows\system32\winload.exe
description             Windows 7
locale                  en-US
inherit                 {bootloadersettings}
recoverysequence        {8b0464b2-1542-11df-a177-8c3140daf829}
recoveryenabled         Yes
osdevice                partition=C:
systemroot              \Windows
resumeobject            {8b0464b0-1542-11df-a177-8c3140daf829}
nx                      OptIn

C:\Windows\system32>


C:\Windows\system32>bcdedit /v

Windows Boot Manager
--------------------
identifier              {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device                  partition=J:
description             Windows Boot Manager
locale                  en-US
inherit                 {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
default                 {8b0464b1-1542-11df-a177-8c3140daf829}
resumeobject            {8b0464b0-1542-11df-a177-8c3140daf829}
displayorder            {8b0464b1-1542-11df-a177-8c3140daf829}
toolsdisplayorder       {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout                 5

Windows Boot Loader
-------------------
identifier              {8b0464b1-1542-11df-a177-8c3140daf829}
device                  partition=C:
path                    \Windows\system32\winload.exe
description             Windows 7
locale                  en-US
inherit                 {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
recoverysequence        {8b0464b2-1542-11df-a177-8c3140daf829}
recoveryenabled         Yes
osdevice                partition=C:
systemroot              \Windows
resumeobject            {8b0464b0-1542-11df-a177-8c3140daf829}
nx                      OptIn

C:\Windows\system32>

 

Answer
Answer

Hi,

I found a solution to my problem online that I adapted to my situation.

Basically my boot files were on the windows xp partition as it was primary, active and that is where windows 7 put the files on install.

I booted with my working disk, having the new disk available.  I copied bootmgr and c:\boot directory to my new drive. I backed up the bcd and copied it to the new drive. I booted up with windows repair and modified all the entries in the BCD that had device=unknown to device=c:

System was bootable. Here are my notes, for those it could help.

-----------------------------------------------------

1- The 3rd partition, windows xp was the active one. WIndows 7 installed the bootmanager and the bcd files on that partition
2- Windows 7 was on the first partition, no boot files.
3- Restoring just the windows 7 partition to another drive made it obviously unbootable.

Fix
1- Backup the working disk with clonezilla, acronis or similar tool.
2- Restore to the desired disk, with only the windows 7 partition
 - make sure the partition restored to is primary and active.
3- Boot with the working disk, leaving the new disk accessible.
4- Copy the system/boot files.
 - Copy bootmgr to the new disk.
 - copy the boot directory to the new disk, ignore files that cannot be copied. (BCD and .log files)

5- backup the bcd from the working disk using bcdedit
 - open cmd.exe with admin privileges.
 - bcdedit /export c:\backupdir\bcd
 - copy the backed up files including the .log to the new disk, boot directory (c:\boot for example). Overwrite.
 - you now have a bcd, but with potentially invalid data.
 - OPTION, you can probably rebuild the bcd from scratch using the windows 7 dvd, repair option, then modify as required? Untried.

6- Boot with the new disk.
 - startup with the windows 7 dvd, repair.
 - do not repair anything.
 - open the command prompt
 - do bcdedit /enum all /v  to view all entries.
 - any entries that have device (or similar entries) and that value = unknown needs to be changed.
 - do bcdedit /set {id of entry as per listing} device partition=c: (this can be device, osdevice etc). C: can be whatever is appropriate.
 

7 SYstem is now bootable. SUccessful.

Best wishes to all. THis solution is adapted from :

http://neosmart.net/forums/showthread.php?t=2568

 

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

 
 

Question Info


Last updated December 24, 2017 Views 22,777 Applies to: