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: Replaced old HDD, lost Bootable OS files

08 Aug 2010   #1
eraser82

Win 7 Pro 64bit
 
 
Replaced old HDD, lost Bootable OS files

I am running Win7 and had a separate HDD where the boot files where contained.
the drive expired and i have been trying to set my OS drive to the primary/active partition.
so far i have done these steps but with no luck in booting to windows


1) ran diskpart from CMD and set the OS HDD to active
2) ran (DVD Drive) D:Boot/BOOTSECT.EXE/NT60 H: (OS Drive)


now im not sure how to proceed,
do i need to copy these following files to the root of the OS hdd?
NTLDR, NTDETECT.COM, BOOT.INI
if so where do i copy them from?


My System SpecsSystem Spec
.
08 Aug 2010   #2
DocBrown

Win7 Enterprise, Win7 x86 (Ult 7600), Win7 x64 Ult 7600, TechNet RTM on AMD x64 (2.8Ghz)
 
 

Rty running Repair Install 3 times to restore the Boot files

Repair Install
My System SpecsSystem Spec
08 Aug 2010   #3
iseeuu

 
 

Quote   Quote: Originally Posted by eraser82 View Post
I am running Win7 and had a separate HDD where the boot files where contained.
the drive expired and i have been trying to set my OS drive to the primary/active partition.
so far i have done these steps but with no luck in booting to windows


1) ran diskpart from CMD and set the OS HDD to active
2) ran (DVD Drive) D:Boot/BOOTSECT.EXE/NT60 H: (OS Drive)


now im not sure how to proceed,
do i need to copy these following files to the root of the OS hdd?
NTLDR, NTDETECT.COM, BOOT.INI
if so where do i copy them from?
Hello eraser82, and welcome to Windows Seven Forums.

You are on the right track. If you have indeed made your Windows 7 partition "Active", you have some options to restore booting to your Windows 7. We are limited in what we can recommend without a clear understanding of how many hard drives you now have and how many partitions etc.

First possibility is to use the 7 DVD again and just select the "Startup Repair". This will put the missing files you mentioned on the active 7 partition so you can boot again. It may take as many as three times to complete all the necessary steps, but it is almost always successful.

Startup Repair

Another option is to manually rebuild the BCD yourself (in the Windows 7 active partition) with the "bootrec" commands:

How to use the Bootrec.exe tool in the Windows Recovery Environment to troubleshoot and repair startup issues in Windows

Please let us know how we may best help you here?

Cheers!
Robert
My System SpecsSystem Spec
.

08 Aug 2010   #4
eraser82

Win 7 Pro 64bit
 
 

awesome,

i will proceed with these actions and let you know if its working


i manually copied NTLDR and NTDETECT files but that did not seem to work.

should i remove these files or are they harmless
My System SpecsSystem Spec
08 Aug 2010   #5
iseeuu

 
 

Quote   Quote: Originally Posted by eraser82 View Post
awesome,

i will proceed with these actions and let you know if its working


i manually copied NTLDR and NTDETECT files but that did not seem to work.

should i remove these files or are they harmless
These files are normally located in the "root", or C drive. They will be replaced by either the "Startup Repair" or "bootrec.exe /rebuildbcd" so should be harmless.
My System SpecsSystem Spec
08 Aug 2010   #6
eraser82

Win 7 Pro 64bit
 
 

i seem to have a problem,

i can rebuild the MBR but not the BOOT file, when i try to do that i get a element not found.

same with running rebuildbcd - it detects the OS but when i say Y to set as boot i get the message - element not found.

looks like i need to manually make a BOOT.ini or am i missing something?
My System SpecsSystem Spec
08 Aug 2010   #7
iseeuu

 
 

Quote   Quote: Originally Posted by eraser82 View Post
i seem to have a problem,

i can rebuild the MBR but not the BOOT file, when i try to do that i get a element not found.

