Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in1.uu.net!128.230.129.106!news.maxwell.syr.edu!news.he.net!news.onramp.net!news-in.iadfw.net!news.gymnet.com!LSNT1!lsbsdi6.lightspeed.net!news-ana-7.sprintlink.net!news-ana-24.sprintlink.net!news-west.sprintlink.net!news-peer.sprintlink.net!news.sprintlink.net!Sprint!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: 26 Message-ID: <419CC431F8327237.6126319213FD3565.93BAA623FF754192@library-proxy.airnews.net> X-Orig-Message-ID: <5mvcq3$c7o@uriah.heep.sax.de> References: <3392ED3D.E47@appliedreasoning.com> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Proxy-Relay: library.airnews.net NNTP-Posting-Host: biceps.gymnet.com 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:42141 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. ;-)