LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-16-2004, 08:29 PM   #1
tin can
LQ Newbie
 
Registered: Dec 2004
Posts: 12

Rep: Reputation: 0
Trouble mounting ntfs partition.


Ok, I'm running Debian, with the 2.6.9 kernel. Kernel modules are
installed and loaded to read ntfs partitions. I can mount the partition
under /dev/hdb3 just fine (and it's ntfs), but I can not mount my
/dev/hda1 ntfs partition. When I try to mount it, I get an error
that says it is already mounted or busy (which it is not). Below
is the output from my efforts to mount the drive. I would greatly
appreciate any help.


Code:
localhost:/#fdisk -l
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        4864    39070048+   7  HPFS/NTFS

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1        3826    30732313+  83  Linux
/dev/hdb2            3827        3888      498015    f  W95 Ext'd (LBA)
/dev/hdb3            3889        9729    46917832+   7  HPFS/NTFS
/dev/hdb5            3828        3888      489982+  82  Linux swap
Code:
localhost:/# mount -l
/dev/hdb1 on / type ext3 (rw,errors=remount-ro) [/]
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hdc on /mnt/cdrom type iso9660 (ro)
/dev/hdb3 on /mnt/windows type ntfs (rw)
Code:
localhost:/# mount -t ntfs /dev/hda1 /mnt/win1
mount: /dev/hda1 already mounted or /mnt/win1 busy
Code:
localhost:/# umount /dev/hda1
umount: /dev/hda1: not mounted
Code:
localhost:/# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hdb1       /               ext3    defaults,errors=remount-ro 0       1
/dev/hdb5       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/hdd        /media/cdrom1   iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
/dev/hda1       /mnt/win        ntfs    noatime,defaults,users,ro,umask=0 0 0
/dev/cdrw       /cdrw           iso9660 ro,user,noauto 0 0
 
Old 12-16-2004, 09:34 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
The /etc/fstab shows /mnt/win
/dev/hda1 /mnt/win ntfs noatime,defaults,users,ro,umask=0 0 0

but you are using the command for /mnt/win1
mount -t ntfs /dev/hda1 /mnt/win1

Do you have /mnt/win or /mnt/win1 ?

Also, I don't see an entry in the fstab for /dev/hdb3
 
Old 12-16-2004, 09:49 PM   #3
tin can
LQ Newbie
 
Registered: Dec 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Sorry, let me clarify.

I have both directories /mnt/win and mnt/win1

I mounted /dev/hdb3 by typing (without even adding an entry in fstab)
Code:
mount -t ntfs /dev/hdb3 /mnt/windows
And it worked.

When a tried the same command on /dev/hda1 :
Code:
mount -t ntfs /dev/hda1 /mnt/win1
I get the drive already or mounted or busy error.

So I tried seeing if it would help if I added an entry in fstab, (mount point /mnt/win), and tried to mount the drive,
and it still doesn't work.
 
Old 12-16-2004, 10:01 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
/dev/hda1 is busy because it's already mounted in the fstab using /mnt/win
 
Old 12-16-2004, 10:05 PM   #5
tin can
LQ Newbie
 
Registered: Dec 2004
Posts: 12

Original Poster
Rep: Reputation: 0
If it was mounted, then why is it not listed when i type mount -l ,
and why does it not show up in mtab?
Also, when I got to /mnt/win and type ls, there are no files there.

So it is definately not mounted.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble mounting ntfs system walterbyrd Linux - Newbie 2 10-18-2005 04:42 PM
Trouble mounting FAT32 and NTFS under SuSE 9.2 nitroid Suse/Novell 2 12-07-2004 08:55 AM
suse 9.0, trouble mounting ntfs mdemers883 Linux - Distributions 7 01-25-2004 06:59 PM
Mounting a NTFS partition MarcoGusso Linux - Software 2 10-24-2003 08:08 AM
Having a bit of trouble mounting a NTFS partition... Can anyone help? drumlinuxuser Linux - Hardware 1 10-22-2003 09:01 PM


All times are GMT -5. The time now is 05:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration