From owner-freebsd-questions@FreeBSD.ORG Sun Apr 26 20:11:43 2009 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 355861065670 for ; Sun, 26 Apr 2009 20:11:43 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id E38448FC1B for ; Sun, 26 Apr 2009 20:11:42 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1475900qwe.7 for ; Sun, 26 Apr 2009 13:11:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=VyStllVS8qNF4mr+3cYpnS7hNZAAqBCbXHUnaJVGPHI=; b=Qv3+aiOzy58KRvRAWFJqmHjV1I+Qi/gnLmxuI75v+ucGJMlwVMOhPZakGIp6JtyVNK ue3Z7p0sCveQ6IIDBCTs3f9yLpdhEDgVuEABm/HlYF8SMNZxDJzGSlnRCxJjLQYo1Ws9 WbFEiA39Xtfhb2yeC6DS+3XZxzVj2oM0mLV6Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=f/aWP8lu1BTs0a9TD+8NeUKQ2TGIZ3mRZivh6AwWe03Jp7ZIWCiNxu99K5+dCYhWRU 3I1FdlgaeGC/8gQ1LEoI6s++dS4yNYAbdq9y2XtOlmnR3DrWbis/iom1SF46qc+micgB /wRmZsBR+QiVdnFao/bNIXdx4IXfXdUZ8j02c= MIME-Version: 1.0 Received: by 10.229.79.17 with SMTP id n17mr2018849qck.82.1240776702206; Sun, 26 Apr 2009 13:11:42 -0700 (PDT) In-Reply-To: <49F4ABB3.6000808@prgmr.com> References: <49F4ABB3.6000808@prgmr.com> Date: Sun, 26 Apr 2009 16:11:42 -0400 Message-ID: From: "illoai@gmail.com" To: Michael David Crawford Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Partitioning for multiple systems 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: Sun, 26 Apr 2009 20:11:44 -0000 2009/4/26 Michael David Crawford : > I have a machine I plan to use solely for testing. =A0I have FreeBSD > 8.0-CURRENT on it right now, and would like to add FreeBSD 7.2-RC2 as wel= l > as CentOS 5.3 Linux. > > Presently I have three Master Boot Record primary partitions - "slices" i= n > the FreeBSD parlance, if I understand correctly: > > - A Linux slice to be used for CentOS' /boot > - A BSD slice subdivided into partitions that hold 8.0-CURRENT > - A big FAT slice (so to speak) meant to be split up for 7.2 and CentOS > > A PC-style Master Boot Record can hold a maximum of four primary partitio= ns, > or it can hold three primaries and a single extended partition that is > subdivided into logical partitions. > > The geometries of the logical partitions aren't given in the MBR, but exi= st > as a linked list. > > I *should* be able to split that FAT slice up into a primary for 7.2 and = an > extended partition that will hold CentOS' other partitions; however: > > In Googling about this, I have read some dire warnings about FreeBSD bein= g > unable to understand logical partitions; apparently installing FreeBSD > *before* an extended partition will result in all your logicals getting > trashed. =A0One is advised to put all the FreeBSD MBR partitions *after* = the > extended partition. > > Is that the case? =A0Have you any advice for me? I haven't found that to be the case at all. I don't have as many variable as you, but on my dual boot I have ad4s1[a-g] FreeBSD ad4s2 Linux /boot ad4s3 extended ad4s5 Linux swap ad4s6 Linux / and I have tested using nothing but logical slices for Linux (including /boot) and it works fine. I would advise (roughly, you can do it as you please) adNs1 FreeBSD 7.x / /var /usr /tmp* adNs2 FreeBSD 8 / /var /usr /ports* adNs3 Fat32 /home adNs4 extended adNs5 . . . Linux /boot / & swap I would install Linux first and just use grub as the boot loader for everyone. (*whichever, but they can be mounted on both FreeBSDs, don't forget to symlink /usr/ports) > > One more thing: if it's possible, I'd like for the /home directory to be > shared between both of my FreeBSD installations. =A0In a normal installat= ion, > there is a real /usr/home directory, with /home being a symbolic link. I would mount a Fat32 partition for /home and use it for all 3 OSes. And symlink /usr/home to /home. > > If I'm running FreeBSD out of one MBR partition (or slice), can I mount a > directory that's in a different one? Yes. --=20 --