LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-08-2005, 04:29 PM   #1
Dayson
LQ Newbie
 
Registered: Jan 2005
Location: texas
Distribution: Ubuntu 4.10
Posts: 5

Rep: Reputation: Disabled
USB Hard drive mount error


Well I'm really new to linux so I dont have a lot of understanding of what I'm doing really but I need to mount my usb hard drive thats formated in NTFS to get my mp3s. Can someone tell me how to fix this problem? (I did sudo fdisk -l to find out what drive to mount)

This is my error

dayson@Todd:~ $ sudo mount /dev/sda5
mount: can't find /dev/sda5 in /etc/fstab or /etc/mtab
 
Old 01-08-2005, 05:40 PM   #2
Ztyx
Member
 
Registered: Dec 2001
Location: Stockholm, Sweden
Distribution: Ubuntu, Kubuntu and Debian
Posts: 338

Rep: Reputation: 30
You have to tell which directory to mount your mp3 on. Try:
$ sudo mount /dev/sda5 /mnt/floppy
and then have a look in /mnt/floppy whether the mount was successful or not.

Greetings from sweden,

/J
 
Old 01-08-2005, 06:34 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
You do not have an entry in the /etc/fstab file so you need to specify the mount point filesystem type.

mount -t ntfs /dev/sda5 /mnt/usb

Make sure you create the directory first
mkdir /mnt/usb

BTW what distribution are you running? Fedora or Redhat do not include NTFS support it the default installed kernel.
 
Old 01-09-2005, 12:05 AM   #4
Dayson
LQ Newbie
 
Registered: Jan 2005
Location: texas
Distribution: Ubuntu 4.10
Posts: 5

Original Poster
Rep: Reputation: Disabled
I'm using Ubuntu Distrobution. I did what michaelk said to do and it mounted it but when I try to open it all I get is this error below.

Can not be displayed
"You do not have the permissions necessary to view the contents of "usb".

Can someone tell me what to do now?

Last edited by Dayson; 01-09-2005 at 12:06 AM.
 
Old 01-09-2005, 06:43 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Add an entry to the /etc/fstab file

/dev/sda5 /mnt/usb ntfs umask=222,user 0 0

This will give any user read permissions
 
Old 01-09-2005, 10:32 AM   #6
Dayson
LQ Newbie
 
Registered: Jan 2005
Location: texas
Distribution: Ubuntu 4.10
Posts: 5

Original Poster
Rep: Reputation: Disabled
Awesome thanks man I got it wokring.

Last edited by Dayson; 01-09-2005 at 05:57 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
How to mount usb hard drive NalinA Linux - Newbie 1 10-26-2005 10:07 PM
usb mount hard drive rpetrenko SUSE / openSUSE 2 10-07-2005 12:49 AM
I can mount a usb hard drive fiacobelli Linux - Hardware 3 07-06-2005 01:52 PM
USB hard drive, how do I mount it? Oxyacetylene Debian 11 10-24-2004 06:00 PM
mount usb module then mount usb hard drive guanyu Linux - Hardware 1 10-08-2003 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:08 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