Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error mounting: according to mtab, rootfs is already mounted
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Tue Jul 17, 2012 10:34 am    Post subject: Error mounting: according to mtab, rootfs is already mounted Reply with quote

When I trying to access external usb hard drive (ntfs-formatted) from Dolphin as regular user I get this error:

Code:
An error occurred while accessing 'PAKAGE', the system responded: The requested operation has failed.: Error mounting: mount exited with exit code 1: helper failed with:
mount: according to mtab, rootfs is already mounted on /
mount failed


What is relationship between rootfs and external hard drive?

When I trying to mount a drive from konsole I get other message:

Code:
Mount is denied because setuid and setgid root ntfs-3g is insecure with the
external FUSE library. Either remove the setuid/setgid bit from the binary
or rebuild NTFS-3G with integrated FUSE support and make it setuid root.
Please see more information at
http://tuxera.com/community/ntfs-3g-faq/#unprivileged


I rebuilt ntfs3g with those flags:
Code:
USE="acl crypt external-fuse ntfsprogs udev -debug -extras -static-libs -suid -xattr" emerge -av ntfs3g


Also I did all the steps described at tuxera faq page but this doesn't helps.

User added to 'usb' and 'users' groups. The string from /etc/fstab:
Code:
/dev/sdb2      /media/package    ntfs-3g      users,auto,rw,gid=1000,uid=1000,umask=0   0 0


What is wrong with my settings?

Device is mountable (as root).

P.S.
I changed set uid bit (switch him off) and the message was changed to this:
Code:
Unprivileged user can not mount NTFS block devices using the external FUSE
library. Either mount the volume as root, or rebuild NTFS-3G with integrated
FUSE support and make it setuid root. Please see more information at
http://tuxera.com/community/ntfs-3g-faq/#unprivileged


P.P.S.
When trying to mount from root's Dolphin another error appears:
Code:
An error occurred while accessing 'PAKAGE', the system responded: The requested operation has failed.: Error mounting: mount exited with exit code 1: helper failed with:
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
       missing codepage or helper program, or other error



A lot of different messages, which one is true?
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 523
Location: Connecticut, USA

PostPosted: Sun Aug 26, 2012 11:44 pm    Post subject: Reply with quote

You don't say what the USE flags were that resulted in the first error message you listed. Also, you may have changed too many things at once. If I read the messages right, you either need internal-fuse (USE -external-fuse) and suid, or external-fuse and -suid, but in the latter case, only root can mount. It sounds like you want to emerge with -external-fuse and +setuid.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum