From owner-freebsd-current Mon Mar 9 21:09:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA12782 for freebsd-current-outgoing; Mon, 9 Mar 1998 21:09:59 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from friley585.res.iastate.edu (friley585.res.iastate.edu [129.186.167.85]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA12730 for ; Mon, 9 Mar 1998 21:09:46 -0800 (PST) (envelope-from ccsanady@friley585.res.iastate.edu) Received: from friley585.res.iastate.edu (loopback [127.0.0.1]) by friley585.res.iastate.edu (8.8.8/8.8.8) with ESMTP id WAA06117; Mon, 9 Mar 1998 22:45:08 -0600 (CST) (envelope-from ccsanady@friley585.res.iastate.edu) Message-Id: <199803100445.WAA06117@friley585.res.iastate.edu> X-Mailer: exmh version 2.0.1 12/23/97 To: ccsanady@iastate.edu cc: freebsd-current@FreeBSD.ORG Subject: (fixed) Was: Filesystem recovery procedures (please help..) In-reply-to: Your message of "Mon, 09 Mar 1998 11:48:46 CST." <199803091748.LAA00499@friley63.res.iastate.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 09 Mar 1998 22:45:08 -0600 From: Chris Csanady Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >After recent recently trying to install the cam patches, >I seemed to have been left with a system that simply >would not boot. It would get to the place where it mounts >root, and then ti would hang. I have tried new kernels, >cam kernels, recent kernels, old generic kernels, all without >luck. Anyways, I finally just went to reinstall(upgrade) to >fix the problems. I must have screwed up the device nodes here, I'm not really sure what happened though. :\ Seems to work now after removing them all and recreating them. This is annoying to do from a fixit floppy, because too many paths are hardcoded into MAKEDEV. :( Anyways I can now boot as well.. >Unfortunately, somehow, the install disk seems to have toasted >the disklabels on both of my disks with very little effort. :( >It did leave the bios partitions intact though. > >Can anyone please tell me how to go about recovering? Will I >need to manually grovel the disk for this information? I also >have ccds that contain my home dir, so I would like these back >as well. I unfortunately do not have real recent backups, or >a way of making them. I seemed to have fixed the damage (after many painful hours...) For anyone interested, this is how I went about it. First, I set a disklabel partition to include all the space in the bios partition. After you do this, you can use dumpfs on the partition to figure out its length. I've found that fsck is a simple way to determine if the partition is/is not part of a ccd, as it majorly complians. :) After I have found one, try the remaining space, etc, until there is none left. This seems fairly simple, if your partitions are actually back to back. Takes a while though.. Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message