From owner-freebsd-current@freebsd.org Fri Dec 11 17:05:45 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D81A69D821A for ; Fri, 11 Dec 2015 17:05:45 +0000 (UTC) (envelope-from carsten.kunze@arcor.de) Received: from mail-in-08.arcor-online.net (mail-in-08.arcor-online.net [151.189.21.48]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.arcor.de", Issuer "Thawte SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 96C881845 for ; Fri, 11 Dec 2015 17:05:45 +0000 (UTC) (envelope-from carsten.kunze@arcor.de) Received: from mail-in-16-z2.arcor-online.net (mail-in-16-z2.arcor-online.net [151.189.8.33]) by mx.arcor.de (Postfix) with ESMTP id 3pHHkT4CC1zwSb5 for ; Fri, 11 Dec 2015 17:34:09 +0100 (CET) Received: from mail-in-16.arcor-online.net (mail-in-16.arcor-online.net [151.189.21.56]) by mail-in-16-z2.arcor-online.net (Postfix) with ESMTP id 8486F21645E for ; Fri, 11 Dec 2015 17:34:09 +0100 (CET) Received: from webmail08.arcor-online.net (webmail08.arcor-online.net [151.189.8.44]) by mail-in-16.arcor-online.net (Postfix) with ESMTP id 3pHHkT3jSpzCQZq for ; Fri, 11 Dec 2015 17:34:09 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-16.arcor-online.net 3pHHkT3jSpzCQZq DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1449851649; bh=V2Agbyls/SjyQWr6j1K+zQTHnpHNOt0h3rKf1abv3RQ=; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding; b=XBmQ8IfSFnLqFH3OtpiVLVOMtCkdsa6r9g6A7UINih4cuHHKkfWKaLq1ktWcRRGnt zFAxHWKNzVBJxqbByoc669zY+dv0wcB8PJvH8FM7w+h70zf4ugP8/zAkgCMm0bugZS GvPByiEZE7idJOer3Qi+6LoQBW5J3z7u0wSoPZnk= Received: from [217.92.152.234] by webmail08.arcor-online.net (151.189.8.44) with HTTP (Arcor Webmail); Fri, 11 Dec 2015 17:34:09 +0100 (CET) Date: Fri, 11 Dec 2015 17:34:09 +0100 (CET) From: Carsten Kunze To: freebsd-current@freebsd.org Message-ID: <1812473578.396927.1449851649511.JavaMail.ngmail@webmail08.arcor-online.net> Subject: Partitioning on a MBR table disk fails (and destroys my data...) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ngMessageSubType: MessageSubType_MAIL X-WebmailclientIP: 217.92.152.234 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Dec 2015 17:05:45 -0000 Hello, I had not been succesful in partitioning and MBR disk for FreeBSD. I have only one free primary partition where I had installed NetBSD and OpenBSD alternatively since many years. The free space on the disk is divided into three parts: one for NetBSD, one for OpenBSD and one left for FreeBSD. When I did change from one BSD to the other I edited the MBR (start sector, end sector and type a6/a9). Before now installing FreeBSD for the first time (did use qemu in the past) I adjusted the sectorss to the FreeBSD range and changed to type a5, then erased the first sectors of that partition. While NetBSD and OpenBSD autoselect their a9/a6 partitions, FreeBSD sees it's partition but doesn't allow to add BSD partitions for e.g. / or swap (no space left...). So I deleted the prepared partition and added a new one. The size the tool told me was too large (sum of free space on the disk) but after it was added a different size had been shown--that which I had reserved for FreeBSD (so there is a bug in the install tool). After installation I saw that it had overwritten the over BSDs data. 1) Why does FreeBSD not simply use the free partitoin that I had prepared for it? It had detected that it is erased, why just doesn't it allow to add / and swap? 2) Why doesn't FreeBSD doesn't show where (on which sector) it adds a new partition? This and the loss of my data is really disappointing. At the moment installing FreeBSD is impossible at my disk while the over BSDs did work out of the box. Carsten