Date: Fri, 10 Jan 2003 23:45:55 -0600 From: Hari Bhaskaran <subscr@spider.netmails.net> To: "Gary W. Swearingen" <swear@attbi.com> Cc: freebsd-questions@freebsd.org Subject: (Solved) Recovering data from a faulty drive Message-ID: <20030111054555.GA27221@poecilotheria.netmails.net> In-Reply-To: <dc7kdcfx19.kdc@localhost.localdomain> References: <20030110002127.GA19809@poecilotheria.netmails.net> <q9znq9g1zn.nq9@localhost.localdomain> <20030110203458.GA25253@poecilotheria.netmails.net> <dc7kdcfx19.kdc@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
Fortunately, the FreeBSD installer's disklabel program (the graphical interactive one) was able to find the original partition information! I assigned the mount points (I don't think that was necessary), wrote ('W' from the screen) the label to disk again, it went thru a series of fscks and all my partitions are back again. I didn't try to install (restore) bootmanager, I merely mounted those partitions and took the data out on to another disk. I always thought the installer's disklabel program was same as disklabel(8). Thanks again to all those who replied (Gary, Mike Meyer) (And thanks to maxtor Made the first support call at 8AM, got a replacement delivered at 2PM the next day!) -- Hari Bhaskaran On Fri, Jan 10, 2003 at 02:41:06PM -0800, Gary W. Swearingen wrote: > Hari Bhaskaran <subscr@spider.netmails.net> writes: > > > Is there way to backup the partition info somewhere? (may be a floppy?) > > AFAIK, the partition info is entirely within the first sector of the > slice. The slice info is entirely within the first sector of the disk. > (There's other info in them too, so restoring a sector might change > more than partition info.) Having already given an example of "dd", > I'll leave the way to back them up as an exercise for the reader. > > I thought I mentioned this, but the "disklabel" program can output > partition info in ASCII format which you can backup and restore > from too. A better method than "dd", for general purposes. And > fdisk can give you slice info in ASCII for backup (but you'd have > to restore by hand). > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030111054555.GA27221>