[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Damaged disklabel - Data recovery



On Friday, January 26, Tobias Weingartner wrote:
> On Friday, January 26, Rakhesh Sasidharan wrote:
> > >    Is there any way to salvage data on a disk with a damaged
> > >    disklabel? Any help appreciated ...
> > > 
> > >    I was just playing with 'disklabel' because of an installation
> > >    script I was writing but forgot to use the '-n' option ...
> > 
> > Well, if you have noted down somewhere, all the information that disklabel
> > was showing you, then you can restore the disklabel, and get the data
> > back.  
> 
> I used to have a program hanging around to scan a disk for partitions, and
> recreate the disklabel.  I'd have to see if I can remember the name, and
> see if I (or someone else) still has a copy...

It's called scan_ffs.  Should make finding
those ffs partitions a whole lot easier.

man scan_ffs

--Toby.