How to mount Windows NTFS partition??
hi guys,
i wanted to mount my Windows NTFS partition on Ubuntu. How do i do this, is the procedure same as in case of FAT32 partitions...?? Please Help!! |
As root create directory like /windows/C Change the ownership incase you want users to mount the partition. insert the following code into file /etc/fstab
Code:
/dev/hda1 /windows/C ntfs noauto,ro,users,gid=users,umask=0002,nls=utf8 0 0 For fat32 use "vfat" Code:
/dev/hda2 /windows/D vfat noauto,rw,user,nosuid,exec,sync 0 0 |
Need auto Mount on Startup~~
hi BioPhysics,
thanx for the help!! Will this Mount the partition every time on Startup?? |
To mount it every time on startup, change the noauto to auto.
|
is it possible to have a rewriteable NTFS partition in Ubuntu?
|
This isn't so much a matter of distributions, as it is of your Linux kernel. The later kernels have NTFS write support as an option; however, last time I checked, this was marked as EXPERIMENTAL. In other words, it's believed to work pretty well, but they can't guarantee it won't trash your entire drive. It's a bit like the kernel releases in general; whether you want to go for more features at the risk of stability, and is entirely up to you.
Alternatively, Captive may do it for you... |
Apparently the kernel's support for NTFS writing is pretty poor and will probably mess up your partition.
|
...and what if the root partition is already mounted on /dev/hda1 ?
Quote:
|
Well don't mess up mounting a wrong one on your root. Be careful:
can you just post: $ /sbin/fdisk -l /dev/hda If you have more than one hard disk post: $ /sbin/fdisk -l /dev/hdb $ /sbin/fdisk -l /dev/hdc Also post your $ cat /etc/fstab |
Thanks for the reply!
There's only one physical hard drive in my machine (it's a laptop), This is what fdisk tells me about it: Quote:
Quote:
Thanks, I should have been able to come up with this myself. Guess I'm still more of a :newbie: than I was willing to admit to myself. Is it safe to change the 'noauto' into 'auto' now? I guess so, but I rather ask first... |
Quote:
Personally, I have NOT changed it to auto. |
I put it on "auto" and it works just fine. Everytime I boot as Linux, I can access my Windows partition straight away. Boom! This is handy, thanks.
If it works fine mounting the NTFS partition manually, what's the danger in having it done automatically? What can go wrong? |
Nothing wrong with mounting it automatically. But just don't enable write support...I think you need to recompile the kernel for that anyway. Enabling write support will probably mess up your entire partition (perhaps even your whole drive) and is not recommended at all.
|
In the official starterguide they use umask=0222 for NTFS: http://help.ubuntu.com/starterguide/...html#id2514705
Automatic mounting at startup is done by editing fstab. |
All times are GMT -5. The time now is 01:57 PM. |