Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-28-2005, 05:18 AM
|
#1
|
|
Member
Registered: Oct 2005
Distribution: Ubuntu 5.10
Posts: 31
Rep:
|
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.
|
|
|
|
11-28-2005, 05:30 AM
|
#2
|
|
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,364
|
What is the output of:
Code:
mount
cat /etc/mtab
|
|
|
|
11-28-2005, 05:38 AM
|
#3
|
|
Member
Registered: Oct 2005
Distribution: Ubuntu 5.10
Posts: 31
Original Poster
Rep:
|
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.
|
|
|
|
11-28-2005, 05:53 AM
|
#4
|
|
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,364
|
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
|
|
|
|
11-28-2005, 06:09 AM
|
#5
|
|
Member
Registered: Oct 2005
Distribution: Ubuntu 5.10
Posts: 31
Original Poster
Rep:
|
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?
|
|
|
|
11-28-2005, 06:13 AM
|
#6
|
|
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,364
|
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.
|
|
|
|
11-28-2005, 06:14 AM
|
#7
|
|
Member
Registered: Oct 2005
Distribution: Ubuntu 5.10
Posts: 31
Original Poster
Rep:
|
I cannot read it either though.
|
|
|
|
11-28-2005, 06:31 AM
|
#8
|
|
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,364
|
You must be root (or use sudo) to read the mounted ntfs partition
|
|
|
|
11-28-2005, 10:36 AM
|
#9
|
|
Member
Registered: Oct 2005
Distribution: Ubuntu 5.10
Posts: 31
Original Poster
Rep:
|
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?
|
|
|
|
11-28-2005, 12:41 PM
|
#10
|
|
LQ Newbie
Registered: Nov 2005
Location: Vista, CA, USA
Distribution: Fedora 12
Posts: 24
Rep:
|
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.
|
|
|
|
11-28-2005, 03:00 PM
|
#11
|
|
Member
Registered: Oct 2005
Distribution: Ubuntu 5.10
Posts: 31
Original Poster
Rep:
|
That's perfect, I'll give it a shot.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:05 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|