*BSD News Article 62661


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!uunet!in1.uu.net!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!uni-regensburg.de!newsserv.uni-bayreuth.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Swap partition ?
Date: 2 Mar 1996 20:39:28 GMT
Organization: Private BSD site, Dresden
Lines: 24
Message-ID: <4habm0$af@uriah.heep.sax.de>
References: <slrn4jaub0.38.root@darkstar.ios.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.3

root@darkstar.ios.com (root) writes:
> Is there any way, to install freebsd, without creating a
> swap partition first?

You need enough of RAM so the installation procedure would never run
out of virtual memory.  I think 16 MB might be enough.

> Also if this is possible, how do you create and activate,
> a swap file under freebsd.

It's tricky.  The system is only willing to swap to a properly labeled
swap partition.  You can wire a file as a ``virtual disk'' using
vnconfig(8) (this requires a customized kernel with the `vn' device),
but you still have to disklabel this virtual disk before swapping can
be turned on.

It's possible to stick all these activities into /etc/rc.

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