Posts: 25
Threads: 12
Joined: Dec 2006
Reputation:
0
Hey fellow linux users!
Since monday I installed Xubuntu in a DUALBOOT configuration at work.
Now I need Xubuntu to get NTFS support, and it would be great if it automounted at boot-up.
Could you guys help me out here?
Gimme a step by step and such.
Posts: 25
Threads: 12
Joined: Dec 2006
Reputation:
0
Let me check up on that tomorrow when I'm at work.
Posts: 2
Threads: 1
Joined: Sep 2005
Reputation:
0
2006-12-15, 09:22 AM
(This post was last modified: 2006-12-15, 09:25 AM by dzimmerm.)
The new NTFS support for Ubuntu is available via the snoptics package manager as long as you have all sources enabled.
(Universe and all other sources)
My wife wanted to try MythTV and I ended up installing Ubuntu as a dual boot with WindowsXP, which was already on one of her PC's. In order to burn DVD's I wanted to be able to copy the mythburn.iso file to her Windows side. Ubuntu comes with a read only driver for NTFS but the new driver, NTFS-G3, which was released in September of 2006, is available for installation through synoptics package manager, and I imagine whichever packmanager you use for Ubuntu. I have Ubuntu 6.10, which is the latest version as of this writing. Installation of NTFS-G3 is done by just selecting it in the package manager and hitting apply.
Now, as far as setting it up so it mounts automatically.
There may be other utilities to do this but I used the vi editor and modified the fstab file.
The fstab file is located in /etc/fstab
You have to sudo to root in order to write to fstab.
Here is the line I added and the line it replaced in my fstab file.
(line replaced)
# /dev/hdb1
# UUID=141C45601C453DCC /media/hdb1 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
(line added)
# ntfs-3g mount for hdb1
UUID=141C45601C453DCC /media/hdb1 ntfs-3g defaults,nls=utf8,umask=007,gid=46 0 1
basically all I did, after installation of the ntfs-3g package was change the line that mounted the windows file system from ntfs to ntfs-3g. You can note the pound sign, "#" I placed at the beginning of the old line in order to make the system ignore it. It is always a good idea to not delete things when you are changing system settings as you may need to revert back to the original settings if something goes wrong. I did reboot the system after the change to fstab as drives are normally mounted during the system start up. They can be mounted at other times but you mentioned you wanted it to automatically mount the drive for you.
For some reason ubuntu referred to the device as a UUID number rather than a /dev/hdb1 entry. I am not sure why this is but I figured if it could find it as a read only file system that way it would probably work as a read write system the same way.
If you are not comfortable with using vi then you would have to modify the file with an editor you are comfortable with. The problem is that the GUI, Graphical User Interface, will not let you log in as root so you would have to copy the fstab file to some other file name and then modify that file using your editor. You could then open a terminal session and sudo to root and copy and rename the file to fstab, overwriting the original. It is always wise to keep a backup copy of any files to be overwriten, like a fstab_old or some such.
I hope this helps.
dzimmerm
Posts: 25
Threads: 12
Joined: Dec 2006
Reputation:
0
well....no luck so far.
How do I know which thing is my NTFS partition?