alperakcan / fuse-ext2

Fuse-ext2 is a multi OS FUSE module to mount ext2, ext3 and ext4 file system devices and/or images with read write support.
GNU General Public License v2.0
806 stars 130 forks source link

Error message is empty #65

Open dgrcode opened 7 years ago

dgrcode commented 7 years ago

I'm using fuse-ext2 with OSX fuse (v 3.6.3). The command fuse-ext2 --version returned fuse-ext2 0.0.9 29 [...].

The command /usr/local/bin/fuse-ext2 -v /dev/path /mnt/point -o debug doesn't return anything.

FUSE-EXT2 could not mount /dev/disk2/disk2s1 at /Users/daniel/mnt because the following problem occurred:

I'm trying to use as external hdd a dsik that I was using as main hdd in a Linux laptop.

tiferrei commented 7 years ago

I have the same problem with macOS 10.13. Here are the logs from /var/log/fuse-ext2_util.log:

2017-08-16 23:14:29: fuse-ext2 script invoked with command line "/Library/Filesystems/fuse-ext2.fs/fuse-ext2.util" "-m" "/dev/disk2s2" "/Volumes/Linux" "" "" "" "" "" ""
2017-08-16 23:14:29: Invoking user: root
2017-08-16 23:14:29: [Mount] Entering function Mount...
2017-08-16 23:14:29: [Mount] Processing argument "/dev/disk2s2"
2017-08-16 23:14:29: [Mount] Processing argument "/Volumes/Linux"
2017-08-16 23:14:29: [Mount] Got plain device "/dev/disk2s2"
2017-08-16 23:14:29: [Mount] Got raw device "/dev/rdisk2s2"
2017-08-16 23:14:29: [Mount] Invoking:
2017-08-16 23:14:29: [Mount]   "/usr/local/bin/fuse-ext2.wait" "/Volumes/Linux" "5" "/usr/local/bin/fuse-ext2" "/dev/disk2s2" "/Volumes/Linux" "-olocal,rw+,uid=501,gid=20"
2017-08-16 23:14:29: [Mount] /usr/local/bin/fuse-ext2.wait returned with retval: 252
2017-08-16 23:14:29: [Mount] ERROR: Mounting /dev/disk2s2 as /Volumes/Linux failed! Output:
2017-08-16 23:14:29: [Mount] Exiting function mount...
2017-08-16 23:14:38: fuse-ext2 script invoked with command line "/Library/Filesystems/fuse-ext2.fs/fuse-ext2.util" "-m" "/dev/disk2s2" "/Volumes/Linux" "" "" "" "" "" ""
2017-08-16 23:14:38: Invoking user: root
2017-08-16 23:14:38: [Mount] Entering function Mount...
2017-08-16 23:14:38: [Mount] Processing argument "/dev/disk2s2"
2017-08-16 23:14:38: [Mount] Processing argument "/Volumes/Linux"
2017-08-16 23:14:38: [Mount] Got plain device "/dev/disk2s2"
2017-08-16 23:14:38: [Mount] Got raw device "/dev/rdisk2s2"
2017-08-16 23:14:38: [Mount] Invoking:
2017-08-16 23:14:38: [Mount]   "/usr/local/bin/fuse-ext2.wait" "/Volumes/Linux" "5" "/usr/local/bin/fuse-ext2" "/dev/disk2s2" "/Volumes/Linux" "-olocal,rw+,uid=501,gid=20"
2017-08-16 23:14:38: [Mount] /usr/local/bin/fuse-ext2.wait returned with retval: 252
2017-08-16 23:14:38: [Mount] ERROR: Mounting /dev/disk2s2 as /Volumes/Linux failed! Output:
2017-08-16 23:14:38: [Mount] Exiting function mount...
muammar commented 7 years ago

Is this broken in new macOS High Sierra? why Apple? why?.

Qinka commented 7 years ago

I got the same problem too. (10.12)

There is any printed, and got error code 252 from tty.

# qinka @ Qinka-mbp in ~ [19:40:56]
$ fuse-ext2 /dev/disk4s1 tmp-mount

# qinka @ Qinka-mbp in ~ [19:41:38] C:252
$
muammar commented 7 years ago

Out of curiosity, did you try with this build?. I upgraded to 10.13 and it works for me.

JackNGould commented 5 years ago

Old thread, but I get hit with the same empty error message whenever I try to run the below mount command without executing as root using sudo, even when my user has ownership of the mount point in question. mount -t fuse-ext2 /dev/path /mnt/point

Using sudo does get it to work fine though.

rd235 commented 5 years ago

On Tue, Jan 29, 2019 at 02:28:42PM -0800, TheJazzyJack wrote:

Old thread, but I get hit with the same empty error message whenever I try to run the below mount command without executing as root using sudo, even when my user has ownership of the mount point in question. mount -t fuse-ext2 /dev/path /mnt/point

Using sudo does get it to work fine though.

Hi.

I am testing your example here (Debian sid). This is what I get:

$ mount -t fuse-ext2 /tmp/linux.img /tmp/mnt/ mount: only root can use "--types" option $ busybox mount -t fuse-ext2 /tmp/linux.img /tmp/mnt/ mount: permission denied (are you root?)

Which OS, distribution, version are you using?

All the best, renzo