DIGIT-ARC read-only archive · snapshot: July 23, 2026

Unable to mount NTFS Partitions

16 posts · originally from https://geek.digit.in/community/threads/unable-to-mount-ntfs-partitions.58190/

sachin_kothari
sachin_kothari Original post #1
May 19, 2007 at 1:47 PM
I am using Debian 4. I am facing this wierd problem. Whenever i try yo mount my windows partitions(ntfs) i receive the following error message. How do i go about it?
Unable to mount the selected volume.:
libhal-storage.c 1401 : info: called libhal_free_dbus_error but dbuserror was not set.

process 9701: applications must not close shared connections - see dbus_connection_close() docs. this is a bug in the application.

error: device /dev/hda5 is not removable

error: could not execute pmount

I am able to view partitions(ntfs) from my external hard disk, but not from my main hard disk.
eddie
eddie #2
May 19, 2007 at 2:13 PM
How are you trying to mount your partitions? You need to add the entries in your fstab. Have you done that? If yes then post the contents of your /etc/fstab and /etc/mtab files.
sachin_kothari
May 19, 2007 at 4:16 PM
i am just double clicking the drives in My Computer.
thats how i use my external hdd partitions.
i dont know what entries are to be made in /etc/fstab.
actually i am a newbie in linux. so dont know much about it.

Also i cannot write to the external hdd partitions. it is read only.

ok, i somehow managed to insert the lines in /etc/fstab.
now i am able to access all my partitions.
but i still cant write to them. :(
here is my /etc/fstab file

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda9 / ext3 defaults,errors=remount-ro 0 1
/dev/hda10 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hda1 /mnt/XP ntfs rw,user,umask=000 0 0
/dev/hda5 /mnt/VISTA ntfs rw,user,umask=000 0 0
/dev/hda6 /mnt/DOWNLOADS ntfs rw,user,umask=000 0 0
/dev/hda7 /mnt/JUNK ntfs rw,user,umask=000 0 0
/dev/hda8 /mnt/ENTERTAINMENT ntfs rw,user,umask=000 0 0
eddie
eddie #4
May 19, 2007 at 4:24 PM
You need to install ntfs-3g package from your package manager and then at every place where it says "ntfs"...replace it with ntfs-3g
sachin_kothari
May 19, 2007 at 4:34 PM
I downloaded the ntfs-3g package from *packages.debian.org/unstable/otherosfs/ntfs-3g

but while installing i got this message.

pkg -i '///home/sachin/ntfs-3g_1.516-1_i386.deb' ;echo RESULT=$?
dpkg: status database area is locked by another process
RESULT=2
M
May 19, 2007 at 4:48 PM
eddie said:
You need to add the entries in your fstab. Have you done that?
Do we need that now, with HAL and pmount around?

sachin_kothari said:
I downloaded the ntfs-3g package from *packages.debian.org/unstable/otherosfs/ntfs-3g

but while installing i got this message.
Why don't you use apt or aptitude?
sachin_kothari
May 19, 2007 at 4:51 PM
mehulved said:
Why don't you use apt or aptitude?
Using apt gave me this message

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
M
May 19, 2007 at 4:54 PM
What else is running? Some other instane of apt or aptitude or synaptic or some updates?
sachin_kothari
May 19, 2007 at 5:13 PM
konqueror
JuK.
thats it.

ok, i found out.
i closed all applications and run the installer again.
it tells that some packages (fuse) are old and i need the new version (2.6.5)
i downloaded that from sourceforge, but how do i compile that.
i have no idea about compiling.
kaustav_geek
May 19, 2007 at 5:39 PM
i downloaded that from sourceforge, but how do i compile that.
i have no idea about compiling.
Check this ... A very detailed how to..
sachin_kothari
May 19, 2007 at 5:59 PM
i downloaded all the packages required and installed ntfs-3g.
and then as eddie said replaced "ntfs" with "ntfs-3g" and restarted.
now when i clicked on the partitions, they are gone.
what happened?

here's my /etc/fstab file
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda9 / ext3 defaults,errors=remount-ro 0 1
/dev/hda10 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hda1 /mnt/XP ntfs-3g rw,user,umask=000 0 0
/dev/hda5 /mnt/VISTA ntfs-3g rw,user,umask=000 0 0
/dev/hda6 /mnt/DOWNLOADS ntfs-3g rw,user,umask=000 0 0
/dev/hda7 /mnt/JUNK ntfs-3g rw,user,umask=000 0 0
/dev/hda8 /mnt/ENTERTAINMENT ntfs-3g rw,user,umask=000 0 0

i suppose i forgot a new line at the end of file.
anyway, that above problem is solved.
but, now when i click on my partitions it says "Malformed URL"
what does that means?
eddie
eddie #12
May 19, 2007 at 6:35 PM
mehulved said:
Do we need that now, with HAL and pmount around?
AFAIK HAL handles removable devices...not the partitions on your hard drive.

sachin_kothari said:
but, now when i click on my partitions it says "Malformed URL"
what does that means?
Where are you clicking these partitions? You need to go to to /mnt directory and there all your mounted partitions are. If it still doesn't solve...post the contents of /etc/mtab.
sachin_kothari
May 19, 2007 at 6:55 PM
thanks everyone. :)
finally managed to get through.
i was checking in /media, but as u said it is in /mnt directory.
thanks a lot for bearing with my silly mistakes.
praka123
praka123 #14
May 19, 2007 at 7:08 PM
ohh..i came late.U can use Synaptic package manager to install packages.
Code:
dpkg: status database area is locked by another process
^^ this is coz apt-get is already working.so
Code:
~#killall -9 apt-get
is ur option if u really wants.
sachin_kothari
May 19, 2007 at 7:12 PM
praka123 said:
ohh..i came late.U can use Synaptic package manager to install packages.
Code:
dpkg: status database area is locked by another process
^^ this is coz apt-get is already working.so
Code:
~#killall -9 apt-get
is ur option if u really wants.
i closed all the running applications and that did solved my problem while installing ntfs-3g packages.
praka123
praka123 #16
May 19, 2007 at 7:45 PM
^^ that error u got was not becoz of running konqueror,but due to some way apt-get is working earlier.