From owner-freebsd-questions@FreeBSD.ORG Sun Jun 23 23:12:12 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EF813FB3 for ; Sun, 23 Jun 2013 23:12:12 +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 BACA3118F for ; Sun, 23 Jun 2013 23:12:12 +0000 (UTC) Received: from r56.edvax.de (port-92-195-15-122.dynamic.qsc.de [92.195.15.122]) by mx02.qsc.de (Postfix) with ESMTP id 51A7423EA9; Mon, 24 Jun 2013 01:12:05 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r5NNCCMM002058; Mon, 24 Jun 2013 01:12:12 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 24 Jun 2013 01:12:12 +0200 From: Polytropon To: Doug Hardie Subject: Re: Boot Loader Issue Message-Id: <20130624011212.2481df7e.freebsd@edvax.de> In-Reply-To: References: 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 List" 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: Sun, 23 Jun 2013 23:12:13 -0000 On Sun, 23 Jun 2013 15:47:53 -0700, Doug Hardie wrote: > I need to alter mountroot so it tries the right partition/slice. > How do I do that? I couldn't find anything in the handbook on that. You need to install the GPT boot code, e. g. # gpart add -t freebsd-boot -l gpboot -b 40 -s 512K ad0 # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ad0 See http://www.wonkity.com/~wblock/docs/html/disksetup.html for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...