From owner-freebsd-fs@freebsd.org Thu Nov 10 15:26:17 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 85087C3AC74 for ; Thu, 10 Nov 2016 15:26:17 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (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 4A0C1847 for ; Thu, 10 Nov 2016 15:26:16 +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 89A0A6E0081; Thu, 10 Nov 2016 16:26:13 +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 uAAFQDpi075120; Thu, 10 Nov 2016 16:26:13 +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 uAAFQCPs074758; Thu, 10 Nov 2016 16:26:12 +0100 (CET) (envelope-from lars) Date: Thu, 10 Nov 2016 16:26:12 +0100 From: Lars Engels To: tech-lists 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> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YmemKvFH1mmyXPxa" Content-Disposition: inline In-Reply-To: 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:26:17 -0000 --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--