From owner-freebsd-questions@FreeBSD.ORG Thu Jan 12 21:58:08 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFF8C16A41F for ; Thu, 12 Jan 2006 21:58:08 +0000 (GMT) (envelope-from wojtek@tensor.3miasto.net) Received: from chylonia.3miasto.net (chylonia.3miasto.net [213.192.74.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13B0F43D49 for ; Thu, 12 Jan 2006 21:58:07 +0000 (GMT) (envelope-from wojtek@tensor.3miasto.net) Received: from chylonia.3miasto.net (localhost [127.0.0.1]) by chylonia.3miasto.net (8.13.4/8.13.4) with ESMTP id k0CLvxNu001663; Thu, 12 Jan 2006 22:57:59 +0100 (CET) (envelope-from wojtek@tensor.3miasto.net) Received: from localhost (wojtek@localhost) by chylonia.3miasto.net (8.13.4/8.13.4/Submit) with ESMTP id k0CLvxHG001660; Thu, 12 Jan 2006 22:57:59 +0100 (CET) (envelope-from wojtek@tensor.3miasto.net) X-Authentication-Warning: chylonia.3miasto.net: wojtek owned process doing -bs Date: Thu, 12 Jan 2006 22:57:59 +0100 (CET) From: Wojciech Puchar X-X-Sender: wojtek@chylonia.3miasto.net To: Philip Hallstrom In-Reply-To: <20060112134825.Q53590@wolf.pjkh.com> Message-ID: <20060112225638.J1494@chylonia.3miasto.net> References: <20060112134825.Q53590@wolf.pjkh.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: questions@freebsd.org Subject: Re: How to boot from a slice other than "a"? 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: Thu, 12 Jan 2006 21:58:08 -0000 > Filesystem Size Used Avail Capacity Mounted on > /dev/da0s1a 248M 180M 48M 79% / > /dev/da0s1h 14G 496M 13G 4% /mnt > > /dev/da0s1h has an exact copy of /dev/da0s1a using dump/restore. > > I want to configure things so that the next time I reboot it will > automatically boot from /dev/da0s1h without me having to do anything (since > it's remote I can't interrupt the boot process). > > I know I need to modify fstab on da0s1h. And if I was on the console I'd > interrupt the boot process and type in 0:da(0,h)/boot/loader, but I'm not. are you actually interested of running /boot/loader from partition h or mounting root at /dev/da0s1h if second - add: vfs.root.mountfrom="ufs:da0s1h" if first - i don't know :)