Help! Corrupt MBR - lost data!

Help! Corrupt MBR - lost data!

Post by Ian J Leve » Wed, 22 May 1996 04:00:00



Help, please!

Using Adaptec's AFDISK on MS-DOS 6.22, I deleted the second of two
Windows NT-generated Primary partitions from my SCSI hard disk
drive. Irreplaceable data exists on the first partition, but is
now inaccessible since, when booting, Adaptec's ASPIDISK now reports
the following when attemting to access the drive (which ASPI4DOS.SYS
recognises):

"Failed to read, or invalid, boot record."

Windows NT recogises the (first) partition, but not the filesystem (FAT).

I cannot yet get FDISK or PFDISK read the two SCSI drives
(I have an IDE drive). Maybe I should enable the
Adaptec AHA 1542/B's BIOS?

Can anyone please recommend a utility with which to edit the MBR
or other affected disk areas? How can I mark the partition as
FAT format, so that Windows NT might access the data?

I promise to back up the data, once recovered!

Many thanks in anticipation.

Ian Lever.

 
 
 

Help! Corrupt MBR - lost data!

Post by Shane Anderso » Mon, 27 May 1996 04:00:00



> Help, please!

> Using Adaptec's AFDISK on MS-DOS 6.22, I deleted the second of two
> Windows NT-generated Primary partitions from my SCSI hard disk
> drive. Irreplaceable data exists on the first partition, but is
> now inaccessible since, when booting, Adaptec's ASPIDISK now reports
> the following when attemting to access the drive (which ASPI4DOS.SYS
> recognises):

> "Failed to read, or invalid, boot record."

> Windows NT recogises the (first) partition, but not the filesystem (FAT).

> I cannot yet get FDISK or PFDISK read the two SCSI drives
> (I have an IDE drive). Maybe I should enable the
> Adaptec AHA 1542/B's BIOS?

You need the BIOS on the 1542 enabled for DOS to see the SCSI drive (or use the ASPI drivers...)
But I'd suggest using the BIOS on the 1542.  BUT, if you recreate the partition with DOS fdisk
you will (most likely) not be able to get your data.  If you need to recreate the boot record
you can do an "FDISK /MBR" but I imagine that will only redo the MBR on your IDE drive (which I
assume you boot off of..)

I've had some luck (thank god) with using Linux fdisk to rebuild a blown away partition table.  
In my case I knew the size of my DOS partitions and just went in with Linux fdisk and re-made
them.  It didn't corrupt any of the data (like DOS FDISK will..)  Saved my *more than once.
And I've also had problems with NT seriously screwing up partition tables...  It made it so that
none of the fdisk-style programs I had available would work.  Once again Linux saved the day.  I
would've done a 'dd if=/dev/null of=/dev/hdXX bs=1 count=512' to clear the partition table
(complete wipe!) but my boot disk didn't have 'dd' so I did a
'cat "<lotsa spaces..>" > /dev/hdXX' which left a pretty funky table, but now I could edit it
again. :)  (And I new my FAT partition size so I could recover it.  HAPPY DAY :-) )

Quote:> Can anyone please recommend a utility with which to edit the MBR
> or other affected disk areas? How can I mark the partition as
> FAT format, so that Windows NT might access the data?

Hmm..  maybe my Linux stuff above may help, but you didn't mention Linux at all in your post--I
have to assume you have it somewheres (else you wouldn't have posted here?)

Quote:> I promise to back up the data, once recovered!

Funny how that works!  People always do backups *AFTER* their data is gone...  (I've been there
too.)

Quote:> Many thanks in anticipation.

> Ian Lever.

Good Luck!  

=Shane Anderson===========Nonvolatile Electronics, Inc.=


 
 
 

Help! Corrupt MBR - lost data!

Post by caba.. » Tue, 28 May 1996 04:00:00




>> Help, please!

>> Using Adaptec's AFDISK on MS-DOS 6.22, I deleted the second of two
>> Windows NT-generated Primary partitions from my SCSI hard disk
>> drive. Irreplaceable data exists on the first partition, but is
>> now inaccessible since, when booting, Adaptec's ASPIDISK now reports
>> the following when attemting to access the drive (which ASPI4DOS.SYS
>> recognises):

>> "Failed to read, or invalid, boot record."

>> Windows NT recogises the (first) partition, but not the filesystem (FAT).

>> I cannot yet get FDISK or PFDISK read the two SCSI drives
>> (I have an IDE drive). Maybe I should enable the
>> Adaptec AHA 1542/B's BIOS?

>You need the BIOS on the 1542 enabled for DOS to see the SCSI drive (or use the ASPI drivers...)
>But I'd suggest using the BIOS on the 1542.  BUT, if you recreate the partition with DOS fdisk
>you will (most likely) not be able to get your data.  If you need to recreate the boot record
>you can do an "FDISK /MBR" but I imagine that will only redo the MBR on your IDE drive (which I
>assume you boot off of..)

>I've had some luck (thank god) with using Linux fdisk to rebuild a blown away partition table.  
>In my case I knew the size of my DOS partitions and just went in with Linux fdisk and re-made
>them.  It didn't corrupt any of the data (like DOS FDISK will..)  Saved my *more than once.
>And I've also had problems with NT seriously screwing up partition tables...  It made it so that
>none of the fdisk-style programs I had available would work.  Once again Linux saved the day.  I
>would've done a 'dd if=/dev/null of=/dev/hdXX bs=1 count=512' to clear the partition table
>(complete wipe!) but my boot disk didn't have 'dd' so I did a
>'cat "<lotsa spaces..>" > /dev/hdXX' which left a pretty funky table, but now I could edit it
>again. :)  (And I new my FAT partition size so I could recover it.  HAPPY DAY :-) )

>> Can anyone please recommend a utility with which to edit the MBR
>> or other affected disk areas? How can I mark the partition as
>> FAT format, so that Windows NT might access the data?

Another possible solution is the os/2 fdisk.  I did know the exact partition size
when I had to recreate a trashed HD, which undoubtably helped but it did work.

Another possible solution is partion magic, though I have
had virtually no success with it on non dos/os2 partitions.  (Mind you I am using
an older version and a friend witht he newer swears that it can handle linux.)

- Show quoted text -

>Hmm..  maybe my Linux stuff above may help, but you didn't mention Linux at all in your post--I
>have to assume you have it somewheres (else you wouldn't have posted here?)

>> I promise to back up the data, once recovered!

>Funny how that works!  People always do backups *AFTER* their data is gone...  (I've been there
>too.)

>> Many thanks in anticipation.

>> Ian Lever.

>Good Luck!  

>=Shane Anderson===========Nonvolatile Electronics, Inc.=


Roy F. Cabaniss

Huston Tillotson College