same with running rebuildbcd - it detects the OS but when i say Y to set as boot i get the message - element not found.

looks like i need to manually make a BOOT.ini or am i missing something?
Did you try the "Startup Repair" from the DVD? Ignore any message that Windows cannot be found and go to the Startup Repair utility and run it three times, reboot in between each time you run it.
My System SpecsSystem Spec
08 Aug 2010   #8
eraser82

Win 7 Pro 64bit
 
 

I will try that (thought the other way would be faster than 3 reboots(have to install raid drivers each time)

the only question I have is, will the startup repair work if the OS is not showing up in the previous menu where you select the os?
My System SpecsSystem Spec
08 Aug 2010   #9
iseeuu

 
 

Quote   Quote: Originally Posted by eraser82 View Post
I will try that (thought the other way would be faster than 3 reboots(have to install raid drivers each time)

the only question I have is, will the startup repair work if the OS is not showing up in the previous menu where you select the os?
Ahhh ... more info ...

To the best of my knowledge, the Vista 7 "bootmgr" will NOT boot directly from a raid setup. A 100MB boot partition to hold the boot files and then allow booting to raid is part of the Vista 7 Installation Setup.

It seems we need to know more about your computer. If you do not have access to the hard drive because you can no longer boot to Windows 7 or another Windows OS on the computer, I would suggest you download a live Linux CD where you can use "Gparted" to view your hard drive map, and a browser to capture and post a picture:


Screenshot and Upload using MWSnap

Screenshot with Paint

https://www.sevenforums.com/tutorials...en-forums.html

An example of a hard drive map:

Replaced old HDD, lost Bootable OS files-phaze_01.png


My System SpecsSystem Spec
08 Aug 2010   #10
eraser82

Win 7 Pro 64bit
 
 

Not so comfortable with Linux, could I install xp onto a USB stick or USB hdd?
My System SpecsSystem Spec
Reply

 Replaced old HDD, lost Bootable OS files




Thread Tools




Similar help and support threads
Thread Forum
BSOD 0x116 (stop error) Replaced GPU, replaced RAM, replaced PSU
My monitor goes black and I am forced to reboot. After rebooting I get a blue screen prompt telling me that i've recovered from a BSOD. I've been monitoring them since October. In October, I RMA'd my graphics card. Oct 27. You can see that after I got a new GPU, my BSOD's halted... so...
BSOD Help and Support
cloned and replaced c: drive, now can't download any files
Recently I kept getting messages about an immanent hard drive failure, so I got a new drive. cloned it and the ran the setup. Then removed old drive from machine. the computer boots up fine, runs fine, and everything is working except I have several issues with IE11. Whenever I wan to...
General Discussion
Cannot create USB bootable ISO - won't add files
Ready to put the computer through the window here! I need to do a clean reinstall of W7 HP 32. I discovered the disk sent with the PC when I bought it is the 64bit disk, so completely useless. So I am trying to create a USB bootable disk after downloading the ISO file. When I run the...
Installation & Setup
Replaced Motherboard Mutliple BSODs (Stop codes + dmp files attatched)
Hello All! sorry for vague title, I didn't want to make multiple threads taking up space. This is my first post, I read how to post, I'm a little tired and I apologize if I missed something. I recently replaced my mother board to a MSI X58a-GD45 I did format and re-install windows and I keep...
BSOD Help and Support
Folders replaced with .TMP files ?
hey, my os in windows 7 professional x32 bit. I recently connected my 500gb seagate external hard drive and all i can see is a RECYCLER folder and several files with extension .TMP (eg :- trz9AC9). Each of these is of 2kb. the interesting thing about this problem is that when i check the size...
System Security
Mp3 files sometimes get replaced
Sometimes I find that some of my mp3 files are corruped in the following way: album and artist info in the ID3 tag is replaced with those values of another (always the same) file, and recently the title info and the whole music track began to get replaced by those of a different file. I really...
Music, Pictures & Video


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 09:23.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App