On Sun, Oct 02, 2016 at 08:07:35AM -1000, Miles Wolbe wrote:
> On Oct 2, 2016, at 02:27, Richard W.M. Jones
<rjones(a)redhat.com> wrote:
>
> guestfish or libguestfs don't support filesystems. It's whatever
> is supported by the kernel.
>
> exFAT is apparently not supported by the Linux kernel, but there is a
> FUSE driver for it called exfat-fuse (as you found out).
>
> So if you add exfat-fuse and maybe exfat-utils to the appliance,
> it should work, ie:
>
> # echo exfat-fuse > /usr/lib*/guestfs/supermin.d/zz-exfat
> # echo exfat-utils >> /usr/lib*/guestfs/supermin.d/zz-exfat
>
> (Note the package names might be different. Apparently in RPMfusion
> it's called fuse-exfat.)
Awesome! Thanks very much Rich. That worked perfectly!
In Fedora 24 x64:
# echo fuse-exfat > /usr/lib64/guestfs/supermin.d/zz-exfat
# echo exfat-utils >> /usr/lib64/guestfs/supermin.d/zz-exfat
In Linux Mint 18 x64:
# echo exfat-fuse > /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/zz-exfat
# echo exfat-utils >> /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/zz-exfat
$ guestfish -a disk.img
><fs> run
><fs> list-filesystems
/dev/sda1: exfat
><fs> mount /dev/sda1 /
><fs> ls /
foo
bar
baz
etc
Thanks for testing. I've just posted a patch so we can include
this upstream.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v