*BSD News Article 96770


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!feeder.chicago.cic.net!chi-news.cic.net!su-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.nacamar.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Sharing swap between FreeBSD and Linux, not enough partitions
Date: 2 Jun 1997 21:09:23 GMT
Organization: Private BSD site, Dresden
Lines: 25
Message-ID: <5mvcq3$c7o@uriah.heep.sax.de>
References: <3392ED3D.E47@appliedreasoning.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42103

Joseph Mack <mack@appliedreasoning.com> wrote:

> I have a spare partition on my Linux disk on which I would
> like to put FreeBSD. Linux has 3 partitions (/, /usr and swap)
> and only allows 4 partitions. FreeBSD needs 2 partitions 
> (/ and swap).

FreeBSD only needs one `slice' (fdisk partition), and creates
partitions of its own inside this one, including (but not limited to)
its swap space.

I think you can also share the swap space, but it might be required to
disklabel this slice first for FreeBSD from inside /etc/rc, so it's
got the proper ``magic number'' to be recognized.  Similar for Linux,
it's possible that you first have to ``mkswapfile'' it there.  At
least, this has been the way i once had to go, but it's been a couple
of years ago (thus not necessarily applicable to either system these
days).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)