Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2014 11:44:24 -0500
From:      Eric McCorkle <eric@metricspace.net>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Dual-boot with common ZFS
Message-ID:  <4A40BFDA-ABE9-4AB5-947F-C11343B9630B@metricspace.net>

next in thread | raw e-mail | index | archive | help

It looks like I'm going to have to install Linux on my laptop for a while because of lack of driver support (haswell graphics).  However, I thought of an 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 possible 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 separate file systems for each OS.  The real trick, I think, would be in finding the right boot/loader.conf arguments to point the kernels at the correct root, and the the right flags for ZFS mount to mount the other file systems correctly.

I can think of several things you could do with this scheme, among them being Linux-to-FreeBSD driver porting.  There's probably things you could do with virtualization layers as well.

Has anyone attempted such a setup, and if so, what were your experiences?


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A40BFDA-ABE9-4AB5-947F-C11343B9630B>