View Full Version : Unable to mount NTFS Partitions
sachin_kothari
19-05-2007, 01: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
19-05-2007, 02: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
19-05-2007, 04: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
19-05-2007, 04: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
19-05-2007, 04:34 PM
I downloaded the ntfs-3g package from http://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
mehulved
19-05-2007, 04:48 PM
You need to add the entries in your fstab. Have you done that? Do we need that now, with HAL and pmount around?
I downloaded the ntfs-3g package from http://packages.debian.org/unstable/otherosfs/ntfs-3g
but while installing i got this message. Why don't you use apt or aptitude?
sachin_kothari
19-05-2007, 04:51 PM
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?
mehulved
19-05-2007, 04:54 PM
What else is running? Some other instane of apt or aptitude or synaptic or some updates?
sachin_kothari
19-05-2007, 05: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
19-05-2007, 05:39 PM
i downloaded that from sourceforge, but how do i compile that.
i have no idea about compiling.
Check this (http://www.tuxfiles.org/linuxhelp/softinstall.html) ... A very detailed how to..
sachin_kothari
19-05-2007, 05: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
19-05-2007, 06:35 PM
Do we need that now, with HAL and pmount around? AFAIK HAL handles removable devices...not the partitions on your hard drive.
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
19-05-2007, 06: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
19-05-2007, 07:08 PM
ohh..i came late.U can use Synaptic package manager to install packages.
dpkg: status database area is locked by another process
^^ this is coz apt-get is already working.so ~#killall -9 apt-get
is ur option if u really wants.
sachin_kothari
19-05-2007, 07:12 PM
ohh..i came late.U can use Synaptic package manager to install packages.
dpkg: status database area is locked by another process
^^ this is coz apt-get is already working.so ~#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
19-05-2007, 07:45 PM
^^ that error u got was not becoz of running konqueror,but due to some way apt-get is working earlier.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.