From owner-freebsd-fs@freebsd.org Thu Nov 10 15:36:14 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07320C3A089 for ; Thu, 10 Nov 2016 15:36:14 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "0x20.net", Issuer "StartCom Class 1 DV Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C38F8DA5 for ; Thu, 10 Nov 2016 15:36:13 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 17F476E0081; Thu, 10 Nov 2016 16:36:11 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id uAAFaAxp029715; Thu, 10 Nov 2016 16:36:10 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id uAAFaALM028577; Thu, 10 Nov 2016 16:36:10 +0100 (CET) (envelope-from lars) Date: Thu, 10 Nov 2016 16:36:10 +0100 From: Lars Engels To: Lars Engels Cc: tech-lists , freebsd-fs@freebsd.org Subject: Re: mounting an ubuntu 14.04 bhyve image as a filesystem for editing Message-ID: <20161110153610.GI68652@e-new.0x20.net> References: <20161110152612.GH68652@e-new.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="J/BDJo4Yjy3b8E62" Content-Disposition: inline In-Reply-To: <20161110152612.GH68652@e-new.0x20.net> X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p35 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2016 15:36:14 -0000 --J/BDJo4Yjy3b8E62 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 10, 2016 at 04:26:12PM +0100, Lars Engels wrote: > On Thu, Nov 10, 2016 at 12:32:07PM +0000, tech-lists wrote: > > Hello list, > >=20 > > [originally sent to virtualization@ but got no replies, probably=20 > > because, thinking about it, the fact that it's a bhyve image is inciden= tal] > >=20 > > [snipped stuff about bhyve] > >=20 > > Is there a way of taking an ubuntu VM image that normally runs as a=20 > > bhyve guest, mounting it on some mountpoint on the freebsd host and=20 > > directly editing the files within it? > >=20 > > Alternatively, is there a way of making grub boot the image into=20 > > single-user-mode like one can with freebsd? > >=20 >=20 > That should work (provided sysutils/fusefs-ext4fuse is installed): >=20 # mdconfig -a -t vnode -f $ubuntu_img ^^^^^ # ext4fuse /dev/md0 /mnt --J/BDJo4Yjy3b8E62 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJYJJPqXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tASAH/1qtgag965mRupfW8Io3Hb2k muAp4OAxnhiiWB2r8tr6W45e3Ft3e+cYkFbu7ygkfipTWeVr7tS+zBq3WBuz6rfU V5VZTYiA02YF91LPoBLspSOj1+rzr5ljsadscZsImsvY309BBPQFm59xW+65h4dK GFvNANrUx/97ihTirTbVpfxKrATwwfPnmn7P0lkyuICUXGiB2RbYKyymPIRWvuAJ JNq/75YK2sSa9/gQM46LF54rsx9mbPGQPAWoWaaHqLw9iwMELzcYUyoeKrQsgfWw Hrbt/9Y84v5fcraGkeXilxAyXf/e2HAqZ10Nb88rzVPUAPRuX8IpJB6c8PIGSAk= =4BlP -----END PGP SIGNATURE----- --J/BDJo4Yjy3b8E62--