LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-30-2008, 04:27 PM   #1
mariuslestat
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
The correct syntax to mount a Windows hard drive in Ubuntu


Greetings; new member, first post. I am trying to mount a Windows external HD with Ubuntu8. I have researched (Google) for 2 days and keep getting different variations to fix but I am now asking this community for help for what should be a simple procedure. After loading this morning with one command line the HD was recognized but got message "you do not have permissions" which I found is common. Than shortly after, the HD was no longer recognized and received error -71 device not accepting address. Please correct this line in vi /etc/fstab;

/dev/sda1 /media/wd2 vfat auto,rw,users,exec,umask=000

or

/dev/sda1 /media/wd2 vfat umask=000,uid=tom,gid=users 0 0

I am at my wits end. Any help would be appreciated.

Tom
 
Old 06-30-2008, 06:44 PM   #2
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 166

Rep: Reputation: 24
Lets have a look at the bit about the device not accepting the address.

Can we confirm that, when you get this message, that the drive is in fact given the name 'sda1'

After you insert the drive, wait a couple of seconds then run the command:
dmesg tail
It should give you some indication of how the drive is recognised by the kernel and what name it is being given. It will also let you know if there is a problem at the kernel level with the drive.

Also:
What command are you using to mount the drive?
Do you have a line in /etc/fstab for the drive?

The permissions issue can be dealt with by issuing the mount command as sudo.
sudo mount -t vfat /dev/sda1 /mnt/wd2 -o rw,exec,users,umask=000

By rights, Ubuntu (or any other newb-friendly linux workstation) should mount a device automatically when it it is connected, but removable drives are sometimes not dealt with properly.

Last edited by Greenfuse; 06-30-2008 at 06:47 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
manual mount - External usb hard drive (in ubuntu) tripled2006 Ubuntu 10 10-10-2011 03:36 PM
What is the correct syntax to start Windows install from DOS? randell6564 General 4 04-27-2010 06:37 AM
Mount problems for hard drive partition in ubuntu 6.06 krishghosh Ubuntu 3 03-29-2007 04:03 AM
Hard Drive wou't mount after resizing - gParted; Ubuntu 6.06 pr0gr4mm3r Linux - Software 1 08-24-2006 10:52 PM
Ubuntu will not mount my other hard drive Trance56k Linux - Newbie 6 02-26-2005 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration