> On Oct 2, 2016, at 02:27, Richard W.M. Jones <rjones@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
Richard W.M. Jones
2016-Oct-02 19:08 UTC
Re: [Libguestfs] mount: unknown filesystem type 'exfat'
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@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 > etcThanks 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
> On Oct 2, 2016, at 09:08, Richard W.M. Jones <rjones@redhat.com> wrote: > > Thanks for testing. I've just posted a patch so we can include > this upstream.Right on - thanks very much! And thanks for the shout-out in the patch notification - you are really too kind in even mentioning me, as you certainly did all of the work. Just added guestfish to this old guide I cobbled together 5 years ago: Mounting partitions from full disk images https://tinyapps.org/docs/mount_partitions_from_disk_images.html My apologies for not having added it sooner! Aloha, Miles