From owner-freebsd-questions Wed Oct 24 1:10:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from roura.ac.upc.es (roura.ac.upc.es [147.83.33.10]) by hub.freebsd.org (Postfix) with ESMTP id 7DA1537B401 for ; Wed, 24 Oct 2001 01:10:21 -0700 (PDT) Received: from acm.org (fonoll.ac.upc.es [147.83.32.14]) by roura.ac.upc.es (8.11.6/8.11.0) with ESMTP id f9O89bx29245; Wed, 24 Oct 2001 10:09:39 +0200 (MET DST) Message-ID: <3BD67741.1DBDE25D@acm.org> Date: Wed, 24 Oct 2001 10:09:37 +0200 From: Oscar-Ivan Lepe-Aldama Organization: DAC/UPC X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: es, en MIME-Version: 1.0 To: David Kirchner Cc: questions@FreeBSD.ORG Subject: Re: Disklabel lost References: <20011023093846.X85958-200000@localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Kirchner wrote: > > (I've lost the original e-mail, so I don't recall if this is IDE or SCSI. > Either way, you want to search partition c.) > :-) Yes, I can see that you have because in that e-mail I didn't mention anything about the type of disk I have (an IDE), but I did say that I have accessed the root's mbox and I have printed the df output. That was how I have figured out that my intial guess about the size of the root partition was wrong. The df output is: Disk status: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 49583 28226 17391 62% / /dev/ad0s1e 5842520 4071545 1303574 76% /usr procfs 4 4 0 100% /proc My problem now is to figure out where the ad0s1e partition starts, which I guess is after the swap partition, which I guess is after the ad0s1a partition for which I don't know its size. Isn't the gpart program ment to do the above (that is, to guess where a BSD partition begins/ends)? Any other idea is very much welcome. --- Oscar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message