LinuxQuestions.org
Help answer threads with 0 replies.
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 07-27-2010, 01:48 PM   #1
sja2993
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Rep: Reputation: 0
problems mounting external usb hard drive


I have a couple questions regarding mounting an external hard drive. For starters, I am running Debian Lenny with xfce4, and when I turn the drive on it is automatically mounted, shows up on the desktop, as Media-1 (I named it that in windows) but I do not have permission to access it. I can't seem to find where it gets mounted to either

From a console as su, (from trial and error) I have to umount /dev/sda1
then mount -t ntfs /dev/sda1 /Media-1
I had to chmod 777 -R /Media-1 in order to access the drive
I was also give a message that the operation was not supported on some of the files.

Eventually I'd like to create a Samba share and keep the drive plugged in, occasionally taking it with me, but for now is there a way to make the drive mount to the /Media-1 directory at boot or when I turn it on?

What should the file format be fat32 ntfs??? and what should the permissions be?

Thanks
 
Old 07-27-2010, 01:54 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,565

Rep: Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696
Put a line in /etc/fstab (man fstab)
/dev/sda1 /Media-1 ntfs auto,defaults 0 0

That will mount it at boot. Then fiddle with that as you want (man fstab)
 
Old 07-27-2010, 03:16 PM   #3
sja2993
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto-mounting external NTFS USB hard drive. Cotobear Slackware 5 02-07-2010 03:46 AM
USB external hard drive mounting problem brokenhalo Red Hat 4 09-26-2008 02:03 PM
Problems mounting usb external hard drive... Linux~Powered Slackware 3 06-05-2008 11:55 AM
mounting external hard drive through usb lackita Linux - Hardware 6 02-26-2008 12:10 AM
USB External Hard Drive not mounting bkone Linux - Hardware 1 10-19-2007 11:45 AM


All times are GMT -5. The time now is 07:56 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration