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: Windows XP boot error when loading though GRUB2 bootloader

27 Sep 2014   #1
2haloes

Win7 Ult 64-bit and WinXP 32-bit
 
 
Windows XP boot error when loading though GRUB2 bootloader

On my PC I've just installed Windows XP along Win 7, Lubuntu and Debian (Windows and Linux are on separate HDDs) after sorting out some boot issues I tried to load Windows though GRUB 2, Windows 7 worked fine but Windows XP doesn't load at all, all it tells me is that it can't find the boot files and kicks me back to the POST screen and then back to GRUB.


However, if I boot directly into my Windows HDD Win XP loads fine so can anyone help, it's becoming a real hassle to constantly go into my BIOS and change the boot order just to run one OS


My system contains: 1 TB HDD with Windows 7, Windows XP (On a logical partition, need to go though Win 7 duel-boot to boot), and Lubuntu 13.04 (Just for GRUB booting and emergencies)
2 TB HDD GPT partition table (GRUB boot partition at the start) with Debian Wheezy (GRUB booting), Lubuntu 14.04, IQUNIX (Based on Ubuntu 12.04, barebones OS)


My System SpecsSystem Spec
.
27 Sep 2014   #2
MilesAhead

Windows 7 32 bit
 
 

In the root of the drive that has XP see if there are the files ntldr and ntdetect.com. They should be there since XP boots. Try copying them to the partition XP is actually on and retry the boot. This is the old "ntkdr missing or corrupt" error. The file copy should fix it.
My System SpecsSystem Spec
27 Sep 2014   #3
2haloes

Win7 Ult 64-bit and WinXP 32-bit
 
 

Quote   Quote: Originally Posted by MilesAhead View Post
In the root of the drive that has XP see if there are the files ntldr and ntdetect.com. They should be there since XP boots. Try copying them to the partition XP is actually on and retry the boot. This is the old "ntkdr missing or corrupt" error. The file copy should fix it.
Well when I copied the ntkdr file over, I saw a screen that said that C:/Windows/boot.ini is broken and then my system rebooted
My System SpecsSystem Spec
.

28 Sep 2014   #4
andrew129260

Windows 10 Pro
 
 

Why not make it easier on yourself and just use virtual machines? 1,000 times better then a mess with multiple boot. And grub is absolutely horrible. It causes so many issues with loading windows it is not even funny.
My System SpecsSystem Spec
28 Sep 2014   #5
MilesAhead

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by 2haloes View Post
Quote   Quote: Originally Posted by MilesAhead View Post
In the root of the drive that has XP see if there are the files ntldr and ntdetect.com. They should be there since XP boots. Try copying them to the partition XP is actually on and retry the boot. This is the old "ntkdr missing or corrupt" error. The file copy should fix it.
Well when I copied the ntkdr file over, I saw a screen that said that C:/Windows/boot.ini is broken and then my system rebooted
Try doing it according to thi video:
How to Repair NTLDR Missing or Corrupt on Bootup - YouTube

Note that you need to use the drive letter XP is on rather than C:\
and the drive lettr of the CDROM rather than X:\

Example if when booted to the CD as K: it sees XP on D: then
Copy Kz:\i386\ntldr D:\
Copy Kz:\i386\ntdetect.com D:\

Edit: You should search on "ntldr missing or corrupt" and find a detailed page how to boot the product CD, copy the boot files to the XP partition and fix the boot loader files. This is on many support sites and blogs. For me to duplicate all the details will just create confusion. To get it right takes several hours of verifying the step by step and it's already been done a dozen or more times on the web. When you install XP it thinks it is the only OS so it puts the loader files in the root of the drive, not the partition XP is on. That's the whole problem. When the boot.ini is made it has the loader files in the root of the drive. You have to change it to point to where they are now. The XP partition.

Most of the confusion is because every time you boot from a different device in Dos/Windows systems, the drive letters shuffle all around.
My System SpecsSystem Spec
28 Sep 2014   #6
gregrocker

 

Unplug the Linux drive to make sure Win7 and XP boot correctly from a Windows Boot menu.

Then plug back in the Linux drive, set the Windows' drive first HD to boot in BIOS, trigger Linux drive via the One-Time BIOS Boot menu key which is F8 on Asus.

If you want to use a Boot Manager for all of them I'd use Windows as described by Barman here: Where to install ubuntu in my system?
My System SpecsSystem Spec
28 Sep 2014   #7
MilesAhead

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by gregrocker View Post
The solution here is obvious: You said yourself you have Windows and Linux on separate HD's. So you should boot your choice of OS's via the BIOS Boot order or one-time Boot menu key.

