Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2004 04:19:56 +0000
From:      "Richard Liang" <squixy@hotmail.com>
To:        freebsd-questions@FreeBSD.org
Subject:   Sharing Linux swap space on FreeBSD 4.9
Message-ID:  <BAY16-F97z3VJZi0ja60001b756@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hello everyone,

I am trying to enable the linux swap space I have under Red Hat on FreeBSD 
4.9.  My disk configuration looks like:

ad0:
s1 - NTFS
s2 - Windows extended
s3 - ext3
s4 - linux swap

ad1:
s1 - This is my BSD slice
s2 - NTFS
s3 - ext3
s4 - <none>

So I read the HOWTO on the internet about sharing the swap space; and with 
it's help I can now swap on the BSD swap space from Linux.  However, the 
HOWTO only says that "FreeBSD can swap on any partition" without saying how 
to do it.

So I've tried "swapon /dev/ad0s4" from FreeBSD and it always says:
swapon: /dev/ad0s4: Device not configured
I poked around my kernel config file, and changed the NSWAPDEVS variable to 
2; still no luck.

I looked in the questions archive from January on, but found no help (albeit 
not that throughly).  Note that I've been using FreeBSD for 4 months without 
this swap space, without problems.  Has anyone else encountered this 
problem?

Thanks in advance,

Richard

_________________________________________________________________
Add photos to your e-mail with MSN Premium. Get 2 months FREE*  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY16-F97z3VJZi0ja60001b756>