From owner-freebsd-bugs@FreeBSD.ORG Sun Oct 23 10:20:04 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DAFC1065674 for ; Sun, 23 Oct 2011 10:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 855578FC14 for ; Sun, 23 Oct 2011 10:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9NAK148053505 for ; Sun, 23 Oct 2011 10:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9NAK1RN053504; Sun, 23 Oct 2011 10:20:01 GMT (envelope-from gnats) Resent-Date: Sun, 23 Oct 2011 10:20:01 GMT Resent-Message-Id: <201110231020.p9NAK1RN053504@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Poul-Henning Kamp Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE8F6106566B for ; Sun, 23 Oct 2011 10:11:51 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 99C928FC22 for ; Sun, 23 Oct 2011 10:11:51 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 7632C5C37 for ; Sun, 23 Oct 2011 09:56:45 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id p9N9ujDg006353 for ; Sun, 23 Oct 2011 09:56:45 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.14.5/8.14.5/Submit) id p9N9ujk8006352; Sun, 23 Oct 2011 09:56:45 GMT (envelope-from phk) Message-Id: <201110230956.p9N9ujk8006352@critter.freebsd.dk> Date: Sun, 23 Oct 2011 09:56:45 GMT From: Poul-Henning Kamp To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: conf/161926: 9.0-RC1 bsdinstall disk layout trouble X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Poul-Henning Kamp List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2011 10:20:04 -0000 >Number: 161926 >Category: conf >Synopsis: 9.0-RC1 bsdinstall disk layout trouble >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 23 10:20:01 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Poul-Henning Kamp >Release: FreeBSD 9.0-RC1 amd64 >Organization: >Environment: Trying to install 9.0-RC1 amd64 >Description: I tried to install a machine for use with src/tools/sysbuild, and ran into a number of weird issues. Here is a blow by blow account: ada0 zeroed before boot boot dvd Choose "Install" Keymap Selection -> No "non-default key mapping" ??? What kind of question is that ? Guided disk Hmm, maybe I should use the manual option, lets see, where is the "back" button ? Ohh, there are *no* "back" buttons *anywhere* ? Partition ada0 Modify "Invalid argument. arg0 'ada0' MBR Create 10GB Create 10GB Create 10GB Create default size Active partition is the last one created ? There is no place I can see it ? There is no place I can change it ? ada0s1 Modify "Invalid argument. arg0 'ada0s1' BSD Create (ada0s1a) freebsd, full size, / Finish Enter shell in new system gpart set -a active -i 1 ada0 Fix the active partition sysctl kern.geom.debugflags=16 gmirror label root ada0 Fix /etc/fstab ? There is no /etc/fstab ? Create /etc/fstab: /dev/mirror/roots1a / ufs rw 1 1 boot0cfg -B /dev/ada0 reboot Comes up /etc/fstab now contains ada0s1a ? fix /etc/fstab add geom_mirror_load="YES" to /boot/loader.conf reboot Comes up >How-To-Repeat: Per above. I tried once before with a disk which contained a Ubuntu installation, there I ended up with partition 2 having size of "-37GB" on a 40GB drive. >Fix: At the very least, show people what's going on. And for goodness sake, add "Back" buttons, OK ? You really don't want me to write sysinstall2, right ? :-) >Release-Note: >Audit-Trail: >Unformatted: