[Libguestfs] mount: unknown filesystem type 'exfat'

Miles Wolbe miles at tinyapps.org
Sun Oct 2 18:07:35 UTC 2016


> On Oct 2, 2016, at 02:27, Richard W.M. Jones <rjones at 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

Gratefully,

Miles





More information about the Libguestfs mailing list