Date: Thu, 10 Nov 2016 16:36:10 +0100 From: Lars Engels <lars.engels@0x20.net> To: Lars Engels <lars.engels@0x20.net> Cc: tech-lists <tech-lists@zyxst.net>, 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> In-Reply-To: <20161110152612.GH68652@e-new.0x20.net> References: <ad82ab98-b762-ab36-5da3-51cf366c69d1@zyxst.net> <20161110152612.GH68652@e-new.0x20.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161110153610.GI68652>