LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-26-2009, 01:43 PM   #1
eggerola
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Rep: Reputation: 0
mount external usb disc


Hi forum,
I am just trying to make use of my ext. usb disc. According to fdisk -l
it is /dev/sdc1 with type ntfs. if I try to mount /dev/sdc1 to media I
always get the error message

mount: unknown file system type "ntfs" .

my usb stick is mounted automatically.

mount -t ntfs /dev/sdc1 / media does not work. What can I do ?

Kind regards
eggerola
 
Old 09-26-2009, 02:03 PM   #2
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
you need ntfs-3f for mounting ntfs partitions

http://www.ntfs-3g.org/
 
Old 09-26-2009, 02:21 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 12,616
Blog Entries: 26

Rep: Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988
Hi,

You should use the '/mnt' directory instead of the '/media' directory that is used for to make sure things are constant between systems . If you look in the '/media' directory;
Quote:
cdrom@ dvd0/ floppy1/ memory@ zip0/
cdrecorder@ cdrom0/ dvd1/ hd@ memory0/ zip1/
cdrecorder0/ cdrom1/ floppy@ hd0/ memory1/
cdrecorder1/ dvd@ floppy0/ hd1/ zip@
You should see something like the above. In your '/mnt' a directory can be created with 'mkdir /mnt/your_disk' then do a mount to that mount point.

You don't need 'ntfs-3g' to mount a 'ntfs' but you do need it to write to that filesystem.

If you had chosen a mount point within '/media' you could have possible conflicts.
 
Old 09-26-2009, 11:53 PM   #4
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
yea, that's right you don't need it unless you want to write

what's your strategy, eggerola ?
 
Old 09-27-2009, 02:15 PM   #5
lhorace
Member
 
Registered: Aug 2009
Distribution: Fedora
Posts: 126

Rep: Reputation: 21
Possibly ntfs driver is not installed, should look into if it's installed.
 
Old 09-28-2009, 03:15 AM   #6
eggerola
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Mount NTFS File System on Linux

Hi,
I have data on an external hard disk which I want to make available to
Linux. Maybe that there is a driver lacking. Fdisk -l says the following :

[root@logicproPC /]# fdisk -l

Platte /dev/sda: 250.0 GByte, 250059350016 Byte
255 heads, 63 sectors/track, 30401 cylinders
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes

Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 * 1 20574 165259951 7 HPFS/NTFS
/dev/sda2 29432 30401 7791525 7 HPFS/NTFS
/dev/sda3 20575 20587 104422+ 83 Linux
/dev/sda4 20588 29431 71039430 5 Erweiterte
/dev/sda5 20588 29431 71039398+ 8e Linux LVM

Partitionstabelleneinträge sind nicht in Platten-Reihenfolge

Platte /dev/sdb: 250.0 GByte, 250059350016 Byte
255 heads, 63 sectors/track, 30401 cylinders
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes

Gerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 * 1 17347 139338401 7 HPFS/NTFS
/dev/sdb2 17348 30401 104856255 8e Linux LVM

Platte /dev/sdc: 500.1 GByte, 500107862016 Byte
255 heads, 63 sectors/track, 60801 cylinders
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes

Gerät boot. Anfang Ende Blöcke Id System
/dev/sdc1 1 60801 488384001 7 HPFS/NTFS



/dev/sdc1 is shown only after connecting the external disc via usb. From I conclude that sdc1 is my usb disc. How can I check which driver
must be availbable for mounting ntfs ? Besides, it seems to be equal where to mount the usb disc. It does not work with /mnt either.

Kind regards
Eggerola
 
Old 09-28-2009, 07:52 AM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 12,616
Blog Entries: 26

Rep: Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988
Hi,

You can create as root a mount point in '/mnt' by 'mkdir /mnt/myExtDr'. Then as root you can do 'mount -t ntfs-3g /dev/sdc1 /mnt/myExtDr'. You should now have your filesystem on the mount point '/mnt/myExtgDr' to do as you wish.

Code:
sample portition of /etc/fstab'
/dev/sda2        /mnt/ntfs_c      ntfs-3g     umask=000        1   0
/dev/sda3        /mnt/ntfs_d      ntfs-3g     umask=000        1   0
/dev/sdc1        /mnt/ntfs_g      ntfs-3g     umask=000        1   0
/dev/sdc2        /mnt/ntfs_h      ntfs-3g     umask=000        1   0
Above is a sample portion of a '/etc/fstab' for the 'ntfs' for mounting on the '/mnt'. You should use the '/mnt' directory instead of the '/media' as you may have conflicts when attempting to use '/media'.
 
Old 09-30-2009, 12:23 PM   #8
eggerola
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Original Poster
Rep: Reputation: 0
mounting ntfs filesystem

Hi,
now I really do not know how to continue.

My fstab now looks as follows :

[root@logicproPC mnt]# cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/sdc1 /mnt/a ntfs-3g umask=000 1 0
[root@logicproPC mnt]#



And if I try to mount an ntfs file system the result is as follows :

[root@logicproPC mnt]# mount -t ntfs /dev/sdc1 /mnt/a
mount: unknown file system type „ntfs“
[root@logicproPC mnt]#


And now ?

Kind regards
eggerola
 
Old 09-30-2009, 01:35 PM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 12,616
Blog Entries: 26

Rep: Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988
Hi,

Try 'mount -t ntfs-3g /dev/sdc1 /mnt/a'.
 
  


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
External USB disc. glore2002 Slackware 11 06-21-2008 12:27 PM
Help with partition for a usb external disc alek66 Linux - General 3 06-27-2006 08:33 AM
Installing Linux on external (USB) disc jia Linux - Hardware 1 05-24-2006 07:05 AM
How to mount an external USB HD? Thakowbbery Linux - Hardware 1 05-18-2006 08:20 AM
can't mount external usb hd jnsenit Linux - Hardware 2 12-03-2004 03:03 PM


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