Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-30-2008, 04:27 PM   #1
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


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

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

Old 06-30-2008, 06:44 PM   #2
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 165

Rep: Reputation: 23
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.

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.


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 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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:40 PM.

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