From owner-freebsd-questions@FreeBSD.ORG Thu Oct 28 13:05:52 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9FDA16A4CE for ; Thu, 28 Oct 2004 13:05:52 +0000 (GMT) Received: from catflap.slightlystrange.org (cpc2-cmbg1-3-0-cust94.cmbg.cable.ntl.com [213.107.104.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3654343D54 for ; Thu, 28 Oct 2004 13:05:52 +0000 (GMT) (envelope-from www@slightlystrange.org) Received: from www by catflap.slightlystrange.org with local (Exim 4.43 (FreeBSD)) id 1CN9yQ-00074v-VF for freebsd-questions@freebsd.org; Thu, 28 Oct 2004 14:05:51 +0100 Received: from 154.8.22.73 (SquirrelMail authenticated user dan); by catflap.slightlystrange.org with HTTP; Thu, 28 Oct 2004 14:05:50 +0100 (BST) Message-ID: <64160.154.8.22.73.1098968750.squirrel@154.8.22.73> In-Reply-To: <4180E4C8.9070600@cogeco.ca> References: <2d7d2dd204102805164f345560@mail.gmail.com> <4180E4C8.9070600@cogeco.ca> Date: Thu, 28 Oct 2004 14:05:50 +0100 (BST) From: "Daniel Bye" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Sender: World Wide Web Owner Subject: Re: duel booting with 2x *nix X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@slightlystrange.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 13:05:52 -0000 On Thu, 28 October, 2004 1:23 pm, Brian Bobowski said: > Simon Burke wrote: > >> I know duel booting is really easy to setup these days, but just a >> thought, I've never duel booted with two *nix OS's so i do not know >> this. >> >> Is it possible to use a single swap partition for multiple distro's on >> one machine? >> >> If so would it impair stability or stuff? And would it be possible to >> do so with BSD and linux? >> >> Im just curious. All my Ix86 dekstops have atleast 160gb HDD space >> (over 1.5Tb in total at present), so i may give it a try later on >> tonight. >> >> >> > I don't THINK it'd work between FreeBSD and Linux, but I could be > mistaken. As I recall, it /is/ possible, but you have to be careful while setting up the OSen that will share the swap, for the reasons Brian gives below. > I'm basing this thought on the fact that every distro of Linux I've > installed puts its different mount points on a different partition; > FreeBSD has several partitions(not the same kind) on the same > slice(FreeBSD's equivalent to a partition). As long as you put the swap device on a (BSD) slice of its own, you can instruct Linux to look at that (DOS) partition and use it as swap. Just don't try and make BSD use a Linux swap device that lives in a DOS-extended partition. That way madness lies. To say nothing of data loss... It is a while since I tried this, and my recollection may be anything from hazy to utterly wrong. The usual disclaimers apply, blah blah blah! Basically, don't try this on a machine where you have data you care about until you've tried it on a virgin disk, or at least a disk containing data you don't mind losing. Backup backup backup. Go on, make it your mantra! ;-) HTH Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \