Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2016 16:26:12 +0100
From:      Lars Engels <lars.engels@0x20.net>
To:        tech-lists <tech-lists@zyxst.net>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: mounting an ubuntu 14.04 bhyve image as a filesystem for editing
Message-ID:  <20161110152612.GH68652@e-new.0x20.net>
In-Reply-To: <ad82ab98-b762-ab36-5da3-51cf366c69d1@zyxst.net>
References:  <ad82ab98-b762-ab36-5da3-51cf366c69d1@zyxst.net>

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

--YmemKvFH1mmyXPxa
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 incidenta=
l]
>=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

That should work (provided sysutils/fusefs-ext4fuse is installed):

# mdconfig -t vnode -f $ubuntu_img
# ext4fuse /dev/md0 /mnt

--YmemKvFH1mmyXPxa
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJYJJGUXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF
NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tFUAH/A+MdRCYskPw0OXxgq9Bsnk2
kom0FPpKRQJRMtOLwotgW1Qno9uoARJlHoZMO8Nrg7uRcMK2jqs48vPL9TxjzeyL
yJQB5/00iICR8QcgFIZmHFfqBGnI3p3PKYZNtNZN81dVZjpVsm5cMFhKaUn61YkL
4ifqkkXIezMGHWPtU/Q1S3KTH2uWppBod7U43lNnOK2yD3FYCvMeMjdQAg9fyJIO
0kQHPtdMMmdUZLOmtdJMa1klX1irJ7IQM9ZJtzAaW0v2RZglyQpFpc6uBw//4HJc
y8bpAWCdnVer51vPtcRtBwXJD2WmvCmadrnw6RZNZVkv6F+52CAUyQibpoC55TM=
=MWux
-----END PGP SIGNATURE-----

--YmemKvFH1mmyXPxa--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161110152612.GH68652>