Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Thanks a bunch for this precise and helpful howto.
As ntfs-config forces /media/<name> as the only mount point, I was wondering whether one was free to use other mount points with ntfs-3g.
I went ahead and manually modified /etc/fstab to set my own mount point in another directory. It works well for the moment, but is this compatible with ntfs-3g?
If it is, you might want to implement it in ntfs-config.
Thank you again,
jackn
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
of course it's compatible. you can make the mount point where ever you want!!
Re: Found strange things in /etc/fstab. Would like to know what they mean.
Quote:
Originally Posted by
PureRumble
Hi. So I have done all these steps, and I THINK it works. I say think since I did not receive a good way to confirm if it works. Sure, I can read/write my NTFS-partition, but I could do that before I did all this. Some friend of mine just told me that NTFS 3G would be much better.
So is there some quick way to see that it is really doing work on the partition by ntfs 3g? :-)
Another thing. This question isn't actually related to ntfs 3g but I hope it is close enough :-/ When I first opened my /etc/fstab file, the row that took care of my ntfs-partition did not start with /dev/hda2, but with something strange like "UUID=DA9CA42A9CA4035D". So I thought maybe I should leave it untouched and change that single word NTFS to NTFS-3G, but then gparted would keep wining about being unable to find mounting point. So I did change it to /dev/hda2 just like you said, and now (I think) it's working fine. But what was that previous thing "UUID=DA9CA42A9CA4035D" actually? :-/
Thanks!
I don't know what you mean that you were able to write to NTFS-3g before you added ntfs-3g support? were you using some other form of module/software to write to your ntfs partition? of course linux can READ ntfs but it can't write to it. well maybe it can but it's not good at all! but with ntfs-3g the write support is there and reliable since the software is released under RC1 now! as far as what the UUID's were, those are just unique numbers that ubuntu see's your hard drives as. this is good when you plug in drives at different times, this way they don't get assigned to different device names. (ie hda1 or hdb1, sda1 or sdb1) if you stuck with the UUID, you could turn off your computer, change your ide connectors in your computer and Ubuntu wouldn't fail (well grub might but once you got grub squared away, ubuntu would be fine because that UUID is tied to hard drive's actual hardware info, whereas hda1 is just a device location and can be any hard drive. the way to find out if you can successfully write to ntfs in ubuntu is write to the drive thru several different applications. then if you dual boot see if you can access those files (maybe a .txt file, a movie file, etc etc) if you can read the file than it's working. if you don't dual boot, then you could always take your drive out and plug it into a friends computer and then boot up his windows installation and access the newly shown drive letter and then access the files you wrote.
Also, you quote, "So I thought maybe I should leave it untouched and change that single word NTFS to NTFS-3G, but then gparted would keep wining about being unable to find mounting point." does NOT sound correct. you must have changed the mount point and NOT only the fs designator. man fstab states that The third field, (fs_vfstype), describes the type of the filesystem. so if you merely changed that field from NTFS to NTFS-3g than it should of still worked. assuming that you installed ntfs-3g corrrectly. anyway, you have it working so I guess that's in the past. if you have any more questions just post back.
Re: Found strange things in /etc/fstab. Would like to know what they mean.
thanks for the tutorial, accurate and comprehensive. like was said the only time i had trouble was when i tried to skip ahead instead of reading :p
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Simply brilliant!! Talk about integration!!
Thumbs up and all the fingers too!
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Code:
fish@fishbox:~$ sudo apt-get install ntfs-3g
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
fuse-utils libfuse2 libntfs-3g0 ucf
The following NEW packages will be installed:
fuse-utils libfuse2 libntfs-3g0 ntfs-3g ucf
0 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
Need to get 304kB of archives.
After unpacking 946kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
fuse-utils libfuse2 libntfs-3g0 ntfs-3g
Install these packages without verification [y/N]? Y
Get:1 http://ch.archive.ubuntu.com dapper/main ucf 2.004 [39.4kB]
Get:2 http://flomertens.free.fr dapper/main fuse-utils 2.6.3-0givre2 [76.5kB]
Get:3 http://flomertens.free.fr dapper/main libfuse2 2.6.3-0givre2 [68.5kB]
Get:4 http://flomertens.free.fr dapper/main libntfs-3g0 1:1.0-1 [85.4kB]
Get:5 http://flomertens.free.fr dapper/main ntfs-3g 1:1.0-1 [34.4kB]
Fetched 304kB in 7s (40.0kB/s)
Preconfiguring packages ...
Selecting previously deselected package ucf.
(Reading database ... 21378 files and directories currently installed.)
Unpacking ucf (from .../apt/archives/ucf_2.004_all.deb) ...
Moving old data out of the way
Selecting previously deselected package fuse-utils.
Unpacking fuse-utils (from .../fuse-utils_2.6.3-0givre2_i386.deb) ...
Selecting previously deselected package libfuse2.
Unpacking libfuse2 (from .../libfuse2_2.6.3-0givre2_i386.deb) ...
Selecting previously deselected package libntfs-3g0.
Unpacking libntfs-3g0 (from .../libntfs-3g0_1%3a1.0-1_i386.deb) ...
Selecting previously deselected package ntfs-3g.
Unpacking ntfs-3g (from .../ntfs-3g_1%3a1.0-1_i386.deb) ...
Setting up ucf (2.004) ...
Setting up fuse-utils (2.6.3-0givre2) ...
creating fuse device node...
/sbin/MAKEDEV: don't know how to make device "fuse"
dpkg: error processing fuse-utils (--configure):
subprocess post-installation script returned error exit status 1
Setting up libfuse2 (2.6.3-0givre2) ...
Setting up libntfs-3g0 (1.0-1) ...
dpkg: dependency problems prevent configuration of ntfs-3g:
ntfs-3g depends on fuse-utils (>= 2.6); however:
Package fuse-utils is not configured yet.
dpkg: error processing ntfs-3g (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
fuse-utils
ntfs-3g
E: Sub-process /usr/bin/dpkg returned an error code (1)
What now? :confused:
Ubuntu Dapper 6.06 LTS Server Edition...
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
this happend to me also. try to do
sudo aptitude remove fuse-utils ntfs-3g && sudo aptitude purge fuse-utils ntfs-3g
then you did add givre's repo's to your /etc/apt/sources.list correctly right? the dapper ones. if you did make sure you do the folowing next
sudo aptitude update && sudo aptitude upgrade
then do
sudo aptitude install ntfs-3g
and this should fix it.
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Sorry guys, I forgot to sudo apt-get upgrade... o.O
Well, reading is hard, eh? Thanks for the how-to!! ;)
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Okay guys, I still have a problem.
That's what it says:
Code:
/dev/<your partition> /media/<mount point> ntfs-3g defaults,locale=en_US.utf8 0 0
Well, fine, yes.
I know how to handle the fstab stuff, but my usb disk is a REMOVABLE device. Therefore it's not always /dev/sda1 but it could also be sth like /dev/sdb1...
With ext3, I know how to deal with that problem:
Code:
UUID=34656603-7cb5-49f7-b01f-e4680dc0da15 /media/backups ext3 rw,user,noauto 0 0
I just use the UUID, works fine.
But my ntfs disk has no UUID...
Code:
fish@fishbox:/$ blkid
/dev/hdg1: UUID="791cdb70-d3eb-48b6-bcd3-9e9f7ee71bd4" SEC_TYPE="ext2" TYPE="ext3"
/dev/hdg2: UUID="5ea7e7a1-7a48-48e1-a9b0-8b751b359ea3" SEC_TYPE="ext2" TYPE="ext3"
/dev/hdg3: TYPE="swap"
/dev/hdg4: UUID="2595b3ab-88f7-4adf-9f30-121b1d3daf1b" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda1: LABEL="backups" UUID="34656603-7cb5-49f7-b01f-e4680dc0da15" SEC_TYPE="ext2" TYPE="ext3"
/dev/evms/hdg1: UUID="791cdb70-d3eb-48b6-bcd3-9e9f7ee71bd4" SEC_TYPE="ext2" TYPE="ext3"
/dev/evms/hdg2: UUID="5ea7e7a1-7a48-48e1-a9b0-8b751b359ea3" SEC_TYPE="ext2" TYPE="ext3"
/dev/evms/hdg3: TYPE="swap"
/dev/evms/hdg4: UUID="2595b3ab-88f7-4adf-9f30-121b1d3daf1b" SEC_TYPE="ext2" TYPE="ext3"
/dev/evms/sda1: LABEL="backups" UUID="34656603-7cb5-49f7-b01f-e4680dc0da15" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb1: TYPE="ntfs"
/dev/evms/sdb1: TYPE="ntfs"
So how to do it? I'm stuck, help!! :(
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Okay, I got it to work, udev is your friend!
To everyone who has the same problem - I will link a how-to soonish...it's in German but all the commands are in it so you'll figure it out.
But now, I have one very last problem:
Code:
fish@fishbox:~$ sudo mount /media/ntfs/
Password:
WARNING: Deficient FUSE kernel module detected. Some driver features are
not available (swap file on NTFS, boot from NTFS by LILO), and
unmount is not safe unless it's made sure the ntfs-3g process
naturally terminates after calling 'umount'. The safe FUSE kernel
driver is included in the official Linux kernels since version
2.6.20-rc1, or in the FUSE 2.6.0 or later software packages,
except the faulty FUSE version 2.6.2. For more help, please
have a look at /usr/share/doc/ntfs-3g/README.Debian. Thanks
fish@fishbox:~$ cd /media/ntfs/; ls
Marketing - Seminararbeit.pdf System Volume Information
As you can see, mounting works and it show me the files.
But what about this warning? This sounds no good...how to solve this? :(