Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 10:45:40 +0100
From:      Polytropon <>
To:        jb <>
Subject:   Re: FreeBSD and Linux shared installation
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

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>> 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.

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. :-)

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

Want to link to this message? Use this URL: <>