On Wed, 15 Jul 2009 06:36:02 GMT, swerdna
<swerdna@no-mx.forums.opensuse.org> wrote:
>
>OK, you guys wand a challenge? Have a go at this:
>‘How to resurrect my /home partition - openSUSE Forums’
>(http://tinyurl.com/ll8fsc)
I took a look. You are right, it is command line time. Never thought
the day where i knew something that the regs didn’t.
Before begriming, read up on dd and parted. dd in particular can be
very dangerous, calculate the sector address 5 times for source and
destination. Also read the whole method first and refer back to dd
and parted documentation to clarify
First. Command line time, i presume that you know how to get there
and can start a su session.
Second. Create a 21 GiB Linux volume on an external disk. Use dd to
copy the old home inside of it, this is the backup
Third. Use parted to create a new linux volume in the 34 GiB free
space after sda8, and dd a copy of old home inside there also. This
will be the working copy.
Fourth. Use parted to deallocate the volume after sda8, followed by
asking parted to recover a volume just inside the limits of the
working copy.
Fifth. Backup and verify the just recovered partition carefully.
Sixth. If this recovered partition is very clean, try using parted to
recover the original partition.
If not back up everything that is usable form on another drive and
copy the step 2 backup over the top of the working copy just beyond
sda8.
Seventh. If either recovered partition is very clean you are done.
Otherwise try using parted to copy the best recovered part over a
formatted old home partition, and continue with piecemeal repairs.
I realize that this is not all that clear. Just the same happy
hunting.