Results 1 to 7 of 7

Thread: install winXP after ubuntu

  1. #1
    Join Date
    Jan 2008
    Beans
    179

    install winXP after ubuntu

    Hello,
    I have ubuntu loaded on a machine with two drives. I put ubuntu on the 2nd drive, and if I recall correctly, I chose to have the master boot record installed on the second driver (though I seem to recall that the install confirmation listed the first drive as the location for MBR).

    So, now I want to put windows on the first drive, and am afraid it will overwrite the MBR.

    How can I confirm where the MBR is, and backup / restore after windows is installed? Isn't the MBR on the boot partition? if so, I have the 'recommended' ubuntu format - one large partition for the whole disk.
    --
    Regards,
    aBitLater

  2. #2
    Join Date
    Jan 2007
    Location
    Melbourne, Australia
    Beans
    5,096

    Re: install winXP after ubuntu

    Windows will override the mbr, but you can just boot a ubuntu live cd and restore grub. See here on how to.
    Ubuntu Newbie Help: irc: #beginners-help on network irc.freenode.net
    Help others, mark your threads solved.

  3. #3
    Join Date
    Jan 2008
    Beans
    179

    Re: install winXP after ubuntu

    I'm having serious problems with this.

    I've started over from scratch several times, and don't know how to proceed.

    My latest attempt.

    1) install winxp on 1st sata drive
    2) install ubuntu on 2nd sata drive - with grub on hd0 (1st drive)

    Then I try the grub option for winxp, and I get
    Code:
    Windows could not start because the below file is missing or corrupt:
    
    C:\Winnt\System32\Ntoskrnl.exe
    my google searches reveal that this is due to a missing or corrupt boot.ini file.

    So then I load the windows install disk for repair ("R" option), do a "fixboot" and "fixmbr", which gets windows to boot, but overwrites grub

    Then I go to ubuntu livecd and do some grub magic, per instructions from googling, and get grub back. But it still won't load windows, I get the same error as above.

    So I tried using the windows XP bootloader by dd'g the grub mbr and copying to windows c drive and modifying the boot.ini. When I try this option and select my ubuntu install, I only get a blank black screen that says only "GRUB" at the top... it fails to load.

    Need some help! Appreciate any pointers! (I'm wondering if SATA is the issue here??? or is it because I want to put both operating systems on separate drives? - most of the google results seem to be geared around having windows and linux on the same hard drive)

    Thanks again, in advance!
    --
    Regards,
    aBitLater

  4. #4
    Join Date
    Jan 2008
    Beans
    179

    Re: install winXP after ubuntu

    bump
    --
    Regards,
    aBitLater

  5. #5
    Join Date
    Jan 2007
    Location
    Melbourne, Australia
    Beans
    5,096

    Re: install winXP after ubuntu

    This was taken from here Give it ago.

    If the ntoskrnl.exe file is corrupt or missing this can also generate the error. To restore this file follow the below steps.

    1. Insert the Microsoft Windows XP CD. Note: If you have a recovery CD or a restore CD and not a Microsoft Windows XP CD it is likely the below steps will not resolve your issue.
    2. Reboot the computer, as the computer is starting you should see a message to press any key to boot from the CD. When you see this message press any key.
    3. In the Microsoft Windows XP setup menu press the R key to enter the recovery console.
    4. Select the operating system you wish to fix, and then enter the administrator password.
    5. Type expand d:\i386\ntoskrnl.ex_ c:\windows\system32
    6. You will then be prompted if you wish to overwrite the file type Y and press enter to overwrite the file.
    7. Type exit to reboot the computer.
    Ubuntu Newbie Help: irc: #beginners-help on network irc.freenode.net
    Help others, mark your threads solved.

  6. #6
    Join Date
    Jan 2008
    Beans
    179

    Re: install winXP after ubuntu

    thanks for the link.

    I did the expand command, but I still get the same error. I might mention, that I know I am at least getting to the boot.ini in windows, because I added a line in it (when I was trying to get XP to give an option to boot linux).

    So, at grub menu I select the Windows XP option. That brings me to boot.ini, where I have the boot.ini menu (default XP or linux). When I select the default, or just let it auto-select on timeout, I get the ntoskrnl.exe error again.

    I'll post back again with contents of boot.ini, and grub's menu.lst
    --
    Regards,
    aBitLater

  7. #7
    Join Date
    Jan 2008
    Beans
    179

    Re: install winXP after ubuntu

    I am receiving some help at linuxquestions.org. Yet unresolved, but I thought it would be easier to refer this thread to the other...

    http://www.linuxquestions.org/questi...5/#post3465160
    --
    Regards,
    aBitLater

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •