[CentOS] Corrupt mbr and disk directory map

Denniston, Todd A CIV NAVSURFWARCENDIV Crane todd.denniston at navy.mil
Thu Jan 5 21:02:24 UTC 2012


> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of m.roth at 5-cent.us
> Sent: Thursday, January 05, 2012 15:33
> To: CentOS mailing list
> Subject: Re: [CentOS] Corrupt mbr and disk directory map
> 
> Billy Davis wrote:
> > On 1/5/2012 11:20 AM, m.roth at 5-cent.us wrote:
> >> Billy Davis wrote:
> >>> We are running Centos 5.6.  All was fine until yesterday.  I
> attempted
> >>> to tar a 14KB work file to a USB floppy  (/dev/sdb) for transport
> to
> >>> another server.  Unfortunately, I keyed in 'tar cvf /dev/sda
> filename'
> >>> instead of 'tar cvf /dev/sdb filename'.   /dev/sda is our main
> <tail o' woe elided>
<SNIP>
> >
> > Next, I reinstalled grub.  All seems normal now, at least until I
> > shutdown and reboot.  I'll wait until the weekend to do that, just
in
> > case I still have to do a disk restore for some reason.
> 
> Best of luck, and let us know how things turn out.
> 
> If things go south, there *are* tools that will let you scan a raw
> disk,
> and you could look for the superblock or the first dup, then calculate
> where the fs & partition should start, but that would be *real* work.

The OP might want to look at the archives of this list for the somewhat
recent "data recovery" thread before rebooting.
I thought Lamar Owen's 9/23/2011 15:35 post was particularly good,
because it mentioned some of the tools and processes.

And as Mark said... I hope it works.




More information about the CentOS mailing list