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
muss5138

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
-untitled-1.jpg  
My System SpecsSystem Spec
.
12 Dec 2009   #2
Jonathan_King

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
muss5138

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
gregrocker

 

This can be avoided by installing WIn7 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 Win7 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
Jonathan_King

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by gregrocker View Post
This can be avoided by installing WIn7 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
SIW2

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
gregrocker

 

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 WIn7 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 Win7 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 Win7 repair install will start bollixing things, unless SIW2 is handy!
My System SpecsSystem Spec
12 Dec 2009   #8
muss5138

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
Jonathan_King

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 WIn7 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 Win7 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 Win7 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
SIW2

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.

-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: 115
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
Thread Forum
How can I have Windows 7 and 8.1 dual boot (8.1 1st installed)
I have already seen steps to do this on this forum when Windows 7 is on the machine first but this does not fit my situation as I will soon convert my Windows 7 to Windows 8.1 (because I don't want it to be OEM any more so I can transfer my whole system over to a new pc in the future via image...
Installation & Setup
Cannot dual boot xp and Windows 7 with W7 installed first.
I have a Sony Vaio VPCEB1C5E Sony : VPCEB1C5E updates | Download updates for VPCEB1C5E. It had Windows 7 home premium x64 on it but the hard drive went bust and I lost everything. I own a Windows 7 professional x64 cd and license which I used as my laptop did not come with cds. I would like to play...
Installation & Setup
dual boot Windows 7 64 bit with (pre installed) Xp 32 bit
Hi, My installation was FAILED!!! i have windows xp 32 bit pre-installed (in C drive), I was trying to install DUAL BOOT xp with Windows 7 (in D drive NTFS) using ISO image file of Windows 7 64bit ultimate (present in my HHD), i mounted the ISO file of windows 7 with the help of Virtual drive......
Installation & Setup
Issue:Windows 7 and XP dual boot(Win 7 installed First)
Hii... I have some problem regarding Windows 7 and XP dual boot. I have first installed Windows 7 in C Drive, after that I made 3 more partitions in the remaining space. After which I installed Windows XP Pro in F Drive which was successfully installed making Windows 7 Boot Option Obselete...
Installation & Setup
Dual-Boot: Windows only showing One OS Installed! HELP!
Hello I'm new here. I had Windows 7 on my hard drive and I partitioned it using the partition tool built into windows. I installed Windows XP afterwards and now when I got to My Computer > Properties > Advanced > Startup and Recovery > Settings (while I'm in Windows XP) under default operating...
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 17:37.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App