From owner-freebsd-questions@FreeBSD.ORG Tue Jan 21 06:42:16 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94F48E8F for ; Tue, 21 Jan 2014 06:42:16 +0000 (UTC) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [IPv6:2a00:1450:400c:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2D9D81777 for ; Tue, 21 Jan 2014 06:42:16 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id y10so7682421wgg.20 for ; Mon, 20 Jan 2014 22:42:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=u18OhwC16l9yTPfj7c0lur4nSN9wsPWPV8apcl0P99g=; b=C6r6K0apuvcZ+pq2JOf+zUXi8WJYWICiaDyiWlxFjTZISLQgexjTJTkFgMsJdD1f10 i8NZAHRC+Ap9ShQMvCnqGBQXTbQ7d3q1NdzBrneohXjdT2a8QvwpecxxPAkSzXaU2KD2 NjtNX0JKJXb4IX2+LYJAOTaCy0ERA58Ipirv/bWK995MEbrAA6vaeEfY37usyhN8k76N IOWTyfpCiF7kNPRJNuoBciheG2KWRPoxxePJ33bQAQzPOPGQS1jQzG7YMuuhGgrFlbrp R+G+vn0yS0M9OkNwP+f3XObSSqMj98Vv3aRllqDeoO2uUt4ACJlBfQGRpz+AqC06UOFv wfbg== MIME-Version: 1.0 X-Received: by 10.194.6.8 with SMTP id w8mr144630wjw.16.1390286534487; Mon, 20 Jan 2014 22:42:14 -0800 (PST) Sender: olivier2553@gmail.com Received: by 10.216.82.70 with HTTP; Mon, 20 Jan 2014 22:42:14 -0800 (PST) In-Reply-To: <20140121064815.78f3a357.freebsd@edvax.de> References: <20140121060405.396586d4.freebsd@edvax.de> <20140121064815.78f3a357.freebsd@edvax.de> Date: Tue, 21 Jan 2014 13:42:14 +0700 X-Google-Sender-Auth: x9fEPYjn5J7Y23TRsj_LjZNpZCQ Message-ID: Subject: Re: FreeBSD and Linux shared installation From: Olivier Nicole To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: Olivier Nicole , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 06:42:16 -0000 Hi, >> > Swap: Can the two Linusi share the same swap partition? And >> >> I do something of the sort on machines in my teaching lab. >> >> I have installed one Ubuntu on one partition, and I have another empty >> partition where students can install their own Ubuntu (for class >> project) and they both use one same (extended) partition. >> >> I see no reason why FreeBSD could not use it too, swap partition is >> supposed to be empty when the system boots, so any data/formatting >> done by another OS will be over written. > > That was my initial assumption too. Thanks for confirming, > I will definitely try that. The only thing I've been wondering > about: The ID would have to be set to 82 "Linux swap" (and > the Linux partitions theirselves of course 83 "Linux native > partition"), will FreeBSD complain when I define that partition, > e. g. /dev/ada0s2, as swap, having the "wrong" type ID? On > the other hand, a typical FreeBSD swap at /dev/ada0s1b would > have no partition ID at all... so I assume that won't be > a problem. I have no machine with both FreeBSD and Linux, so I cannot try. >> One a side note, should you have 35GB of /home in FreeBSD partition of >> instead increase the size of your common space? > > I thought about that, but decided against it. The common data > partition will be more of an "exchange point" because I will > spend most of my time in FreeBSD, and I prefer data to be > under the control of UFS (because I just trust this more than > the various Linux file systems), that's why FreeBSD's /home > is where the majority of data will be. It would be worth trying whether Linux can see/mount your FreeBSD home partition (Linux supposedly knows the ufs file system), that way you may not even need the common data partition. Bests, Olivier > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"