From owner-freebsd-questions@FreeBSD.ORG Tue Aug 17 15:05:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A809010656AA for ; Tue, 17 Aug 2010 15:05:25 +0000 (UTC) (envelope-from kheuer2@gwdg.de) Received: from tmailer.gwdg.de (tmailer.gwdg.de [134.76.10.23]) by mx1.freebsd.org (Postfix) with ESMTP id 6C4568FC15 for ; Tue, 17 Aug 2010 15:05:25 +0000 (UTC) Received: from gwdu60.gwdg.de ([134.76.8.60]) by mailer.gwdg.de with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OlMrm-0001LI-HH; Tue, 17 Aug 2010 16:10:14 +0200 Date: Tue, 17 Aug 2010 16:10:14 +0200 (CEST) From: Konrad Heuer To: Dick Hoogendijk In-Reply-To: <4C6A7606.7000600@nagual.nl> Message-ID: References: <4C6A7606.7000600@nagual.nl> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-questions@freebsd.org Subject: Re: boot0cfg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2010 15:05:25 -0000 On Tue, 17 Aug 2010, Dick Hoogendijk wrote: > I dumped/restored the system to ad8 yesterday and booted from it. > The system *did* boot but (alas) the /dev/ads1a(f) slices were mounted. So, > the system loaded the *old* root partitions (from the first drive). After > googling and reading I think I need *boot0cfg* but I'm a bit scary to ruin my > new boot (ad8) drive. > > So, what is the exact syntax to make my system not only boot from ad8, but > also mount the /deb/ad8s1 slice as root slice? I'd try to set rootdev="disk8s1a" in /boot/loader.conf in /dev/ad8s1a since boot loader and kernel seem to be read from there. Before editing, please interrupt the boot sequence into command prompt mode and enter the command "lsdev" to have a look how the disks are enumerated by the boot loader. Best regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de