On Mon, Jul 30, 2007 at 02:34:55AM +0300, Dotan Cohen wrote: > On 30/07/07, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote: > > On Mon, Jul 30, 2007 at 02:05:38AM +0300, Dotan Cohen wrote: > > > In a Debian-based distro (Ubuntu) I have had a corruption of my /home > > > partition, which resides on sda4 of my Dell Inspiron laptop. Not > > > knowing what to do, and with no way to boot and google the situation, > > > I played Y, Y, Y to all fsck's questions. Now, /home is empty. I do > > > have a backup from 4 weeks ago, as I backup the first of every month, > > > but I have done quite a bit of work this past month. I'm very > > > interested in recovering the data. > > > > A corrupted /home should not keep you from booting. You may need to go > > single-user or init=/bin/sh but it should boot.
> Maybe something additional was corrupted, bu I only remember seeing > references to sda4, which is /home. Any idea how to get the data back? > Undeletion in *NIX is either very difficult, expensive, or impossible. Unless you got lucky and they ended up in lost+found only slightly mangled. If you want to try recovery, unmount sda4 and remove it from fstab. With it mounted, things change. Then aptitude search ~drecover and look at some tools. Try something like foremost or magicrescue. Read the documentation, follow the instructions, and only mount the partition again if it says to. Often such tools work by reading the block device itself, bypassing the filesystem. Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]