?
Solved

How do you reset the MBR of the second physical disk?

Posted on 2003-03-01
13
Medium Priority
?
1,487 Views
Last Modified: 2007-12-19
Hi,

I currently bought a new harddrive. This one was put in as Primary/slave. After having tried to install Linux, I ended up screwing up the MBR on the second disk. My question is how I can reset the MBR on the second physical disk drive. I have tried the "fdisk /mbr" command, and it successfully (and unfortunately...) wipes the mbr of the first disk. Will I have to disconnect the first drive, and then put my new one up as the first hard-drive to be able to reset the MBR?
0
Comment
Question by:Gazza08
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +4
13 Comments
 
LVL 44

Expert Comment

by:CrazyOne
ID: 8046994
http://www.computerhope.com/issues/ch000175.htm

Question:

Do you have additional information on FDISK /MBR?

Additional Information:

FDISK /MBR is an undocumented Microsoft DOS command available in MS-DOS 5.0 and above. MBR is short for Master Boot Record. When doing FDISK /MBR it will reinstall the first 446 of 512 bytes of information with zeroes effectively rewriting the executable code and data strings that may currently be residing there. The remainder of the 512 bytes is the boot settings which tells the computer how to boot. These settings are left alone.

Q.) Does doing FDISK /MBR more then one time have any effect on the computer?
A.) As you can see in the above explanation on FDISK /MBR this command will only rewrite the executable information with zeroes. Therefore if this command is done more then once it will only be rewriting the zeroes with additional zeroes and have no additional affect.

Q.) How can I recreate the Master Boot Record on a different hard disk drive other then my primary hard disk drive?
A.) Use FDISK /CMBR <drive number> where 'drive number' represents the drive you wish to recreate the master boot record. To determine this number run fdisk and display the partition information.
0
 

Expert Comment

by:motherboard
ID: 8047139
ok if you have someone running windows 98/ME with norton utilities 2002 running, then goto the command propt on that PC and then go to C:\windows\command

In this directory there will be a copy of norton Utilities for dos 2002. Copy this to a floppy (~640K) and then build a system disk, copy all system files over so the floppy is bootable. Then write an autoexec.bat file and copy that to the floppy to.

The batch file should contain the following commands:
--------------
@Echo off
cls
Echo Starting NDD for Windows 98
Echo.
Ndd.exe
--------------

When you have written the batch file and coppied it to the floppy disk use it to boot into NDD and then choose to diagnose disk. It will see that you have an MBR issue and will repair it.

If you cannot get hold of these ites i can make you one in 10 mins and post it to you, address needed for this...

Send postal address to Jasonmerlin20@hotmail.com

Motherboard
0
 
LVL 1

Expert Comment

by:JMansford
ID: 8047292
Since fdisk is a DOS utility, you should be able to just disable the first disk in the BIOS and fdisk should then no longer see it.  

Before doing fdisk /mbr again, just run fdisk and see if the first disk disappears.  That should do it, otherwise, yes, just unplug the first disk.

Are you sure you need to reset the MBR on the second disk?

0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 49

Expert Comment

by:dbrunton
ID: 8048496
0
 

Author Comment

by:Gazza08
ID: 8048565
Many thanks to all of you for your answers. Since I now have two completely wiped disks (where the second one has a bad MBR), I think it is easiest for me to use the fdisk /cmbr 2 command. Luckily I had backed out most of my data before I started "experimenting", so all I really have to do is to install a few OS's. Hopefully the fdisk /cmbr 2 will solve the problem....

Thanks again!
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 8048658
I take it then that this problem is now resolved from the help of an Expert or Experts. If this is the case then the procedure here at EE is to close the question.

To close the question look for and click on the "Accept comment as answer" text that resides to the right of the Experts name right above the comment you feel best helped you resolve your problem. Now when you click on that text you should see right above the comment box a grading scale.

A
B
C

Select one of these and then click the "Submit" button. The question is now moved to the PAQ (Previously Asked Questions) section and for all intent and purposes is considered closed.
0
 

Author Comment

by:Gazza08
ID: 8051055
Hi,

well, I tried the "fdisk /cmbr 2" command when I came back home from work yesterday, and still fdisk is not able to "see" my second harddrive. I have also tried to boot with Partition Magic from floppy disks, but this doesn't work either. My entire second harddrive is marked as bad, and the only options I get is to "Format", "set Active" and "Information". Then, when I try to format it, I get an error message saying this is not possible because there's a "BADMBR" (error message #104).

So I am sorry to say that this matter isn't closed yet (at least not for me). Are there any other ways I can get my completely new harddrive back to the state it was in when I bought it?

Thanks again for all the efforts you have made in helping me. I will of course close the question when I have a solution, or when there seems to be no solutions left :-)

0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 8051081
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 8051091
Some BIOS's have an option in it to do a lowlevel format of the drive. I would suggest taking out your other drive so you just have this problem drive left in the system so you can work with it directly and to be sure the other one isn't interfering in some manner. Also if you used PM to partition or setup this disk then fdisk is not the best way to deal with the disk. You need to use PM to fix the problem if it can then have it wipe out the disk.
0
 
LVL 49

Expert Comment

by:dbrunton
ID: 10045475
Points to Crazy One
0
 
LVL 14

Expert Comment

by:FriarTuk
ID: 10821215
http://support.microsoft.com/default.aspx?scid=kb;en-us;69013
http://www.geocities.com/thestarman3/asm/mbr/switches.htm
http://usuarios.lycos.es/fenris2003/panicdsk/fdisk_HELP.TXT

No comments added lately, so it's time to clean up this TA.
Please leave any comments here within the next 4 days.
My recommendation in the Cleanup topic area will be:

PAQ - Refund
Note: CO already rcv'd 100pts (A) from Dbrunton for this above link

Please don't accept this comment as answer!
FriarTuk, EE CleanUp Volunteer
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 10854688
PAQed - no points refunded (of 75)

CetusMOD
Community Support Moderator
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
A clone is a duplicate copy. Sheep have been cloned and maybe someday even people will be cloned, but disk cloning (performed by the hard drive cloning software) is a vital tool used to manage and protect data. Let’s look at what hard drive cloning …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question