From owner-freebsd-questions Mon Apr 29 18:33:21 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA29681 for questions-outgoing; Mon, 29 Apr 1996 18:33:21 -0700 (PDT) Received: from main.statsci.com (main.statsci.com [198.145.127.110]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id SAA29675 for ; Mon, 29 Apr 1996 18:33:18 -0700 (PDT) Received: from statsci.com by main.statsci.com with smtp (Smail3.1.29.1 #3) id m0uE4JN-000r3tC; Mon, 29 Apr 96 18:33 PDT Message-Id: To: Terry Lambert cc: Harlan.Stenn@pfcs.com (Harlan Stenn), freebsd-questions@freebsd.org Subject: Re: Using a Linix swap area for FreeBSD? References: <199604292150.OAA05212@phaeton.artisoft.com> In-reply-to: Your message of "Mon, 29 Apr 1996 14:50:03 -0700." <199604292150.OAA05212@phaeton.artisoft.com> Reply-to: scott@statsci.com Date: Mon, 29 Apr 1996 18:33:02 -0700 From: Scott Blachowicz Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Terry Lambert wrote: > Linux expects swap to be in a particular format. Like using > the Windows 3.1 swap file, you will have to make Linux reset > the swap area after reboot to make it usable again for Linux. I think I've done this before...I ended up with something along the lines of 1) Modify the Linux boot sequence to initialize the swap partition ('mkswap' command, if I remember correctly, or maybe it was a 'dd' of the first N bytes of the partition or some such). Then use 'swapon' to add it. 2) Modify the FreeBSD boot sequence to initialize the swap partition (put a disklabel down on it). Then use 'swapon' to add it. Scott Blachowicz Ph: 206/283-8802x240 Mathsoft (Data Analysis Products Div) 1700 Westlake Ave N #500 scott@statsci.com Seattle, WA USA 98109 Scott.Blachowicz@seaslug.org