Subject: Re: Share swap partition between NetBSD & Linux?
To: Bernd Sieker <bsieker@freenet.de>
From: David Brownlee <abs@netbsd.org>
List: netbsd-users
Date: 01/04/2001 10:02:07
	Be warned that linux writes some magic into its swap partitions,
	and will bleat if it does not find that, so you will probably need
	to run mkswap on each linux boot.

	If you have the time, look at the source for linux mkswap, work
	out what areas it writes (probably start and end), and set the
	NetBSD swap partition to avoid them...
	If that works, don't forget to tell the list :)

		David/absolute		-- www.netbsd.org: No hype required --


On Thu, 4 Jan 2001, Bernd Sieker wrote:

> On 04.01.01, 02:57:06, Thomas Mueller wrote:
> > Is there any way to make NetBSD use a Linux swap partition, or make Linux use a
> > NetBSD swap partition?  I am mainly interested in i386, though this question
> > might be relevant to other platforms too.  Linux swap partition is type 82
> > (hexadecimal).
>
> Can't see why not. Make a normal linux swap partition and enter its
> size and beginning manually into NetBSD's disklabel for the 'b'
> partition.
>
> NetBSD doesn't really care if the partitions in the disklabel are
> inside NetBSD's 'DOS' partition. The only time it needs the DOS
> partition table is during boot, to find its own disklabel.
>
> If the Linux swap partition is a primary partition, you can read its
> values from within NetBSD with the fdisk command.
>
> >
>
>