Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 13:42:14 +0700
From:      Olivier Nicole <olivier.nicole@cs.ait.ac.th>
To:        Polytropon <freebsd@edvax.de>
Cc:        Olivier Nicole <on@cs.ait.ac.th>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD and Linux shared installation
Message-ID:  <CA+g+BvgmPh+veiSS+1P2Vkd22_4hOa-jhfq1YjE6jDNufm-sdQ@mail.gmail.com>
In-Reply-To: <20140121064815.78f3a357.freebsd@edvax.de>
References:  <20140121060405.396586d4.freebsd@edvax.de> <CA+g+BviS0B1++aYXbxH51w2d9CPWnwuP54BNkrt_4X4YK-pWsg@mail.gmail.com> <20140121064815.78f3a357.freebsd@edvax.de>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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.

I have no machine with both FreeBSD and Linux, so I cannot try.

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

It would be worth trying whether Linux can see/mount your FreeBSD home
partition (Linux supposedly knows the ufs file system), that way you
may not even need the common data partition.

Bests,

Olivier

>
>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CA+g+BvgmPh+veiSS+1P2Vkd22_4hOa-jhfq1YjE6jDNufm-sdQ>