Date: Sun, 28 Jul 2002 20:14:09 +0200 From: Hanspeter Roth <hanspeter_roth@hotmail.com> To: freebsd-questions@freebsd.org Subject: reconstructing partition table Message-ID: <20020728201409.A1368@gicco.cablecom.ch>
next in thread | raw e-mail | index | archive | help
Hello, yes I have no backup and I have destroyed the partition table. Now I'm trying to reconstruct the partition table. One of the partitions is a FreeBsd one. The disklabel seems to be still intact. I can boot using the fixit floppy unsing /boot/loader. But I can't boot using /kernel. Booteasy displays FreeBsd but beeps when selecting it. Before I destroyed the partition table booteasy was cooparative selecting FreeBsd. I was trying Gpart Linux-fdisk, Linux-sfdisk and FreeBsd-fdisk but couldn't manage to fix the boot problem. The disk is a 20GB with a logical geometry of 2491/255/63. 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. Then I tried to set the chs values by the fdisk of FreeBSD using 2081/0/1-2490/254/63. But fdisk want's to ajust them: sysid 165,(FreeBSD/NetBSD/386BSD) start 33431265, size 6586650 (3216 Meg), flag 80 (active) beg: cyl 33/ head 0/ sector 1; end: cyl 442/ head 254/ sector 63 Are we happy with this entry? [n] No I'm not happy with this entry. But how can I make fdisk accept 2081/0/1-2490/254/63 ? Is there some (free/commertial) tool which can reconstruct FreeBSD partitions? -Hanspeter 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?20020728201409.A1368>