mounting an ubuntu 14.04 bhyve image as a filesystem for editing

Lars Engels lars.engels at 0x20.net
Thu Nov 10 15:36:14 UTC 2016


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20161110/c20f93d1/attachment.sig>


More information about the freebsd-fs mailing list