Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: goyfilms on May 11, 2011, 03:07:14 AM
-
hi!
when I try to mount a NTFS partition:
ntfs-3g /dev/sda2 /mnt/sda2
I got this error:
error opening '/dev/sda2': Permission denied
Failed to mount 'dev/sda2': Permission denied
Please check 'dev/sda2' and th ntfs-3g binary permissions,
and th mounting user ID. More explanation is provided at
http://ntfs-3g.org/support.html#unprivileged
I tried a lot of things, but I can't solve it.
Any idea? ???
-
Did you try the method mentioned in the info tab of the app in AppBrowser? It indicates that sudo is used.
-
Did you try the method mentioned in the info tab of the app in AppBrowser? It indicates that sudo is used.
If I do:
sudo ntfs-3g /dev/sda2 /mnt/sda2
it returns:
FATAL: Module fuse not found.
Failed to write lock '/dev/sda2': Permission denied
Error opening '/dev/sda2': Permission denied
Failed to mount '/dev/sda2': Permissio denied
Please check '/dev/sda2' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
http://ntfs-3g.org/support.html#unprivileged
-
It might be useful to know more about your system, storage and app.
Which version of TC/MC are you using?
Post the output of:
blkid -o list | grep /dev/[hs]
The reference to the missing fuse module looks suspicious. Try
ntfs-3g
This will display the app version and also some information about fuse and configuration.
-
blkid -o list | grep /dev/[hs]
returns
Invalid output format list. Chose from value, device, or full
if I write only "blkid" it returns:
/dev/sda1: TYPE="ntfs"
/dev/sda2: TYPE="ntfs"
/dev/sdb1: LABEL="GOYFILMSUSB" UUID="D415-643C" TYPE="vfat"
and "ntfs-3g" returns:
ntfs-3g: No device is specified.
ntfs-3g 2010.5.22 integrated FUSE 27 - Third Generation NTFS Driver
Configuration type 1, XATTRS are on, POSIX ACLS are off
Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2010 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson
Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>
Options: ro (read-only mount), remove_hiberfile, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=.
Please see the details in the manual (type: man ntfs-3g).
Example: ntfs-3g /dev/sda1 /mnt/windows
Ntfs-3g news, support and information: http://ntfs-3g.org
-
Ntfs-3g works fine here with a Windows XP ntfs partition on a hard drive.
By being sda, it appears like a usb or external hard drive is being used, though that may or may not be part of the issue.
-
blkid -o list | grep /dev/[hs]
returns
Invalid output format list. Chose from value, device, or full
if I write only "blkid" it returns:
/dev/sda1: TYPE="ntfs"
/dev/sda2: TYPE="ntfs"
/dev/sdb1: LABEL="GOYFILMSUSB" UUID="D415-643C" TYPE="vfat"
A couple of odd things...
blkid -o list | grep /dev/[hs]
Is regularly used here and never fails with
invalid output format. Chose from value, device, or full
blkid --help
shows -o list as a standard option.
blkid
When issued without any options this should produce a many more entries than the those that you report.
What version of TC/MC are you using?
-
A couple of odd things...
What I find odd is the absence of LABEL= & UUID=
-
I am using a remastered version based on TC 2.5
-
I am using a remastered version based on TC 2.5
As this is not in use here and the command outputs differ, I will withdraw at this point.
Ntfs-3g works fine here with a Windows XP ntfs partition on a hard drive.
By being sda, it appears like a usb or external hard drive is being used, though that may or may not be part of the issue.
My experience is similar to this; ntfs-3g works well. It is also successfully mounting multiple NTFS partitions on a local USB disk.
-
I think I haven't the fuse module and I don't know how to get it
I tried to download ntfs-3g and fuse sources and compile them but the result is the same
probably a kernel problem?
I don't know what to do...
-
FUSE is built in, in both 2.x and 3.x.
-
Hi goyfilms
See if this helps.
http://forum.tinycorelinux.net/index.php?topic=2690.msg45353#msg45353
-
Try using a real TinyCore release instead of a remastered version.
Do you still have the problem?
-
I am using a remastered version based on TC 2.5
Do you refer to a remaster of yourself or a 3rd party distributor?
Do you always load tce-notify before any other extension?
-
I was using a 3rd party remastered TC 2.5 called [remaster] because I need this hacked wifi drivers for test wifi security but it haven't fuse module and because of this ntfs-3g doesn't works
Now I'm trying TC 3.6 and ntfs-3g works fine, but I like to automount NTFS partitions on boot so I used this script to integrate ntfs-3g into TC base:
http://forum.tinycorelinux.net/index.php?topic=6246.0
It worked into fstab because now it is like:
/dev/sda1 /mnt/sda1 ntfs-3g noauto,users,xc 0 0 # Added by TC
but the ntfs partitions doesn't automount on boot.
how can I do it?
thanks
EDIT: I think I need to change "noauto" for "auto" but I don't know how to do it
-
TC only mounts the tce partition.
Add a mount command to /opt/bootlocal.sh.
-
TC only mounts the tce partition.
Add a mount command to /opt/bootlocal.sh.
how can do it to mount only ntfs partitions by bootlocal.sh?
-
You need to add a line to bootlocal.sh:
mount /mnt/sda1
-
I don't know why, but if I add that line to bootlocal.sh it don't works,
however, if I add it to .ashrc from /home/tc, it works fine