NTFS drives automount read and write.

Support for other hardware categories not listed below.
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: NTFS drives automount read and write.

Post by ericbsd »

It should be in media if you want mount it and automatically visible in the desktop environment.

Code: Select all

/dev/(your disk) /media/(your folder) ntfs-3g rw,late 0 0
User avatar
mandog
Posts: 18
Joined: Tue Dec 03, 2013 10:58 am

Re: NTFS drives automount read and write.

Post by mandog »

ericbsd wrote:It should be in media if you want mount it and automatically visible in the desktop environment.

Code: Select all

/dev/(your disk) /media/(your folder) ntfs-3g rw,late 0 0
This does not work all it does is throw GhostBSD into kernel panic, the last thing starting on the screen is

Code: Select all

fusefs ada2s1   is not a valid file does not exist or folder does not exist

Code: Select all

root@##### /u/h/###### gpart show -p ada2
=>        63  3907029105    ada2  MBR  (1.8T)
          63        1985          - free -  (992k)
        2048  1039269888  ada2s1  ntfs  (495G)
  1039271936  2867757056  ada2s2  ebr  (1.3T)
  3907028992         176          - free -  (88k
This is what I get trying to manually mount the partition.

Code: Select all

 
root@###### /u/h/##### # ntfs-3g /dev/ada2s1 /mnt/photo
Error opening '/dev/ada2s1': Operation not permitted
Failed to mount '/dev/ada2s1': Operation not permitted
The NTFS partition is hibernated. Please resume and shutdown Windows
properly, or mount the volume read-only with the 'ro' mount option, or
mount the volume read-write with the 'remove_hiberfile' mount option.
For example type on the command line:

Code: Select all

#mount -t ntfs-3g -o remove_hiberfile /dev/ada2s1 /mnt/
this is what I get with this command
root@kelvin /u/h/kelvin# 
mount -t ntfs-3g -o remove_hiberfile /dev/ada2s1 /mnt/photo
mount: /dev/ada2s1: Operation not supported by device
if I disable this file "/usr/local/share/hal/fdi" and enter this command

Code: Select all

root@##### /u/h/~~~~# ntfs-3g /dev/ada2s1 /mnt/photo
It mounts successfully but nothing else does.
It seems as if the partitions are trying to mount twice at start up and or the write permissions are not being implemented?
And yes

Code: Select all

fusefs_enable="YES" is in /etc/rc.conf
I also tried it as a variable in /boot/defaults/loader file that made no difference.
Your help would be appreciated
Last edited by adripillo12 on Mon Dec 23, 2013 7:58 am, edited 1 time in total.
Reason: You are doing a great job writing but remember to use the button CODE to write output console
I'm dyslexic Please do not complain about punctuation or spelling and remember most dyslexic people have above average iq.
I'm a Englishman living in Peru
English is my only language
User avatar
adripillo12
Posts: 52
Joined: Wed Sep 25, 2013 7:04 am

Re: NTFS drives automount read and write.

Post by adripillo12 »

mandog wrote:
ericbsd wrote:It should be in media if you want mount it and automatically visible in the desktop environment.

Code: Select all

/dev/(your disk) /media/(your folder) ntfs-3g rw,late 0 0
This does not work all it does is throw GhostBSD into kernel panic, the last thing starting on the screen is

Code: Select all

fusefs ada2s1   is not a valid file does not exist or folder does not exist

Code: Select all

root@##### /u/h/###### gpart show -p ada2
=>        63  3907029105    ada2  MBR  (1.8T)
          63        1985          - free -  (992k)
        2048  1039269888  ada2s1  ntfs  (495G)
  1039271936  2867757056  ada2s2  ebr  (1.3T)
  3907028992         176          - free -  (88k
This is what I get trying to manually mount the partition.

Code: Select all

 
root@###### /u/h/##### # ntfs-3g /dev/ada2s1 /mnt/photo
Error opening '/dev/ada2s1': Operation not permitted
Failed to mount '/dev/ada2s1': Operation not permitted
The NTFS partition is hibernated. Please resume and shutdown Windows
properly, or mount the volume read-only with the 'ro' mount option, or
mount the volume read-write with the 'remove_hiberfile' mount option.
For example type on the command line:

Code: Select all

#mount -t ntfs-3g -o remove_hiberfile /dev/ada2s1 /mnt/
this is what I get with this command
root@kelvin /u/h/kelvin# 
mount -t ntfs-3g -o remove_hiberfile /dev/ada2s1 /mnt/photo
mount: /dev/ada2s1: Operation not supported by device
if I disable this file "/usr/local/share/hal/fdi" and enter this command

Code: Select all

root@##### /u/h/~~~~# ntfs-3g /dev/ada2s1 /mnt/photo
It mounts successfully but nothing else does.
It seems as if the partitions are trying to mount twice at start up and or the write permissions are not being implemented?
And yes

Code: Select all

fusefs_enable="YES" is in /etc/rc.conf
I also tried it as a variable in /boot/defaults/loader file that made no difference.
Your help would be appreciated
You can add in /boot/loader.conf

Code: Select all

fuse_load="YES"

also you can add the option

Code: Select all

-o force
but is not so good always
User avatar
mandog
Posts: 18
Joined: Tue Dec 03, 2013 10:58 am

Re: NTFS drives automount read and write.

Post by mandog »

You can add in /boot/loader.conf
fuse_load="YES"
I had already tried that it does not make any difference, It just says on the boot screen unable to configure read/write as if something is missing.
What is Kmod fusefs as that is installed and should ntfsprogs be installed as it conflicts with fusefsntfs-3g saying they install to same directory.
This is starting to wonder if its something missing in the GhostBSD config as people seem to get it working OK in FreeBSD?
And I really need nfts-3g support as I have a lot of data on windows drives.
I'm dyslexic Please do not complain about punctuation or spelling and remember most dyslexic people have above average iq.
I'm a Englishman living in Peru
English is my only language
User avatar
adripillo12
Posts: 52
Joined: Wed Sep 25, 2013 7:04 am

Re: NTFS drives automount read and write.

Post by adripillo12 »

mandog wrote:You can add in /boot/loader.conf
fuse_load="YES"
I had already tried that it does not make any difference, It just says on the boot screen unable to configure read/write as if something is missing.
What is Kmod fusefs as that is installed and should ntfsprogs be installed as it conflicts with fusefsntfs-3g saying they install to same directory.
This is starting to wonder if its something missing in the GhostBSD config as people seem to get it working OK in FreeBSD?
And I really need nfts-3g support as I have a lot of data on windows drives.
I have some problems on FreeBSD too to mount NTFS partitions. Even with FreeBSD 10.
Post Reply