-   Linux - Newbie (
-   -   MBR completely FUBARed (

ChivalricRonin 04-12-2004 11:27 AM

MBR completely FUBARed
Hello all,

I'm getting really fscking frustrated with debian so far. I noticed I did quite a few things wrong in my last installation, the last of which being that I couldn't edit the GRUB config to let me boot into windows. So I tried to do what I did before, and that was to use the WindowsXP disc to FIXMBR. Well, FIXMBR didn't work this time. I also tried using the FIXBOOT on both sets of partitions (linux, win xp) which in retrospect probably broke the linux more. I know its trying to boot from where GRUB was, and I really need this fixed.

A friend fixed this for me before by doing something from knoppix to erase the MBR and let me boot again, but I didn't see what he did.

Can anyone give me the commands to try?

I know its something like fdisk dev/mbr but that doesn't seem to work. I'm running as root

EDIT: Please don't flame. I know this is not Deb's fault, I'm a noob etc... I'm trying to learn without rendering my comp inoperable, and maintaining my XP install.

farmall 04-12-2004 12:30 PM

Seperate hard drives and swap racks are what to use. Nearly everyone who dual-boots with a single hard disk (and sometimes with more than one) has this happen sooner or later. The simpler and easier solution is total segregation by using different, swappable drives.
The dual-boot custom evolved when hard drives were expensive and having two would deter potential Linux users. Those days are years ago.
Swap racks are ten-fifteen bucks (I never buy seperate trays since ya don't save much) and extra drives are cheap.
The best answer to questions about dual-booting is similar that to "Doc, it hurts when I do this!"

"Don't do that. " :tisk:

ChivalricRonin 04-12-2004 01:16 PM

I suppose I failed to mention this is a Laptop, so I don't really have this option. Unfortunately I need both OSes for work.

If your option was available I would gladly take it, but could you at least give me some advice about how to fix the current situation. I know it can be done. Thanks

EDIT: If anyone could tell me just how to fdisk mbr in Knoppix from the command line, that would be appreciated. I keep getting the NTLDR error now. I think if I completely overwrite the MBR and then use the WinXPpro recovery cd to Fixmbr thereby writing a new one it will be ok

All times are GMT -5. The time now is 03:03 AM.