LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Unable to mount windows harddrive in Linux: "already mounted" (https://www.linuxquestions.org/questions/linux-software-2/unable-to-mount-windows-harddrive-in-linux-already-mounted-387204/)

Xandor 11-28-2005 05:18 AM

Unable to mount windows harddrive in Linux: "already mounted"
 
This may go under hardware, if so say something and I will move, with that being said:

I try to mount hdb my Windows 2000 drive via command
Quote:

sudo mount -t ntfs /dev/hdb /mnt/Windows
it gives my the following error
Quote:

mount: /dev/hdb already mounted or /mnt/Windows busy
Now I know atleast for hda1 and hdc it says something like "hda1 already mounted on /" if it truely is mounted already. So that leaves me to the conclusion that /mnt/Windows is busy but I don't see how or why. Either way then I try
Quote:

sudo mount -t ntfs /dev/hdb /mnt/cdrom
and same thing or if I try to mount it to /mnt/dvdrom. It all gives me the same thing. And there is absolutely nothing in the folders. So, I'm absolutely clueless. I have Kubuntu/Ubuntu 5.10 with kernel 2.6.12-9-386.

bathory 11-28-2005 05:30 AM

What is the output of:
Code:

mount
cat /etc/mtab


Xandor 11-28-2005 05:38 AM

xandor16@Lucy-II:~$ mount
/dev/hda2 on / type reiserfs (rw,notail)
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)
tmpfs on /lib/modules/2.6.12-9-386/volatile type tmpfs (rw,mode=0755)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)

xandor16@Lucy-II:~$ cat /etc/mtab
/dev/hda2 / reiserfs rw,notail 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
tmpfs /lib/modules/2.6.12-9-386/volatile tmpfs rw,mode=0755 0 0
tmpfs /dev tmpfs rw,size=10M,mode=0755 0 0

Hope this helps.

bathory 11-28-2005 05:53 AM

You must also specify the partition number where win2k resides in your mount command, i.e. for the primary partition:
Code:

mount -t ntfs /dev/hdb1 /mnt/Windows

Xandor 11-28-2005 06:09 AM

lol Figures.... I did that and it works now the folder is locked by permissions. I don't know chmod that well, do you know what permission values I should use?

bathory 11-28-2005 06:13 AM

By default you cannot write to an ntfs partition. There are some workarounds but it's very risky to use them. If you want to, then try captive ntfs at your own risk.

Xandor 11-28-2005 06:14 AM

I cannot read it either though.

bathory 11-28-2005 06:31 AM

You must be root (or use sudo) to read the mounted ntfs partition

Xandor 11-28-2005 10:36 AM

Can you change the permissions of the folder, that way I don't have to open up konqueror under root or view it in command prompt?

KTheorem 11-28-2005 12:41 PM

Don't know if this is feasible for you or not but I mount my ntfs partitions with the option umask="222". Makes every file readable and executable by everyone.

Xandor 11-28-2005 03:00 PM

That's perfect, I'll give it a shot.


All times are GMT -5. The time now is 01:20 AM.