Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 10:45:40 +0100
From:      Polytropon <freebsd@edvax.de>
To:        jb <jb.1234abcd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD and Linux shared installation
Message-ID:  <20140121104540.706f9180.freebsd@edvax.de>
In-Reply-To: <loom.20140121T101701-402@post.gmane.org>
References:  <20140121060405.396586d4.freebsd@edvax.de> <loom.20140121T101701-402@post.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 21 Jan 2014 09:25:15 +0000 (UTC), jb wrote:
> Polytropon <freebsd <at> 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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140121104540.706f9180.freebsd>