From owner-freebsd-questions@FreeBSD.ORG Tue Jan 21 09:46:13 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DBD4D733 for ; Tue, 21 Jan 2014 09:46:13 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9DC83191C for ; Tue, 21 Jan 2014 09:46:13 +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 mx02.qsc.de (Postfix) with ESMTPS id 5686F2760C; Tue, 21 Jan 2014 10:46:05 +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 s0L9jemN003496; Tue, 21 Jan 2014 10:45:40 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 21 Jan 2014 10:45:40 +0100 From: Polytropon To: jb Subject: Re: FreeBSD and Linux shared installation Message-Id: <20140121104540.706f9180.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@freebsd.org 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 09:46:13 -0000 On Tue, 21 Jan 2014 09:25:15 +0000 (UTC), jb wrote: > Polytropon edvax.de> writes: > > > ... > > Swap: Can the two Linusi share the same swap partition? And > > furthoermore, could FreeBSD also use that one? Note that the > > different systems are not running at the same time, so it would > > be nonsense to waste disk space for three "dedicated" swap > > partitions when one is sufficient. > > ... > > Swap partition in Linux has a signature, which is destroyed by FB, and so it > has to be restored by Linux again. > http://www.tldp.org/HOWTO/Linux+FreeBSD-3.html That sounds reasonable. I'll have to find the correct places in the selected Linusi to try to "initialize" the swap space (mkswap) prior to activating it (swapon), and of course check what content from the article still applies to modern Linux. That will be the hard part. :-) > Linux does suspend-to-disk to swap partition, which makes sharing it > problematic. When the status is written to swap, it will be read by the same Linux when waking up. Only one OS will run at a given time, so it basically _should_ work, but probably I won't try it. Troubleshooting on Linux has become almost as terrible and impossible as on "Windows"... I'm not planning to use any of those suspend features. Either a computer is on, or it is off. A computer is binary, it only knows 0 and 1. Therefore, it is a total idiot. Of course it's the fasted idiot in the world. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...