From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 02:28:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 164C7CDF for ; Mon, 17 Dec 2012 02:28:48 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id C05828FC0A for ; Mon, 17 Dec 2012 02:28:47 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id qBH2ShQE006181; Sun, 16 Dec 2012 19:28:43 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id qBH2Sh02006178; Sun, 16 Dec 2012 19:28:43 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 16 Dec 2012 19:28:43 -0700 (MST) From: Warren Block To: Polytropon Subject: Re: Partitioning - please not that again In-Reply-To: <20121217021723.35457dbd.freebsd@edvax.de> Message-ID: References: <1355702700.2452.32.camel@q> <20121217021723.35457dbd.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 16 Dec 2012 19:28:43 -0700 (MST) Cc: Ralf Mardorf , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 02:28:48 -0000 On Mon, 17 Dec 2012, Polytropon wrote: > On Mon, 17 Dec 2012 01:05:00 +0100, Ralf Mardorf wrote: >> I startet the FreeBSD installer, chose the shell and then run: >> >> # mount -t ufs /dev/ad0s1 /mnt >> # cd /mnt >> # rm -r * >> # rm -r .* > > That worked? I can hardly understand why /dev/ad0s1 is > mountable (except it's /dev/ad0s1c, i. e. you've initialized > the whole slice, but no swap then). > > A typical construction for FreeBSD would be at least to have > /dev/ad0s1a, mounted to /, being the bootable root partition, > and /dev/ad0s1b, the swap partition. Further partitions could > have been created, e. g. /dev/ad0s1d for /var, and /dev/ad0s1e > for /usr. > > > > >> This does cause the issue I already had before. When I go back to the >> installer, for the partition editor I get: >> >> ada0 298 GB MBR >> ada0s1 57 GB freebsd >> ada0s2 240 GB EBR >> [snip] >> >> gpart show also doesn't display the 3 ufs and the swap any more. > > Did it previously show them? I don't know if gpart supports > BSD-typical partitioning (i. e. partitions inside a slice)... Yes, it does. But it won't show them unless you look in ada0s1. bsdlabel partitions are inside slices.