On Thu, Aug 19, 2010 at 8:07 PM, EforeZZ <efor...@gmail.com> 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....
1. Have you looked into /lost+found ? 2. You could try to grep the raw device of the root partition, searching for known fragments of the old /etc/rc.conf, and then manually recreate it. But do this fast, before the now freed blocks are reused and thus overwritten again. You do have a small separate / partition, right? Better run the system with / mounted read-only, until you can find the deleted fragments. > ;-( -cpghost. -- Cordula's Web. http://www.cordula.ws/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"