RE: undo rm deleteing /etc very urgent

From: issa rabba' (irabba_at_p-ol.com)
Date: 05/09/04

  • Next message: Hans Müller: "fblogo and Fedora core 1"
    To: "'For users of Fedora Core releases'" <fedora-list@redhat.com>
    Date: Sun, 9 May 2004 11:48:08 +0200
    
    

    Thanks all for helping me, finally I successed to backup my system and
    applications, I got the HD and connect it as slave HD and mount it then I
    got all what I need, really thanks for the help.

    Regards

    -----Original Message-----
    From: fedora-list-bounces@redhat.com [mailto:fedora-list-bounces@redhat.com]
    On Behalf Of d l
    Sent: Sunday, May 09, 2004 10:43 AM
    To: For users of Fedora Core releases
    Subject: Re: undo rm deleteing /etc very urgent

    To prevent overwriting those "free" sectors where /etc
    used to be, quickly dismount the parition containing /etc.
    Shutdown the machine if dismount is not possible.

    You can now either use dd to save the partition image for
    further investigation/data recovery. Or you can just plug
    that HDD to another machine, mount it as readonly and
    recover data there.

    --- Jeremy Brown <jeremy@cadre5.com> $B$+$i$N%a%C%;!<%8!'(B
    > issa rabba' wrote:
    >
    > >Dear all:
    > >
    > >Please I need help, by mistake I delete /etc
    > directory and I don't how can I
    > >undo deleting /etc, I still has connection to the
    > server, please if any one
    > >can help me....
    > >
    > >Note: I don't have backup 4 /etc direcoty
    > >
    > >
    > I'll go ahead and respond to your post with my very
    > generic and
    > unhelpful response, since you're probably on a time
    > constraint and no
    > one else seems to be answering (probably most are
    > asleep).
    >
    > My understanding is that when you delete files on
    > most Linux
    > filesystems, they aren't actually deleted, just
    > unlinked. It's possible
    > to restore some or all of these files by restoring
    > only the links (a
    > semi-trivial process, maybe). But once you start
    > writing data back to
    > the drive, there's probably little or no guarantee
    > that you won't
    > overwrite some or all of the space that /etc
    > occupied. So my first
    > suggestion would be to try to find an undelete
    > utility for whatever
    > filesystem /etc was stored on. After a quick google
    > I found this one
    > for ext2:
    >
    > http://twerner.debian.net/
    >
    > I make no claims as to whether or not this utility
    > will work. I've
    > never used it before.
    >
    > If you use reiserfs or some other filesystem, you'd
    > need to google and
    > find a different utility (assuming one exists for
    > your FS of choice).
    >
    > My other suggestion is to do what I did in the sole
    > situation where I
    > clobbered the /etc directory of a major production
    > machine (by
    > accidentally running "etc-update" on a Gentoo box I
    > was supposed to help
    > administer). And that is to grab the FC install
    > CDs, and install and
    > configure as quickly as possible as you can on an
    > alternative machine.
    > Most processes only read configuration files in /etc
    > on startup, so your
    > machine with trashed /etc might even be able to stay
    > alive while you get
    > another one together. It's not a pretty solution,
    > but it'll hopefully
    > minimize the damage done.
    >
    > Hope this helps.
    >
    > Jeremy
    >
    >
    > --
    > fedora-list mailing list
    > fedora-list@redhat.com
    > To unsubscribe:
    http://www.redhat.com/mailman/listinfo/fedora-list

    __________________________________________________
    Do You Yahoo!?
    http://bb.yahoo.co.jp/

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Hans Müller: "fblogo and Fedora core 1"

    Relevant Pages

    • Re: [SLE] Newby cuestion about HD
      ... use cfdisk to to partition the drive, then use mkfs to put a filesystem on it ... at boot and make a directory to mount it on. ... you probably want to use the same filesystem as your other ... If not the use YaST to install the howto package for your ...
      (SuSE)
    • Re: Installation woes
      ... > that the harddrive geometry seems unlikely though the install ... it can boot off of the harddrive but can't mount root. ... that filesystem is the one it should find. ...
      (freebsd-questions)
    • Re: cant mount second drive
      ... and mount it with something like: ... well now on a fresh fc6 install i can not do that. ... you must specify the filesystem type error. ... i can mount /dev/hdb1 and i get the boot partition showing up just find. ...
      (Fedora)
    • Re: cant mount second drive
      ... and mount it with something like: ... well now on a fresh fc6 install i can not do that. ... you must specify the filesystem type error. ... Maybe hdb2 was not what you ...
      (Fedora)
    • Re: indexing particular file types
      ... provide the professors a mount point, ... The professor then symbolic links that filesystem like, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)