PDA

View Full Version : Unable to access NTFS partition


Randar
October 25th, 2005, 11:27 AM
I have Windows 2000 and Ubuntu 5.04 x86_64 on the same hard drive. when I'm using ubuntu, The Windows partition is mounted as "/media/hdd1", but it is inaccessible. It says
You do not have the permissions necessary to view the contents of "hdd1".
when I try to open it, so I have no clue what to do.

It also shows the owner as "root".

Thanks in advance.

Blixter
October 25th, 2005, 11:48 AM
I have Windows 2000 and Ubuntu 5.04 x86_64 on the same hard drive. when I'm using ubuntu, The Windows partition is mounted as "/media/hdd1", but it is inaccessible. It says

when I try to open it, so I have no clue what to do.

It also shows the owner as "root".

Thanks in advance.

How does your fstab look like??

jon_gunnar
October 25th, 2005, 02:24 PM
I have Windows 2000 and Ubuntu 5.04 x86_64 on the same hard drive. when I'm using ubuntu, The Windows partition is mounted as "/media/hdd1", but it is inaccessible. It says

when I try to open it, so I have no clue what to do.

It also shows the owner as "root".

Thanks in advance.

You may have to add / change something in /etc/fstab . Post you're file, then it is much easier to answer. As an example, this it my fstab

/dev/sda1 /media/windows ntfs nls=utf8,umask=0222 0 0

HankB
October 25th, 2005, 08:01 PM
I went through the same thing. I would up with an entry in /etc/fstab that looks like:

/dev/hda1 /c: ntfs defaults,gid=100,umask=0222 0 0

and made sure that I was a member of the group user (gid=100 => user)

hbarta@baobab:~$ grep user /etc/group
users:\x:100:hbarta

HTH,
hank

Ferrat
October 26th, 2005, 07:47 AM
I'm having the same problem but when I added the lines for my other disks in them same fashion that you have Unbuntu can't mount the drives when loading and it can't create or find a mounting point.

Will get screen asap but am currently struggleing with my WiFi WLAN USB so I have to use Internet via Windows

Randar
November 2nd, 2005, 04:02 AM
Sorry I took so long here it is

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdd6 / ext3 defaults,errors=remount-ro 0 1
/dev/hdd3 /home ext3 defaults 0 2
/dev/hdd1 /media/hdd1 ntfs defaults 0 0
/dev/hdd5 none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0

Thank you for the help

superhew
November 2nd, 2005, 04:20 AM
you need to replace defaults with umask=0222.
so instead of: # /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdd6 / ext3 defaults,errors=remount-ro 0 1
/dev/hdd3 /home ext3 defaults 0 2
/dev/hdd1 /media/hdd1 ntfs defaults 0 0
/dev/hdd5 none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
change it to: # /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdd6 / ext3 defaults,errors=remount-ro 0 1
/dev/hdd3 /home ext3 defaults 0 2
/dev/hdd1 /media/hdd1 ntfs umask=0222 0 0
/dev/hdd5 none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
make sure you unmount and mount again, or just reboot.

Randar
November 4th, 2005, 10:54 AM
thank you the "umask=0222" made my disk readable but I can't write to the disk. I tried to add "rw,umask=0222" but that did'nt help. Am I missing somthing or does linux just not read ntfs yet?

Thank you

EDIT: I hear it is unsafe to do this, so I don't think I want to take the risk.

jon_gunnar
November 4th, 2005, 12:38 PM
thank you the "umask=0222" made my disk readable but I can't write to the disk. I tried to add "rw,umask=0222" but that did'nt help. Am I missing somthing or does linux just not read ntfs yet?

Thank you

EDIT: I hear it is unsafe to do this, so I don't think I want to take the risk.

Read access is no problem, and I've been using this for years without any trouble. Write access is something different.
You may have a look at this page for more information about this.
http://linux-ntfs.sourceforge.net/