From owner-freebsd-questions@FreeBSD.ORG Mon Apr 3 06:16:11 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 5E96616A59A for ; Mon, 3 Apr 2006 06:16:11 +0000 (UTC) (envelope-from valentin_nils@be-known-online.com) Received: from hw2.deuceswilddesigns.com (hw2.deuceswilddesigns.com [204.15.166.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0C9943D73 for ; Mon, 3 Apr 2006 06:16:01 +0000 (GMT) (envelope-from valentin_nils@be-known-online.com) Received: from cpanel by hw2.deuceswilddesigns.com with local (Exim 4.52) id 1FQIM6-0005f5-Nh; Mon, 03 Apr 2006 06:16:02 +0000 Received: from 127.0.0.1 ([127.0.0.1]) by www.be-known-online.com (Horde MIME library) with HTTP; Mon, 03 Apr 2006 06:16:02 +0000 Message-ID: <20060403061602.5zaxoo38srcccc0w@www.be-known-online.com> Date: Mon, 03 Apr 2006 06:16:02 +0000 From: valentin_nils@be-known-online.com To: Erik Trulsson References: <20060403023342.ioc7cb6koeww8o4s@www.be-known-online.com> <20060403051351.GA78922@owl.midgard.homeip.net> In-Reply-To: <20060403051351.GA78922@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hw2.deuceswilddesigns.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [32001 500] / [47 12] X-AntiAbuse: Sender Address Domain - be-known-online.com X-Source: /usr/local/cpanel/3rdparty/bin/php X-Source-Args: /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/base/horde/imp/compose.php X-Source-Dir: :/base/horde/imp 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 06:16:11 -0000 Hi Eric, Thanks for the reply. I have now a better understanding whats possible with FreeBSD. One question (last one) which I could not find an answer to in the online manual is : How would you do a Dual or multi OS boot machine f.e. with Windows on the first disk, first slice, first partition and FreeBSD on another partition ? Would I need a boot floppy or perhaps its not possible at all ? Best regards Nils Valentin http://www.be-known-online.com Quoting Erik Trulsson : > On Mon, Apr 03, 2006 at 02:33:42AM +0000, > valentin_nils@be-known-online.com wrote: >> Hello FreeBSD Fans, >> >> I wanted to create a new system and was thinking about the following layout. >> >> 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 of luck. >> I can install the OS, but when I reboot the bootloader will not boot. > > Don't do that. You can not have /boot as a separate partition. It just > contains the kernel and the loader. The other things that are needed for > booting (like /bin/sh or /sbin/mount) reside elsewhere. (Having /boot as a > separate partition is apparently some Linux-specific convention.) > > What is normally done under FreeBSD when you want a small boot partition is > to create /usr and /var as separate partitions which will let you create a > small (100M) '/' partition. (You will probably also want either a separate > /home partition for user home directories, or let them reside under > /usr/home. (I think the latter is the default, but I am not 100% sure.) > > >> >> >> No /boot/loader >> ... >> Default: 0:ad(0,a)/boot/kernel/kernel >> boot: >> No /boot/kernel/kernel >> ... >> >> 1) I wouldnt mind on which partition "/boot" or "/" sits or what its >> named, but >> I would like to separate "/boot" on a different partition and it >> seems like it >> wouldnt boot when I do this. Is this just a matter of updating the >> bootloader ? >> Wouldnt the installer do that automatically ? > > See above. You can't do that. > >> >> 2) The part which I dont get is why is "/" always ad2s1a - even when >> I create >> "/boot" first ? ("/boot" will become f.e. ad2s1d) and SWAP will >> become ad2s1b. > > You need to boot from "/" and it should be partition 'a' on the slice. It > is probably possible to change this, but it would be much more pain and > trouble than it is worth. > >> >> 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 >> >> >> Any replies much appreciated. > > A good place to start reading is the online handbook: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ > especially the chapter on installing FreeBSD: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html > The FAQ at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/ might also > prove helpful. > >> >> Best regards >> >> Nils Valentin >> http://www.be-known-online.com >> > > -- > > Erik Trulsson > ertr1013@student.uu.se >