Win7 fails to boot due to Hal.dll missing after change in drive slot

Say, I installed win7 on a drive and wish to insert into a different drive slot.
I've tried to edit c:\boot..ini on another W7 machine, but can't see this file.
Also can I use a USB drive bay with this sata drive to boot from it and what changes are needed?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

In windows 7, vista and win 2008 machines you can't find boot.ini file. These machines have bcd files which is used for booting also can edited by using bcdedit file.

Also regarding hal.dll file missing issue, we need to find the correct hal.dll file and have to import into your machine.That could resolve this issue.
shaunwinginAuthor Commented:
How do I use bcdedit to edit drive f:\ ?
Jackie ManIT ManagerCommented:
what do you mean by "wish to insert into a different drive slot"?

Please see the link below for bcdedit command.
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

shaunwinginAuthor Commented:
I have 5 SCSI ports and wish to attach drive to a different one....
Jackie ManIT ManagerCommented:
Then, it is better than you shall do a clean install of windows 7 again as RAID configuration is not easy to handle.

If you still want to try, put back the HDD in the SCSI windows 7 machine -> boot with Windows 7 setup DVD -> select "Repair your computer"

Details are in the link below.

If there is no OS detected, click Next and in the recovery console, click "Command prompt"

Jackie ManIT ManagerCommented:

Follow the approach below.

Reinstall Your Boot Loader Manually From the Windows DVD

Alternately, if it doesn’t automatically detect anything to fix, you’ll have to choose your own recovery options.  Click the bullet option on the top then click Next to use recovery tools to fix Windows.

Now, select Command Prompt from the available recovery tools.

In the command prompt window, enter the following to repair your boot loader:

    bootrec /rebuildbcd

After a few moments, it should detect your Windows installation and ask if you want to add it to the boot loader.  Enter Y to add it, then exit the command prompt and reboot your computer when you’re finished.

shaunwinginAuthor Commented:
Its a single drive - not a raid...simply changed the SCSI port....
Jackie ManIT ManagerCommented:

You can try #35313901 to see whether it can help.
shaunwinginAuthor Commented:
What is the link?
Jackie ManIT ManagerCommented:
No link. Use you windows 7 setup DVD to do the fix according to the comments above.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.