Windows XP boot error when loading though GRUB2 bootloader

Page 1 of 2 12 LastLast

  1. Posts : 3
    Win7 Ult 64-bit and WinXP 32-bit
       #1

    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 Computer


  2. Posts : 5,092
    Windows 7 32 bit
       #2

    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 Computer


  3. Posts : 3
    Win7 Ult 64-bit and WinXP 32-bit
    Thread Starter
       #3

    MilesAhead said:
    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 Computer


  4. Posts : 4,566
    Windows 10 Pro
       #4

    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 Computer


  5. Posts : 5,092
    Windows 7 32 bit
       #5

    2haloes said:
    MilesAhead said:
    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 Computer

  6.    #6

    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?
    Last edited by gregrocker; 28 Sep 2014 at 15:17.
      My Computer


  7. Posts : 5,092
    Windows 7 32 bit
       #7

    gregrocker said:
    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 Computer


  8. Posts : 5,092
    Windows 7 32 bit
       #8

    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 Computer

  9.    #9

    Can we see a screenshot of Disk Mgmt from Win7 showing all drives? Disk Management - Post a Screen Capture Image
      My Computer


  10. Posts : 3
    Win7 Ult 64-bit and WinXP 32-bit
    Thread Starter
       #10

    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 Attached Thumbnails Windows XP boot error when loading though GRUB2 bootloader-capture.png  
    Last edited by 2haloes; 03 Oct 2014 at 13:43. Reason: Remembered some info I forgot when typing out the post
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 10:45.
Find Us