From owner-freebsd-questions@FreeBSD.ORG Mon Apr 3 02:58:25 2006 Return-Path: X-Original-To: freebsd-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 5845416A400 for ; Mon, 3 Apr 2006 02:58:25 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45B0743D60 for ; Mon, 3 Apr 2006 02:58:18 +0000 (GMT) (envelope-from illoai@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so699139wxc for ; Sun, 02 Apr 2006 19:58:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iNqNIEgvtxY/kAHKy6zwgLr4OMijN0yc+U2VzL3FJJJvE8DxeoeiX1dX0uE4MNV4HNu7NJUW4gK2XjZmsRgB5Q2QrC3VfwWYsG1YS5XnwUZSwhtUSFc2o6psG39R/octLgMSonxyjrWK2+AzzfgHijRZ7er0LTVrBG0R+T1/9fE= Received: by 10.70.84.17 with SMTP id h17mr1397023wxb; Sun, 02 Apr 2006 19:58:16 -0700 (PDT) Received: by 10.70.57.15 with HTTP; Sun, 2 Apr 2006 19:58:16 -0700 (PDT) Message-ID: Date: Sun, 2 Apr 2006 21:58:16 -0500 From: "illoai@gmail.com" To: "valentin_nils@be-known-online.com" In-Reply-To: <20060403023342.ioc7cb6koeww8o4s@www.be-known-online.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060403023342.ioc7cb6koeww8o4s@www.be-known-online.com> Cc: freebsd-questions@freebsd.org Subject: Re: Filesystem layout with sperated /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: Mon, 03 Apr 2006 02:58:25 -0000 On 4/2/06, valentin_nils@be-known-online.com wrote: > Hello FreeBSD Fans, > > I wanted to create a new system and was thinking about the following layo= ut. > > Size | Mountpoint | Device name | File system > 100M /boot /dev/ad2s1a UFS2+S > 1024MB --- /dev/ad2s1b SWAP > 15GB / /dev/ad2s1c UFS2 > > I want to put /boot on its own partition, but somehow I dont have a lot o= f luck. > I can install the OS, but when I reboot the bootloader will not boot. > > > No /boot/loader > ... > Default: 0:ad(0,a)/boot/kernel/kernel > boot: > No /boot/kernel/kernel Because it instinctively (without the MBR boot manager) looks for /boot/kernel/kernel in the first partition of the first active slice on the first drive. > ... > > 1) I wouldnt mind on which partition "/boot" or "/" sits or what its name= d, but > I would like to separate "/boot" on a different partition Why you would want to do this is a bit unclear. > > 2) The part which I dont get is why is "/" always ad2s1a - even when I cr= eate > "/boot" first ? ("/boot" will become f.e. ad2s1d) and SWAP will become ad= 2s1b. > > So what I end up with is something like > > Size | Mountpoint | Device name | File system > 15GB / /dev/ad2s1a UFS2 > 1024MB --- /dev/ad2s1b SWAP > 100M /boot /dev/ad2s1d UFS2+S That's a sysinstall thing. If you were to muck about and install your base system without sysinstall you could place it wherever. And it probably still won't boot. Part of the reason linux wants to make /boot its own partition is their ugly habit of not seperating anything else from root. -- --