From owner-freebsd-questions@FreeBSD.ORG Thu Dec 27 13:38:37 2007 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 E2EB116A41B for ; Thu, 27 Dec 2007 13:38:37 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id B92FE13C448 for ; Thu, 27 Dec 2007 13:38:37 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JTP005SON8C1WV0@mta5.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Thu, 27 Dec 2007 08:38:36 -0500 (EST) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id lBRDcXQG000923; Thu, 27 Dec 2007 08:38:35 -0500 Date: Thu, 27 Dec 2007 08:38:33 -0500 From: "Aryeh M. Friedman" In-reply-to: <00fe01c84884$93ba1d30$1f2c88c1@corp.fccn.pt> To: =?ISO-8859-1?Q?Nuno_Gon=E7alves?= Message-id: <4773AAD9.806@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8BIT X-Enigmail-Version: 0.95.5 References: <00fe01c84884$93ba1d30$1f2c88c1@corp.fccn.pt> User-Agent: Thunderbird 2.0.0.9 (X11/20071217) Cc: freebsd-questions@freebsd.org Subject: Re: Changing boot partition 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, 27 Dec 2007 13:38:38 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nuno Gonçalves wrote: > Hi all, > > > > I Have a FreeBSD booting ok. It?s FSTAB is like this: > > #Device MountPoint FStype Options > > /dev/ad1s1b none swap sw > > /dev/ad1s1a / ufs rw > > /dev/acd0 /cdrom cd9660 ro,noauto > > /dev/ad1s2d /backup ufs rw > > > > When I boot the machine the boot manager shows me F1 and F2 to boot for. > > F1 brings me /dev/ad1s1a OK > > Still I want the machine to boot to /dev/ad1s2d > > This partition has a backup from another FreeBSD which I want to boot. > > > > To accomplish this, I need only to change FSTAB ? > > What changes should I do ? changing /dev/ad1s2d to /dev/ad1s2a ? I read that > a means boot root partition > > > > I tried to change FSTAB to > > #Device MountPoint FStype Options > > /dev/ad1s1b none swap sw > > #/dev/ad1s1a / ufs rw > > /dev/acd0 /cdrom cd9660 ro,noauto > > /dev/ad1s2a /backup ufs rw > > > > And it hanged when I pressed F1 (could not mount the root partition :P ) > > > > Could you guys give any hint ? > > Sorry about this questions but I am a newbie to FreeBSD I forget the exact semantics but do a search for "installing freebsd in a usb stick" on google the reason for referring to this site is it shows how to duplicate what sysinstall does from the command line - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHc6rZzIOMjAek4JIRAoevAJ0WZzlRNgLiZeMzgS7RV2SS96kEBgCfe9PI tsmEoCTLlXPqg/FWYSEcukc= =oamg -----END PGP SIGNATURE-----