FreeBSD and Linux shared installation
olivier.nicole at cs.ait.ac.th
Tue Jan 21 06:42:16 UTC 2014
>> > 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.
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions