Sharing Linux swap space on FreeBSD 4.9
Dan Nelson
dnelson at allantgroup.com
Wed May 12 21:50:31 PDT 2004
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 at allantgroup.com
More information about the freebsd-questions
mailing list