Date: Mon, 29 Jul 2002 17:08:35 +0200 From: Hanspeter Roth <hanspeter_roth@hotmail.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: reconstructing partition table Message-ID: <20020729170835.A364@gicco.cablecom.ch> In-Reply-To: <20020728201409.A1368@gicco.cablecom.ch>; from hanspeter_roth@hotmail.com on Sun, Jul 28, 2002 at 08:14:09PM %2B0200 References: <20020728201409.A1368@gicco.cablecom.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 28 at 20:14, Hanspeter Roth spoke: > And it seems that the FreeBsd partition starts on logical cylinder > 2081. I realized now that this is beyond the 1023 boundary. But it > seems to have worked before. > Gpart found: > > Primary partition(3) > type: 165(0xA5)(FreeBSD/NetBSD/386BSD) > size: 3216mb #s(6586650) s(33431265-40017914) > chs: (1023/254/63)-(1023/254/63)d (2081/0/1)-(2490/254/63)r > > It shows two different chs settings. > I tryed to set the partition using Linux-sfdisk specifying start and > size in sectors. After booting the FreeBSD fixit cd fdisk shows some > strange chs setting: 1023/254/63-1023/254/63. I use sfdisk on my laptop's hd frequently to map different BSDs. But for this situation sfdisk doesn't seem to be optimal. I installed another dummy FreeBSD on a spare partition and deleted it afterwards. But now I can boot the original FreeBSD again. The magic seems to be in the header value which obviously must be 255 rather than 254. > Is there some (free/commertial) tool which can reconstruct FreeBSD > partitions? I downloaded Ranish partition manager but then tried testdisk first. (http://www.cgsecurity.org/testdisk.html) Testdisk also allowed me to find my other logical fat partitions which I couldn't find with gpart (0.10?). -Hanspeter Reply-To: mailinglist 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?20020729170835.A364>