LinuxQuestions.org
Register a domain and help support LQ
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 11-03-2007, 09:29 AM   #1
king87
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
Mounting External hd


I have an external hd and its file format is ntfs. When I turn it on, there appears a menu asking what to do. But when I say it open the files, it doesn't. I understand that I have to mount it, there is no symbol in the tray also. How can I do that. I am a little bit new at kubuntu. By the way I am using feisty fawn 7.04.
 
Old 11-03-2007, 10:38 AM   #2
nate6874
Member
 
Registered: Nov 2007
Location: USA but now Ukraine
Distribution: ubuntu 7.10 "nasty gibbon" :) Mandriva 2008
Posts: 61

Rep: Reputation: 15
the HD should be in /dev this is where the default mounting point is.
 
Old 11-03-2007, 12:06 PM   #3
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Re: Mounting External hd

Is this a USB hard drive? If so, it will show up as[INDENT]/dev/sd?[INDENT]
where "?" will be replaced by a number.

You can mount it by creating a mount point, e.g.
mkdir /mnt/mydrive
and then using "mount", as in
mount -tntfs /dev/sda5 /mnt/mydrive
This will give you read-only access to the drive. If you need read-write access, you will need the ntfs-3g tools:
ntfs-3g
I use the ntfs-3g tools at work all the time with great success.
 
Old 11-04-2007, 06:08 AM   #4
king87
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
When I use fdisk -l the result is
Quote:
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 30401 244196001 7 HPFS/NTFS
I did what you said but nothing changed.
mkdir /mnt/mydrive
when I use this,
the result is
Quote:
king87@murat:~$ mkdir/mnt/mydrive
bash: mkdir/mnt/mydrive: No such file or directory
king87@murat:~$ mkdir/mnt/Murat~external
bash: mkdir/mnt/Murat~external: No such file or directory
king87@murat:~$ mount -tnfts/dev/sda5/mnt/Murat~external
 
Old 11-04-2007, 06:19 AM   #5
king87
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Now there appeared a icon of mount point. When I double clicked it says Unable to enter file:///mnt. You do not have access rights to this location.
 
Old 11-04-2007, 11:41 AM   #6
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Re: Mounting External hd

Quote:
Originally Posted by king87 View Post
When I use fdisk -l the result is
Code:
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 30401 244196001 7 HPFS/NTFS
I did what you said but nothing changed.
mkdir /mnt/mydrive
when I use this,
the result is
Code:
king87@murat:~$ mkdir/mnt/mydrive
bash: mkdir/mnt/mydrive: No such file or directory
king87@murat:~$ mkdir/mnt/Murat~external
bash: mkdir/mnt/Murat~external: No such file or directory
king87@murat:~$ mount -tnfts/dev/sda5/mnt/Murat~external
The first problem I see is that there is no space between "mkdir" and "/mnt/mydrive". The second mistake I see is that there is no space between "mount -tntfs" and "/dev/sda5" and "/mnt/Murat~external". You must separate parameters with spaces.

The third problem I see is that you ran fdisk -l and it shows an hard drive at sdb with an NTFS partition at sdb1, but you are trying to mount sda5.

So you should have typed
Code:
king87@murat:~$ mkdir /mnt/mydrive
king87@murat:~$ mount -tnfts /dev/sdb1 /mnt/mydrive
If these commands do not work, please post the last 50 lines of dmesg, which you can get from
Code:
# dmesg | tail -n 50
If you need to put the output in a file before using it, use
Code:
# dmesg | tail -n 50 > dmesg.txt

Last edited by David1357; 11-04-2007 at 11:45 AM. Reason: Added request for dmesg output if commands fail
 
  


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
Mounting External Drive gjblackford Ubuntu 4 09-30-2007 05:21 PM
Mounting External HDD J_K9 Linux - Hardware 41 04-15-2005 05:17 AM
mounting an external hardrive got_nix Linux - Newbie 2 10-18-2004 02:37 AM
mounting external disks? chunlee Linux - Newbie 1 06-12-2004 10:54 AM
Mounting external filesystem crvoss Linux - Networking 10 09-05-2002 12:40 AM


All times are GMT -5. The time now is 10:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration