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: Dual boot XP with windows 7 already installed


12 Dec 2009   #1

Windows 7 Ultimate x64
 
 
Dual boot XP with windows 7 already installed

I currently have Windows 7 Ultimate 64-bit installed on my SATA 1TB HDD. I also have an IDE 250GB HDD onto which I've installed Windows XP Professional 32-bit. Using DualBootPro,I was able to get Windows 7 to boot correctly, however XP now gives me the error:

"Windows could not start because the following file is missing or corrupt:
<Windows root>\system32\hal.dll
Please re-install a copy of the above file."

I have Googled the heck out of this problem and tried a number of fixes that have not worked:

I tried replacing the hal.dll file with the one from the XP install disc.
I tried rebuilding the boot.ini file.
I tried adding Windows XP boot info to the windows 7 bootloader.

My bcdedit output in command prompt can be viewed on the Untitled-1.jpg attached.

I am fairly experienced in dealing with some of this stuff but I'm stumped. Please help!



Attached Thumbnails
Dual boot XP with windows 7 already installed-untitled-1.jpg  
My System SpecsSystem Spec
.

12 Dec 2009   #2

Windows 7 Professional x64
 
 

Hello, welcome!
It is unlikely you are really missing hal.dll. What is most likely happening is that XP is looking at the wrong place to boot from. You were on the right track rebuilding the boot.ini file, but perhaps you need to go farther. The fact that you are getting that message means nothing is wrong with the MBR.
What you need to do it manually edit your boot.ini file. Rembember that the drive/partition numbering starts at 0. I have attached a sample boot.ini file for you to look at. Your problem is probably the drive number.
boot.ini.txt


My System SpecsSystem Spec
12 Dec 2009   #3

Windows 7 Ultimate x64
 
 

I think what is confusing me is that:

While logged into Windows 7, my Windows 7 system partition is C:\, the windows 7 'System Reserved' partition is B:\, and my XP system partition is D:\

While I'm logged into XP, my Windows 7 system partition is K:\, the windows 7 'System Reserved' partition is J:\, and my Windows XP system partition is C:\

Which boot file do I need to change and what do I need to change it to?
My System SpecsSystem Spec
.


12 Dec 2009   #4
Microsoft MVP

 

This can be avoided by installing Windows 7 last as required to correctly configure a dual boot.

If you installed XP last, then it is added best using EasyBCD Add/Remove tab.

Using another method and then trying to edit boot.ini frequently ends up with unfixable problems.

If EasyBCD doesn't show the OS's listed correctly, correct them there using the drive letters relative to the drive you are running. Drive letters are frequently relative in Windows 7 dual boots.

Otherwise, run a Repair Install of Windows 7 which will correctly reconfigure the dual boot as it would have done originally if installed second as required.

Actually, I just noticed SIW2 is here so this will all be solved shortly.

He/we may need a screenshot of the EasyBCD listings panel, using Snipping tool in start menu, attached using paper clip in reply box.
My System SpecsSystem Spec
12 Dec 2009   #5

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by gregrocker View Post
This can be avoided by installing Windows 7 last as required to correctly configure a dual boot.

If you installed XP last, then it is added best using EasyBCD Add/Remove tab.

Using another method and then trying to edit boot.ini frequently ends up with unfixable problems.

If EasyBCD doesn't show the OS's listed correctly, correct them there.

Otherwise, run a Repair Install of Windows 7 which will correctly reconfigure the dual boot as it would have done originally if installed second as required.
Greg, it sounds as if his 7 MBR is doing its job okay. 7 will not return that error, as it does not look at those files. It sounds like an XP error to me. The machine successfully tries to boot from the right drive, but the boot.ini file is wrong.
Just my theory, of course.
My System SpecsSystem Spec
12 Dec 2009   #6

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Hi muss,

You would be best having the XP bootfiles, ntldr, ntdetect.com and boot.ini on the system reserved partition.

Make sure boot.ini is pointing at the correct drive and partition, then add the XP entry to bcd , pointing at B.

If you get Easybcd 2.0 - it will do all that for you - let it autoconfigure:

EasyBCD 2.0 Beta Builds - The NeoSmart Forums
My System SpecsSystem Spec
12 Dec 2009   #7
Microsoft MVP

 

LOL I was uploading Easy beta then look up and notice SIW2 already did! (My teacher!)

Quote   Quote: Originally Posted by Jonathan_King View Post
Quote   Quote: Originally Posted by gregrocker View Post
This can be avoided by installing Windows 7 last as required to correctly configure a dual boot.

If you installed XP last, then it is added best using EasyBCD Add/Remove tab.

Using another method and then trying to edit boot.ini frequently ends up with unfixable problems.

If EasyBCD doesn't show the OS's listed correctly, correct them there.

Otherwise, run a http://www.sevenforums.com/tutorials/3413-repair-install.html?ltr=R of Windows 7 which will correctly reconfigure the dual boot as it would have done originally if installed second as required.
Greg, it sounds as if his 7 MBR is doing its job okay. 7 will not return that error, as it does not look at those files. It sounds like an XP error to me. The machine successfully tries to boot from the right drive, but the boot.ini file is wrong.
Just my theory, of course.
Yes, but all of it is solved upfront by installing Windows 7 last (with no other plugged drives to derail the boot) to properly auto-configure the dual boot, or using EasyBCD to easily add XP to dual boot if XP installed last.

Anything done beyond that other than Windows 7 repair install will start bollixing things, unless SIW2 is handy!
My System SpecsSystem Spec
12 Dec 2009   #8

Windows 7 Ultimate x64
 
 

alright thanks guys! I'm going to try doing the auto configure with easybcd 2.0 quick and I'll get back to ya.... fingers crossed...
My System SpecsSystem Spec
12 Dec 2009   #9

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by gregrocker View Post
LOL I was uploading Easy beta then look up and notice SIW2 already did! (My teacher!)

Quote   Quote: Originally Posted by Jonathan_King View Post
Quote   Quote: Originally Posted by gregrocker View Post
This can be avoided by installing Windows 7 last as required to correctly configure a dual boot.

If you installed XP last, then it is added best using EasyBCD Add/Remove tab.

Using another method and then trying to edit boot.ini frequently ends up with unfixable problems.

If EasyBCD doesn't show the OS's listed correctly, correct them there.

Otherwise, run a http://www.sevenforums.com/tutorials/3413-repair-install.html?ltr=R of Windows 7 which will correctly reconfigure the dual boot as it would have done originally if installed second as required.
Greg, it sounds as if his 7 MBR is doing its job okay. 7 will not return that error, as it does not look at those files. It sounds like an XP error to me. The machine successfully tries to boot from the right drive, but the boot.ini file is wrong.
Just my theory, of course.
Yes, but all of it is solved upfront by installing Windows 7 last (with no other plugged drives to derail the boot) to properly auto-configure the dual boot, or using EasyBCD to easily add XP to dual boot if XP installed last.

Anything done beyond that other than Windows 7 repair install will start bollixing things, unless SIW2 is handy!
True. Although if they are both installed already...
My System SpecsSystem Spec
12 Dec 2009   #10

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Click Add/Remove Entries .

Under the Windows Tab, select Windows NT/2K/XP/2K3 in the drop down.

The correct drive letter will already be detected.

Dual boot XP with windows 7 already installed-easy-autocon-1-2009-12-13_003433.jpg

Click Add Entry, then Yes to let Easy Autoconfigure.

Name:  EASY-AUTOCON-2-2009-12-13_003513.jpg
Views: 114
Size:  59.2 KB

I did quite a bit of testing on Easy 2.0, which I hope helped Mahmoud in some small way to get up the most recent build.

Still need people dual booting with OSX to test it - any volunteers?


My System SpecsSystem Spec
Reply

 Dual boot XP with windows 7 already installed




Thread Tools



Similar help and support threads for2: Dual boot XP with windows 7 already installed
Thread Forum
Solved Cannot dual boot xp and Windows 7 with W7 installed first. Installation & Setup
dual boot Windows 7 64 bit with (pre installed) Xp 32 bit Installation & Setup
how to make dual boot XP and 7 when 7 is already installed Installation & Setup
Issue:Windows 7 and XP dual boot(Win 7 installed First) Installation & Setup
Dual-Boot: Windows only showing One OS Installed! HELP! Installation & Setup
how to dual boot win 7 with xp win7 installed first? Installation & Setup

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 11:30 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33