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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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,
> >
> > [originally sent to virtualization@ but got no replies, probably
> > because, thinking about it, the fact that it's a bhyve image is incidental]
> >
> > [snipped stuff about bhyve]
> >
> > Is there a way of taking an ubuntu VM image that normally runs as a
> > bhyve guest, mounting it on some mountpoint on the freebsd host and
> > directly editing the files within it?
> >
> > Alternatively, is there a way of making grub boot the image into
> > single-user-mode like one can with freebsd?
> >
>
> That should work (provided sysutils/fusefs-ext4fuse is installed):
>
# mdconfig -a -t vnode -f $ubuntu_img
^^^^^
# ext4fuse /dev/md0 /mnt
[-- Attachment #2 --]
-----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-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161110153610.GI68652>
