linux,faqs,squid,ban,banning,proxy,forum,help Linux-FAQs
Discuss, getting an error, troubleshoot your issues on Linux
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Home | Forum | MAN Pages | Tutorials | Directory | HOWTOs | About Me | Contact
You are Browsing Linux Forum

How to mount NTFS filesystem in Linux

 
Post new topic   Reply to topic    Linux-FAQs Forum Index -> FAQs
View previous topic :: View next topic  
Author Message
Peeyush Maurya



Joined: 17 Nov 2004
Posts: 92
Location: Noida

PostPosted: Wed Nov 17, 2004 9:13 pm    Post subject: How to mount NTFS filesystem in Linux Reply with quote

There are two ways to mount NTFS filesystem in linux
a) Compile kernel with NTFS Support
b) Install NTFS RPM.

We will discuss NTFS RPM which can be downloaded from
http://linux-ntfs.sourceforge.net/rpm/index.html

Which partition should I use?
In Linux disks are named hda, hdb for the first two disk on the first IDE controller and hdc, hdd for the third and fourth disks. SCSI disks are named sda, sdb, etc, in the order they are discovered.

A simple way to look for NTFS Volumes is using:

Code:
    fdisk -l


The output might look like:

Code:
 Disk /dev/hda: 64 heads, 63 sectors, 4465 cylinders
    Units = cylinders of 4032 * 512 bytes
       Device Boot    Start       End    Blocks   Id  System
       /dev/hda1             1      2125   4283968+  07  NTFS/HPFS
       /dev/hda2          2126     19851  35735616   0f  Win95 Ext'd (LBA)
       /dev/hda5   *      2126      4209   4201312+  83  Linux
       /dev/hda6          4210      4465    516064+  82  Linux swap


How do I mount an NTFS Volume?
First of all, it might be an idea to check that your kernel understands NTFS. The command below will give a list of all the filesystems that Linux understands. If you see ntfs, then you are OK. Also it might be a good idea to read the mount manual, man 8 mount.

Code:
    cat /proc/filesystems


Next you need to create a place to mount the NTFS Volume. Then you can mount it.

Code:
 mkdir /mnt/windows
    mount /dev/hda1 /mnt/windows -t ntfs -r


When you have finished, you can unmount the partition with either of:

Code:
    umount /mnt/windows
    umount /dev/hda1


The command is called umount (only one 'n').
Use 'mount' command to view all mounted partitions
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Linux-faqs.com
Owner





PostPosted: Wed Nov 17, 2004 9:13 pm    Post subject: Support this site



Back to top
alexeena



Joined: 09 Apr 2009
Posts: 2

PostPosted: Fri Apr 10, 2009 6:54 am    Post subject: Reply with quote

What are the criteria to be considered for selecting the LINUX OS to install? What are the factors which are need to be considered to install the linux OS? I am asking about the facilities like database server support,browsers…
________________
keyword research ~ keyword tool ~ keyword tracking ~ affiliate elite
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Linux-FAQs Forum Index -> FAQs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Linux-faqs.com Copyright, All rights reserved www.linux-faqs.com. Peeyush Maurya.