FreeBSD and Linux shared installation
freebsd at edvax.de
Tue Jan 21 09:46:13 UTC 2014
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.
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
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. :-)
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions