Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 06:48:14 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Olivier Nicole <olivier.nicole@cs.ait.ac.th>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD and Linux shared installation
Message-ID:  <20140121064815.78f3a357.freebsd@edvax.de>
In-Reply-To: <CA%2Bg%2BBviS0B1%2B%2BaYXbxH51w2d9CPWnwuP54BNkrt_4X4YK-pWsg@mail.gmail.com>
References:  <20140121060405.396586d4.freebsd@edvax.de> <CA%2Bg%2BBviS0B1%2B%2BaYXbxH51w2d9CPWnwuP54BNkrt_4X4YK-pWsg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



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