Tech Support > Microsoft Windows > Setup & Deployment > Suse Linux overwriting XP boot
Suse Linux overwriting XP boot
Posted by Dirk Bruere on November 3rd, 2005


Two HDDs, one with XP and other with Linux.
I appear to have overwritten the boot stuff on the XP with Linux code.
How can I recover?

Dirk

Posted by Pegasus \(MVP\) on November 3rd, 2005



"Dirk Bruere" <dirk.bruere@gmail.com> wrote in message
news:3sv04dFqcaj8U1@individual.net...
> Two HDDs, one with XP and other with Linux.
> I appear to have overwritten the boot stuff on the XP with Linux code.
> How can I recover?
>
> Dirk


You can boot the machine with your WinXP CD, select Repair
when prompted, then select Recovery Console. Now type this
command: fixmbr.

Alternatively you can boot the machine with a Win98 boot disk
from www.bootdisk.com, then run this command: fdisk /mbr.


Posted by Dirk Bruere on November 4th, 2005


Pegasus (MVP) wrote:
> "Dirk Bruere" <dirk.bruere@gmail.com> wrote in message
> news:3sv04dFqcaj8U1@individual.net...
>
>>Two HDDs, one with XP and other with Linux.
>>I appear to have overwritten the boot stuff on the XP with Linux code.
>>How can I recover?
>>
>>Dirk

>
>
> You can boot the machine with your WinXP CD, select Repair
> when prompted, then select Recovery Console. Now type this
> command: fixmbr.


Tried that, but it didn't seem to work
Does it assume that it is HDD0?
XP is on HDD1, and Linux on HDD0
It did seem to screw up linux boot...

Dirk

Posted by Pegasus \(MVP\) on November 4th, 2005



"Dirk Bruere" <dirk.bruere@gmail.com> wrote in message
news:3t1gm6Fqcl73U1@individual.net...
> Pegasus (MVP) wrote:
> > "Dirk Bruere" <dirk.bruere@gmail.com> wrote in message
> > news:3sv04dFqcaj8U1@individual.net...
> >
> >>Two HDDs, one with XP and other with Linux.
> >>I appear to have overwritten the boot stuff on the XP with Linux code.
> >>How can I recover?
> >>
> >>Dirk

> >
> >
> > You can boot the machine with your WinXP CD, select Repair
> > when prompted, then select Recovery Console. Now type this
> > command: fixmbr.

>
> Tried that, but it didn't seem to work
> Does it assume that it is HDD0?
> XP is on HDD1, and Linux on HDD0
> It did seem to screw up linux boot...
>
> Dirk


At boot time the BIOS passes control to the MBR located on
the primary master disk. In the case of Windows, the MBR
code will then execute some boot program located in the boot
sector of tha active partition of the primary master disk. That
code in turn will launch Windows from whereever it may be.

You appear to have restored the MBR but you also appear
to have disturbed some of the other links in the boot chain.
Your report "it didn't seem to work" does not contain sufficient
details to indicate which link is missing. Please report
***verbatim*** what you see on the screen!



Similar Posts