PDA

View Full Version : Can not Mount NTFS Drive after Hard Disk installation



Explorer2
06-21-2006, 02:58 PM
I just did a harddisk install (debian) of Knoppix 5.0.1 but there is a problem on mounting NTFS drive.

The fstab content is as follow

# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hdc2 / ext3 defaults,errors=remount-ro 0 1

proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cdrom iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/cdrom1 /media/cdrom1 iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/dvd /media/dvd iso9660 defaults,ro,users,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda1 /media/hda1 ntfs noauto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hda5 /media/hda5 ntfs noauto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hdc3 none swap defaults 0 0
# Added by KNOPPIX
/dev/hdc5 /media/hdc5 vfat noauto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/sda1 /media/sda1 ntfs noauto,users,exec,umask=000 0 0

Any clue on the problem?

TheBoyMole
06-21-2006, 05:01 PM
What is the problem? Does it bring up an error message of some sort? If so what is the message?

It's probably a permissions issue - can you mount it as Root?

I'd advise you to be careful with your NTFS drives, Linux may screw up your partition if you try to write to it (but reading it should be OK).

Explorer2
06-22-2006, 02:43 AM
There is a Pop Up error message saying "No Permission to mount ..." when you click on the NTFS Harddisk icon at KDE X Window Screen.

There is no problem when boot using knoppix live DVD. I only need to mount the NTFS drives as read only.

It seem that root login under X Window is not allow.

TheBoyMole
06-22-2006, 09:08 AM
Have you tried opening up a terminal, switching to Root with "su" and then running Konqueror? You might be able to mount it as root that way.

Explorer2
06-22-2006, 03:02 PM
I am able to mount the NTFS drive with root terminal and konqueror. Thank.

But the root group include modify content permission. What is the safe way to configure it as READ only?

TheBoyMole
06-22-2006, 03:40 PM
If you edit your etc/fstab file as root, and enter an "ro" parameter next to you NTFS partition(s) then they should mount only as read-only.

i.e. for hda5:

/dev/hda5 /media/hda5 ntfs noauto,ro,users,exec,umask=000 0 0

Make sure you make a backup of your fstab file if you change it though, in case all hell breaks loose! :wink: