Unable to mount NTFS Partitions

Status
Not open for further replies.

sachin_kothari

Ambassador of Buzz
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

El mooooo
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.
 
OP
sachin_kothari

sachin_kothari

Ambassador of Buzz
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
 
Last edited:

eddie

El mooooo
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
 
OP
sachin_kothari

sachin_kothari

Ambassador of Buzz
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
 

mehulved

18 Till I Die............
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?
 
Last edited:
OP
sachin_kothari

sachin_kothari

Ambassador of Buzz
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?
 
OP
sachin_kothari

sachin_kothari

Ambassador of Buzz
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.
 
Last edited:
OP
sachin_kothari

sachin_kothari

Ambassador of Buzz
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?
 
Last edited:

eddie

El mooooo
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.
 
Last edited:
OP
sachin_kothari

sachin_kothari

Ambassador of Buzz
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

left this forum longback
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.
 
OP
sachin_kothari

sachin_kothari

Ambassador of Buzz
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

left this forum longback
^^ that error u got was not becoz of running konqueror,but due to some way apt-get is working earlier.
 
Status
Not open for further replies.
Top Bottom