You are not logged in.
Pages: 1
I have two ntfs windows partitons I want to create fstab entries for.
/dev/sda2 /media/RECOVERY auto ro,user,noauto 0 0
/dev/sda3 /media/OS auto ro,user,noauto 0 0
despite this, they still automount on boot, and I don't want that.
What am I doing wrong?
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
Don't know if this would work, but have you tried changing the filesystem type from 'auto' to 'ntfs-3g' ?
Offline
Just tried that. If I do that, they won't mount at all. I get permissions errors.
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
Also, when I use these entries, I don't have permission to view the contents of the partitions.
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
Also, when I use these entries, I don't have permission to view the contents of the partitions.
Well, that's to be expected. You need to specify permissions in the fstab entry. You should be able to view the contents of the location as the super user or with sudo though. You may or may not have write access though (Can't remember if it's by default or not now)
Do you have ntfs-3g installed? Check please.
Here's my fstab line for my NTFS windows partition, with full user read/write support.
/dev/sda1 /mnt/windows ntfs-3g users,uid=1000,gid=100,fmask=0113,dmask=0002,locale=en_US.utf8 0 0
That will automount on boot, fyi.
Last edited by Aaron (2008-06-22 02:17:07)
Offline
/dev/sda2 /media/RECOVERY auto noauto,users,uid=1000,gid=100,fmask=0113,dmask=0002 0 0
/dev/sda3 /media/OS auto noauto,users,uid=1000,gid=100,fmask=0113,dmask=0002 0 0
these entries, based on yours, automounts, and I can see the files, but not write
Yes, I have ntfs-3g installed.
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
I have two ntfs windows partitons I want to create fstab entries for.
/dev/sda2 /media/RECOVERY auto ro,user,noauto 0 0
/dev/sda3 /media/OS auto ro,user,noauto 0 0despite this, they still automount on boot, and I don't want that.
What am I doing wrong?
Well, first things first. /media is for removable media. hal also autmounts to /media.
Use /mnt for mounting filesystems.
You can of course, mount them anywhere, but let's start on the right foot.
Second, you need something more like this:
/dev/sda2 /mnt/RECOVERY ntfs-3g user,noauto 0 0
/dev/sda3 /mnt/OS ntfs-3g ro,user,noauto 0 0
Make sure you are in the storage group, and ntfs-3g is installed.
Offline
#chmod u+s /bin/ntfs-3g
That should give your users write access to the partition.
http://wiki.archlinux.org/index.php/NTFS_Write_Support
I don't know why it insists on auto-mounting though? I still think it has something to do with using 'auto' in place of 'ntfs-3g', but I also don't understand why you're getting errors when trying to use it?
What are you doing in between changes to /etc/fstab?
I use the following command to remount my partitions according to fstab
$sudo mount -a
Offline
when I change it to mnt, those volumes don't show up at all in gnome. (yes, it did create the directories)
When I use ntfs-3g, I get this
Error opening '/dev/sda2': Permission denied
Failed to mount '/dev/sda2': Permission denied
Pease check '/dev/sda2' and the ntfs binary permissions,
and the mounting user ID. More explanation is provided at
http://ntfs-3g.org/support.html#unpriviledged
I also added my user to the storage group.
What is the command to see what groups I am in?
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
groups
Try adding your user to the disk group. See if that helps. It's a security risk, but it may tell us something. If it doesnt help, pull yourself out of it.
Offline
chmod u+s /bin/ntfs-3g
doesn't appear to help
what I have in fstab now:
/dev/sda2 /media/RECOVERY ntfs-3g user,ro,noauto 0 0
/dev/sda3 /media/OS auto user,ro,noauto 0 0
The first entry does not mount and gives the errors posted above.
The second mounts, but I can't see any of the files.
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
groups
Try adding your user to the disk group. See if that helps.
does nothing
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
Wait: now when I mount the volume where I told it the fs type was ntfs-3g
ntfs-3g-mount: user has no write access to mountpoint /media/RECOVERY
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
When I log in as root, I can see both partitons' contents, but can't write to either.
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
Disable Automount on login
You may want to disable automounting of ntfs(/or other filesystem) partitions on login.
File: /etc/hal/fdi/policy/20-disable-automount.fdi
<device>
<match key="storage.hotpluggable" bool="false">
<match key="storage.removable" bool="false">
<merge key="storage.automount_enabled_hint" type="bool">false</merge>
</match>
</match>
</device>
http://wiki.archlinux.org/index.php/HAL … t_on_login
Offline
@Neo139
This thread is two years old, and you created an entirely new account to answer it.
Offline
@Neo139
This thread is two years old, and you created an entirely new account to answer it.
sorry! (the new account was not just for answering that question!)
Offline
Pages: 1