Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-27-2007, 06:41 PM   #1
Registered: Oct 2006
Posts: 137

Rep: Reputation: 15
Nuked my MBR. HELP!

I'll keep it short and to the point.

I got in a dual boot with linux and windows. I wanted to get ready of the linux section in the dual boot. I had grub as the bootloader. Some idiot told me to boot up in the windows xpcd and type fdisk /mbr.

I do that and reboot.

It says, "Missing operating system"

So I knew i must've nuked my MBR.

I do still have a linux partition that i want to get rid of.

So basically, I want my windows xp back without lost data, and I want the linux distro gone.

I don't want to dual boot anymore.

Are all my files lost?

Help asap please.


EDIT: I've got myself I live knoppix cd so I know thats on the right track. Where do I go from here?
Old 02-27-2007, 06:51 PM   #2
Registered: Oct 2006
Posts: 137

Original Poster
Rep: Reputation: 15
In fact I don't care to delete the linux partition right now. Or grub for that matter.

I just want the MBR restored so I can have my windows and linux partitions back!!

Old 02-27-2007, 06:54 PM   #3
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
You can use that command from a Windows 9x cd. If Xp then use fixmbr
Quick google search point to this link.

Old 02-27-2007, 09:29 PM   #4
Senior Member
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 61
c:>\fixmbr should do it!

Edit: Ugh..! i don't even remember how the DOS-Prompt looks like, damn my feeble brain. Is that correct?

Last edited by Hitboxx; 02-27-2007 at 10:11 PM.
Old 02-27-2007, 10:06 PM   #5
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,940

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
Boot the XP CD
Hit <r> when the splash tells you to - gets you into Recovery Console
Enter "fixmbr" (no quotes)

That is the documented way of doing it, although fdisk /mbr should do likewise.
Old 02-28-2007, 12:09 AM   #6
Registered: Oct 2006
Posts: 137

Original Poster
Rep: Reputation: 15
I fixed it by running fdisk on my win98 boot cd and setting the active partition.

thanks for the help though


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
nuked XP, now grub won't boot armchair rambo Linux - Newbie 15 02-27-2007 12:40 AM
Root Drive Nuked - Please Help mtaft Linux - General 3 05-13-2006 05:27 PM
Nuked HDD - Can I get the files back? Nige Linux - General 2 09-11-2005 11:43 PM
Upgrading to 2.6.6 seems to have nuked my machine HawkeyeCoug Mandriva 4 05-18-2004 02:46 PM
I just nuked /etc cpeppler Linux - Software 28 03-18-2004 10:27 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration