From owner-freebsd-questions@FreeBSD.ORG Thu Aug 19 20:20:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 2B35A10656A3; Thu, 19 Aug 2010 20:20:21 +0000 (UTC) Date: Thu, 19 Aug 2010 20:20:21 +0000 From: Alexander Best To: EforeZZ Message-ID: <20100819202021.GA56890@freebsd.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-questions Subject: Re: How to restore a text file from UFS?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2010 20:20:21 -0000 On Thu Aug 19 10, EforeZZ wrote: > I edited my 50Kb /etc/rc.conf, loaded a driver and.... got a kernel panic!! > After reboot my /etc/rc.conf is 0 bytes (after automatic background fsck). > Which tool should I try now to restore any version of my rc.conf?.. > I think data should still be somewhere on the disk.... > > ;-( i had a similar problem and this howto helped me very much [1]. cheers. alex [1] http://bluesmoon.livejournal.com/109782.html -- a13x