From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 01:17:23 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 DE0655EE for ; Mon, 17 Dec 2012 01:17:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 9AFDF8FC13 for ; Mon, 17 Dec 2012 01:17:23 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx02.qsc.de (Postfix) with ESMTP id 0611A25531; Mon, 17 Dec 2012 02:17:21 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBH1HNnn009151; Mon, 17 Dec 2012 02:17:23 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 17 Dec 2012 02:17:23 +0100 From: Polytropon To: Ralf Mardorf Subject: Re: Partitioning - please not that again Message-Id: <20121217021723.35457dbd.freebsd@edvax.de> In-Reply-To: <1355702700.2452.32.camel@q> References: <1355702700.2452.32.camel@q> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 01:17:23 -0000 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)... Option: The partition data has been lost. Only the slice "enclosing" them has been kept. > So I neither can install FreeBSD, nor can I restore the dumped PC-BSD. > Is there no easy to use partitioning tool, comparable to e.g. Linux's > gparted? Basically, that's what ye olde installer "sysinstall" would have done. I don't use the new installer "bsdinstall" because I prefer using the CLI tools which offer more flexibility and seem to be able to deal with nonstandard constructions such as "extended DOS partitions" et al. > How do I have to use the partition editor of the installer? Usually as described in The FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-partitioning.html As it seems, the installer guide defaults to GPT; what you have (judging from the Linux construction) is MBR, but there is a slice available, and that should be sufficient. You can compare: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...