Help - Search - Members - Calendar
Full Version: Messed up MBR!
Linuxhelp > Support > Technical Support
LinMark
OK I have been a bad boy, I admit it!

Now I hope I can enlist your help to get me out of trouble and back up and running. smile.gif

I'll make a long story short.

My system:
WinXP SP2
Four drives: c,d,e,f
At the moment the built-in USB ports don't function at all (busted).
I have just installed a PCI USB card with 4+1 USB ports, but can't boot with the 4 so far.
No floppy and my CD/DVD drive is a USB drive.
So basically I don't have any fall-backs to boot with.

In my haste, when I installed Syslinux on f:, I wiped out the MBR!

Now when my system boots, it boots to f: (PING) and I don't know how to fix the mbr so I can get back to WinXP on c:.

If anyone can get me out of this jam I would REALLY appreciate it!

michaelk
I've never played with a PCI USB card so I am unsure if they are bootable or how to do so. The only way I see to repair the MBR would be to stick the drive into another PC and run the fixmbr utility from a XP install CD. I would unplug the other drives.
LinMark
QUOTE (michaelk @ Dec 22 2010, 10:19 AM) *
I've never played with a PCI USB card so I am unsure if they are bootable or how to do so. The only way I see to repair the MBR would be to stick the drive into another PC and run the fixmbr utility from a XP install CD. I would unplug the other drives.


Thanks Michael.
I managed to get up and running again by plugging in another hard drive with XP into IDE2 and then changing the active partition in system manager.

On this theme, do you know how to set up the boot.ini in XP to dual boot my two systems (XP and SysLinux)
and not get locked into a corner again? smile.gif
michaelk
How to boot linux from windows.
http://oreilly.com/pub/h/2337
LinMark
>>How to boot linux from windows.
http://oreilly.com/pub/h/2337 <<


Thanks Michael for your help!
I read the above link you gave.
It is very long and complicated, especially with all of the comments and their variations for solutions.

The main article finally mentions adding the following line to the boot.ini

c:\grub.bin="Linux"

after doing a bunch of other things first.

What I would like to know is the following.
I have WinXP installed and bootable right now on c:
I have PING (Syslinux) installed and bootable right now on f:
Both are on one physical drive (c: and f: are just partitions on the same IDE drive)

*Can I simply add a line or two to my WinXP boot.ini along the lines of the one above to get
my f: PING partition to boot?*

If so, what would the exact syntax be?
Would this work?

[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows
XP Professional"
/fastdetect
multi(0)disk(0)rdisk(0)partition(4)\LINUX="PING Merry Syslinux"
/fastdetect
michaelk
I am not familiar with ping linux.
In summary when linux is installed the bootloader is written to the same partition instead of the Master Boot Record. The bootloader is then copied to a file and saved on the windows c: drive. When the windows bootloader is executed it runs that bootloader code which starts linux.
NatalieSmith01
Thanks a lot for the bootloader help.
It works fine.
<spam / advertising removed>
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.