From owner-freebsd-hackers@FreeBSD.ORG Sat Dec 27 16:44:25 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1EE95E41 for ; Sat, 27 Dec 2014 16:44:25 +0000 (UTC) Received: from mail.metricspace.net (207-172-209-89.c3-0.arl-ubr1.sbo-arl.ma.static.cable.rcn.com [207.172.209.89]) by mx1.freebsd.org (Postfix) with ESMTP id E8CD866AFE for ; Sat, 27 Dec 2014 16:44:24 +0000 (UTC) Received: from [172.16.0.68] (unknown [172.16.0.68]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: eric) by mail.metricspace.net (Postfix) with ESMTPSA id 492851FCB for ; Sat, 27 Dec 2014 16:44:23 +0000 (UTC) Subject: Dual-boot with common ZFS From: Eric McCorkle Content-Type: text/plain; charset=us-ascii X-Mailer: iPad Mail (11B511) Message-Id: <4A40BFDA-ABE9-4AB5-947F-C11343B9630B@metricspace.net> Date: Sat, 27 Dec 2014 11:44:24 -0500 To: "freebsd-hackers@freebsd.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 16:44:25 -0000 It looks like I'm going to have to install Linux on my laptop for a while be= cause of lack of driver support (haswell graphics). However, I thought of a= n idea and wanted to see if anyone has done something similar. I have a pure-ZFS setup, with a GPT. I was wondering if it might be possibl= e to use the same ZFS volume to hold both a Linux and a FreeBSD installation= . At least on the surface, it seems like you ought to be able to create sep= arate file systems for each OS. The real trick, I think, would be in findin= g the right boot/loader.conf arguments to point the kernels at the correct r= oot, and the the right flags for ZFS mount to mount the other file systems c= orrectly. I can think of several things you could do with this scheme, among them bein= g Linux-to-FreeBSD driver porting. There's probably things you could do wit= h virtualization layers as well. Has anyone attempted such a setup, and if so, what were your experiences?=