Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2004 23:50:30 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Richard Liang <squixy@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sharing Linux swap space on FreeBSD 4.9
Message-ID:  <20040513045029.GD81440@dan.emsphone.com>
In-Reply-To: <BAY16-F97z3VJZi0ja60001b756@hotmail.com>
References:  <BAY16-F97z3VJZi0ja60001b756@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 13), Richard Liang said:
> 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
> 
> 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.

You sure swap is on primary fdisk partition 4, and not extended
partition 1 (aka s5) ?  I think Linux will create an extended partition
rather than use up all four primaries.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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