MBR?

  • Thread starter Thread starter roger
  • Start date Start date
R

roger

I may have a problem.

I have two hard drives:
C drive - boot drive - XP SP3.
D drive - data drive - NTFS - contains only a backup image of C
drive.
Partition Manager shows the second drive (D) is 'bad'.
However I can look at drive D and its backup image using Windows
Explorer, and all seems fine.
I would like to fix the error.

I think the problem is a bad MBR on D drive. How can I easily fix
that? I don't have recovery console installed.

Thanks

Fred
 
I may have a problem.

I have two hard drives:
C drive - boot drive - XP SP3.
D drive - data drive - NTFS - contains only a backup image of C
drive.
Partition Manager shows the second drive (D) is 'bad'.
However I can look at drive D and its backup image using Windows
Explorer, and all seems fine.
I would like to fix the error.

I think the problem is a bad MBR on D drive. How can I easily fix
that? I don't have recovery console installed.

Thanks

Fred

Do you really really need that information on D: ?

Or is your question a more theoretical one ("what if I needed to recover
the data") ?

When you clone a drive (like copy first disk C: and MBR to second disk
to make a backup), you should not boot from D:, until C: is disconnected.
D: won't work right if you do. D: needs to boot once, by itself, and
then it can be booted any time you want, with any mix of disks you want.
But D: should not be able to see C:, when the D: drive is booting for
the first time after the clone. I unplug the C: cable, before
booting the D: exact copy for its first time.

You can use a copy of TestDisk, to "recompute" the MBR. But the tool
requires the human operator, to have prior knowledge of what the
right answer is. For example, if you know there is only one
valid partition on the second drive, and TestDisk finds three
partitions, you know the scan attempt is picking up ancient info
that you'd prefer it didn't find. For TestDisk to work well,
it's up to the user to use "good hygiene" practices, like
really erasing things you wouldn't want TestDisk to find later.

http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step

The Windows utility "chkdsk", is a repair-in-place utility. If
the information on D: is extremely corrupted, chkdsk can make
things worse. The time to use chkdsk, is when you've tested
and convinced yourself the drive is healthy, such that if
chkdsk does some writes to repair things, it doesn't make things
worse. If the disk light is staying on, you're getting "SMART
warnings", or you're hearing "click-clunk" noises, that
is not the time to use CHKDSK. If you do, you could well
kiss the data goodbye. If the drive is sick, and you really
really need the data, the very first thing you do, is a
sector-by-sector copy to a known-good disk. That's your
insurance policy, for when the sick disk fails completely.

If you boot the WinXP installer CD, and use the recovery
console, the utilities "fixboot" and "fixmbr" are on there.
"fixmbr" doesn't do what you think it does. It puts back
the 440 bytes of boot code that is housed in the MBR.
That allows the OS to boot, if you somehow wiped out
the boot code (say, by installing Linux).

The MBR sector also contains four 16 byte primary partition
entries. You can look at the contents of those, using
PTEDIT32, free for download from Symantec.

The MBR also has a signature byte, AA55 up near the end.

But that's not the whole health story. If the D: partition
is NTFS, and there is some damage to the D: file structures,
then "chkdsk" from within Windows or from the recovery console,
can fix trivial problems. If the damage is bad enough,
you may need a file scavenger to get some percentage of
the whole thing.

Paul
 
Do you really really need that information on D: ?

Or is your question a more theoretical one ("what if I needed to recover
the data") ?

No. In fact I use a recovery CD that has worked fine for this. It's
just that the fact that PMagic said the drive was 'bad' which scared
me. I did not make the drive bootable back when because I never
planned to have to boot from it. And I still don't.

Boy - am I sorry I asked.

Fred
 
No. In fact I use a recovery CD that has worked fine for this. It's
just that the fact that PMagic said the drive was 'bad' which scared
me. I did not make the drive bootable back when because I never
planned to have to boot from it. And I still don't.

Boy - am I sorry I asked.

Fred

I have a copy of Partition Magic (version 7 I think).

It's a grumpy piece of software, in that it complains
about the structure of the MBR. If you actually let it
try to fix the "problem", you may see the same message
the next time. And if Windows Disk Manager makes some
changes to the disk, you may find Partition Magic
complaining again, the next time you use it. You
really can't win, and I stopped listening to its "warnings".

Your usage of the word "bad" kinda threw me off.
As when Partition Magic *really* doesn't like your
disk, it errors out and you don't get to look at anything.
I've had that happen before.

I thought perhaps you were seeing an error message
I'd never seen before, that's all.

Paul
 
Your usage of the word "bad" kinda threw me off.
As when Partition Magic *really* doesn't like your
disk, it errors out and you don't get to look at anything.
I've had that happen before.

I thought perhaps you were seeing an error message
I'd never seen before, that's all.

Paul

The word 'bad' was in PM's hard drive display. Big letters. I saw
the same flag for a Ubuntu-formatted drive the other day. It wasn't
my word.
Thanks
Big Fred (:<)
 
Back
Top