From owner-freebsd-geom@FreeBSD.ORG Sat Jul 28 11:44:37 2007 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32DD716A41B for ; Sat, 28 Jul 2007 11:44:37 +0000 (UTC) (envelope-from etc@fluffles.net) Received: from auriate.fluffles.net (cust.95.160.adsl.cistron.nl [195.64.95.160]) by mx1.freebsd.org (Postfix) with ESMTP id F3CD613C480 for ; Sat, 28 Jul 2007 11:44:36 +0000 (UTC) (envelope-from etc@fluffles.net) Received: from 195-241-125-45.dsl.ip.tiscali.nl ([195.241.125.45] helo=[10.0.0.18]) by auriate.fluffles.net with esmtpa (Exim 4.66 (FreeBSD)) (envelope-from ) id 1IEkib-0003iE-DA; Sat, 28 Jul 2007 13:44:21 +0200 Message-ID: <46AB2C1D.9090207@fluffles.net> Date: Sat, 28 Jul 2007 13:44:29 +0200 From: Fluffles User-Agent: Thunderbird 2.0.0.5 (X11/20070716) MIME-Version: 1.0 To: Fernan Aguero References: <520894aa0707272126g42b88d41q95477f2d1dd3689b@mail.gmail.com> In-Reply-To: <520894aa0707272126g42b88d41q95477f2d1dd3689b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: boot from second disk (gmirror device) ... problems X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2007 11:44:37 -0000 Fernan Aguero wrote: > After setting up /etc/fstab and /boot/loader.conf in my > /dev/mirror/gm0a partition > rebooting brings me to the boot loader prompt because: > 1:ad(2,a)/boot/loader > is not a valid label or /boot/loader does not exist > On a boot partition you need to have a slice, so you probably should use: 1:ad(2,1,a)/boot/loader this will try to boot from ad2s1a, a likely name for a boot partition on the secondary master PATA disk. You may also press "?" at the prompt and get a list of devices. Also, for your /etc/fstab you may wish to use a label instead. Read up on man glabel on how to set these up. The idea is that, by giving a disk a unique label, you can setup your /etc/fstab without worrying on what controller/cable/connector te disk is on. So doesn't matter if its ad2 or ad8, it will show up as /dev/label/mydisk and you can setup your /etc/fstab accordingly. Good luck! - Veronica