From owner-freebsd-questions@FreeBSD.ORG Tue Jan 21 05:48:42 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A395A4CC for ; Tue, 21 Jan 2014 05:48:42 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6481B1379 for ; Tue, 21 Jan 2014 05:48:42 +0000 (UTC) Received: from r56.edvax.de (port-92-195-149-155.dynamic.qsc.de [92.195.149.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 5C54E3CB0C; Tue, 21 Jan 2014 06:48:40 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s0L5mFgI002731; Tue, 21 Jan 2014 06:48:15 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 21 Jan 2014 06:48:14 +0100 From: Polytropon To: Olivier Nicole Subject: Re: FreeBSD and Linux shared installation Message-Id: <20140121064815.78f3a357.freebsd@edvax.de> In-Reply-To: References: <20140121060405.396586d4.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 05:48:42 -0000 On Tue, 21 Jan 2014 12:14:31 +0700, Olivier Nicole wrote: > Hi, > > > Swap: Can the two Linusi share the same swap partition? And > > I do something of the sort on machines in my teaching lab. > > I have installed one Ubuntu on one partition, and I have another empty > partition where students can install their own Ubuntu (for class > project) and they both use one same (extended) partition. > > I see no reason why FreeBSD could not use it too, swap partition is > supposed to be empty when the system boots, so any data/formatting > done by another OS will be over written. That was my initial assumption too. Thanks for confirming, I will definitely try that. The only thing I've been wondering about: The ID would have to be set to 82 "Linux swap" (and the Linux partitions theirselves of course 83 "Linux native partition"), will FreeBSD complain when I define that partition, e. g. /dev/ada0s2, as swap, having the "wrong" type ID? On the other hand, a typical FreeBSD swap at /dev/ada0s1b would have no partition ID at all... so I assume that won't be a problem. > One a side note, should you have 35GB of /home in FreeBSD partition of > instead increase the size of your common space? I thought about that, but decided against it. The common data partition will be more of an "exchange point" because I will spend most of my time in FreeBSD, and I prefer data to be under the control of UFS (because I just trust this more than the various Linux file systems), that's why FreeBSD's /home is where the majority of data will be. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...