To sort this for the Windows drive, unplug the Linux drive, Mark Win7 Partition Active
then run Startup Repair - Run 3 Separate Times until Win7 starts and holds the System Active flag. Then install EasyBCD (click Download - no Name or Email required)to add XP to the Windows Dual Boot menu.

Then set Windows hard drive first to boot in BIOS setup. Trigger Linux drive to boot using one-time BIOS Boot menu key.
He'll still have "ntldr missing or corrupt" edit: when he tries to boot XP edit end: because the XP installer puts the boot files in the root instead of the XP partition. When you select with the boot manager it expects the boot loader files to be in the partition with the OS if you have multiple OS on the drive. So a combination of drive unplug and boot loader file copy is required.
My System SpecsSystem Spec
28 Sep 2014   #8
MilesAhead

Windows 7 32 bit
 
 

Quote:
XP isn't smart enough to put its boot files on any but its own partition.
You have it backwards. XP copies ntldr and ntdetect.com to the root of the physical drive. That's what steals the boot. This has been endlessly documented already. I see no benefit to the OP in debate. The solution is already on the web in multiple locations.
My System SpecsSystem Spec
28 Sep 2014   #9
gregrocker

 

Can we see a screenshot of Disk Mgmt from Win7 showing all drives? Disk Management - Post a Screen Capture Image
My System SpecsSystem Spec
03 Oct 2014   #10
2haloes

Win7 Ult 64-bit and WinXP 32-bit
 
 

I've attached the image to this post (The partition with Win XP in is not the only logical drive, the drive to the right is also logical) and to answer some things

When I boot directly into my Win 7 duel-boot to load Windows XP, it works fine, only GRUB is giving me this issue
Also, It gives me an error saying that Windows XP couldn't find boot.ini when booted with GRUB, Win 7 is fine

I just found some locked folders on one of my drives (I'm admin on my PC and this wasn't a system drive) so they might be the files to boot Win XP


Attached Thumbnails
Windows XP boot error when loading though GRUB2 bootloader-capture.png  
My System SpecsSystem Spec
Reply

 Windows XP boot error when loading though GRUB2 bootloader




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Windows XP and 7 Dual Boot, No BootLoader?
Hello. I had Windows 7 Home Premium on the C:/ Drive. Then I installed XP Pro. From there everything was perfect for me. Then all of a sudden I found my Windows 7 Ultimate CD. Used it and did a clean install. Now, Windows XP is simply a drive. Why? Well when I try to go into XP, it skips right to...
Installation & Setup
Reinstalled Windows boot manager (removed GRUB2) does this look right?
Long story short I got a netbook and as with all netbooks Windows is a little slow at times on it, I hadn't used Ubuntu in a long time and figured I'd give it a try since it was pretty fast on old computers, I shrunk Windows 7 50GB, put Ubuntu at the end of the hard drive, found out Ubuntu went WAY...
Installation & Setup
Setup Grub2 bootloader with W7 and 2 Linux installs
Hi, Currently I have windows 7 installed on one partition and I want to install Linux Mint on another and Ubuntu on third partition. I've tried using the windows bootloader, but I had to go through that and then the grub bootloader before getting the splash screen loading the OS. How can I...
Installation & Setup
Windows 7 cannot install, unable to boot to XP ERROR LOADING OS -help
XP on one hard drive, and trying to install Win7 on brand new 500gb drive. Loaded 7Ultimate and got to Install screen. Selected drive and made new partition. Clicked next. Received error: I don't know how to get to the logs, but what does this message mean? I have tried almost 6 or 7...
Installation & Setup
Vista / Windows 7 - Dual boot - Bootloader?
OK, I have Vista and Windows 7 installed on two different partitions... I want to get rid of Vista, and was told to remove the boatloader... So I'm using "VistaBootPRO", and it presents me with two options... http://img34.imageshack.us/img34/2514/capturele.png Which one do I choose?
Installation & Setup
Windows 7 wont boot after install,not even a bootloader
Hi I currently have a Vista/XP dualboot on my system. I attempted to install Windows 7 as an upgrade over Vista, thereby keeping my XP. The install runs fine however on the final reboot the PC no longer boots correctly. It displays the "Press anykey to boot from CD" timer and then...
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 05:46.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App