From nobody@FreeBSD.org Mon Sep 27 13:45:55 2010 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D7971065670 for ; Mon, 27 Sep 2010 13:45:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0CCBB8FC14 for ; Mon, 27 Sep 2010 13:45:55 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8RDjslZ034337 for ; Mon, 27 Sep 2010 13:45:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8RDjsnX034336; Mon, 27 Sep 2010 13:45:54 GMT (envelope-from nobody) Message-Id: <201009271345.o8RDjsnX034336@www.freebsd.org> Date: Mon, 27 Sep 2010 13:45:54 GMT From: George Varughese To: freebsd-gnats-submit@FreeBSD.org Subject: sysinstall: currption of partition table X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 150995 >Category: bin >Synopsis: sysinstall(8): corruption of partition table >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-sysinstall >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 27 13:50:07 UTC 2010 >Closed-Date: >Last-Modified: Fri Nov 05 11:12:13 UTC 2010 >Originator: George Varughese >Release: FreeBSD 8.1-RELEASE #0 >Organization: >Environment: FreeBSD 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Processor: Intel(R) Atom(TM) CPU 230 @ 1.60GHz GenuineIntel GNU/Linux Disks: 250.0 GB sata / 1TB sata. Memory: 512MB / 1GB >Description: FreeBSD was installed on a hard disk which was previously partitioned with more than fourteen partitions on it, and has linux installations on it. Primary partition 1 was used for FreeBSD. Not all logical partitions, of the more than 10 logical partitions that were there, which are in the exteneded partition are listed by sysinstall. Only few were reported by sysinstall, and rest was reported as free space. FreeBSD was installed on to primary partition 1. After reboot many partitions in the extended partition which are the last ones dissappeared. It is possible to restore partitions with previously stored partition table information on a usb stick from Slackware Linux. Partition information could be saved with sfdisk -l under Slackware Linux. >How-To-Repeat: Partition a disk with fdisk under Slackware or other Linux distribution, and create more than 10 logical partitions. It will be useful to store "sfdisk -l" output on a usb stick for later use. Mark primary partion 1 as a5 (FreeBSD ) from Linux fdisk, and later install FreeBSD on to it. Reboot after installation. >Fix: >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-i386->freebsd-sysinstall Responsible-Changed-By: linimon Responsible-Changed-When: Fri Nov 5 11:11:34 UTC 2010 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=150995 >Unformatted: