Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: How to view windows XP partitions(NTFS) in linux

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Location
    mumbai
    Posts
    2
    Thanks
    0
    Thanked 3 Times in 2 Posts
    Rep Power
    0

    Default How to view windows XP partitions(NTFS) in linux

    hello ,

    i ahve a system which is dual boot system .

    windows XP -- primary partition
    liinux fedora core -- extented partition

    my partitions in windows are NTFS . how do i view them in fedora


    thanking u

    sincerely

    siddharth

  2. The Following 2 Users Say Thank You to kar_siddharth For This Useful Post:

    kantri007 (10th September 2011), tepih (9th September 2010)

  3. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,515
    Thanks
    17
    Thanked 814 Times in 511 Posts
    Rep Power
    10

    Default

    In order to access NTFS file system you need install special module i.e. driver. It can be downloaded from following url
    http://www.linux-ntfs.org/content/view/128/64/

    Select your Fedora Core Linux version and then download appropriate driver according to your kernel version.

    To find out your kernel version use following command:
    Code:
    uname -r
    Once downloaded driver use rpm command to install it:
    Code:
     rpm -ihv kernel-ntfs*
    Now to mount NTFS windows XP system partition use mount command:
    Code:
    mkdir -p /mnt/c
    mount -t ntfs /dev/hdXY /mnt/c
    OR
    Code:
    mount -t ntfs -o nls=utf8 /dev/hdXY /mnt
    Use fdisk -l command to find out name of NTFS partion:
    Code:
    fdisk -l
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


  4. The Following 2 Users Say Thank You to nixcraft For This Useful Post:

    ranjitcrajput@gmail.com (8th September 2012)

  5. #3
    Junior Member
    Join Date
    Apr 2006
    Location
    mumbai
    Posts
    2
    Thanks
    0
    Thanked 3 Times in 2 Posts
    Rep Power
    0

    Default

    thanks for the help

    sincerely



    siddharth

  6. The Following User Says Thank You to kar_siddharth For This Useful Post:


  7. #4
    Junior Member
    Join Date
    Aug 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Mount NTFS windows partitions on Fedora 7

    Windows uses a different filesystem (NTFS) to store files. In order for Fedora to read that filesystem, you require NTFS support in your kernel. There are multiple ways now to support NTFS in Linux. The following solution uses NTFS-3G which uses "Fuse" support in more recent kernels.
    NOTE: As of Fedora 7, devices previously referenced by /dev/hda and /dev/hdb will be referenced by /dev/sda and /dev/sdb (respectively).



    To setup NTFS access you must (1) install NTFS support, (2) check how many partitions you have, (3) create mount points, (4) mount partitions, and (5) update fstab to mount at next boot.

    1. Install NTFS Support
    The software required for NTFS support is included in the DVD installation. If not, install using yum:
    [mirandam@charon ~]$ OpenDNS yum install fuse fuse-libs ntfs-3g

    Users without yum, either download or use your Fedora 7 DVD to install the following RPM's: fuse, fuse-lib and ntfs-3g.


    2. Check Your Partitions
    Use fdisk to list partitions. Most ATA hard drives will be /dev/sda. Drives may also show up as /dev/sdb depending on your configuration.


    [mirandam@charon ~]$ sudo /sbin/fdisk -lu /dev/sda | grep NTFS

    Usually the first will be a drive "letter": C drive, next D, etc. Hence /dev/sda1 is my C:\ drive used by Windows.


    3. Create Mount Points
    For every partition in step 2 that you wish to access, you will need a "mount point". A mount point is just a directory. Common directories are: /media/ and /mnt/. Use whichever, but be consistent.


    [mirandam@charon ~]$ cd /media/ [mirandam@charon media]$ sudo mkdir c_drive d_drive e_drive

    You do not have to use these names, if you prefer to create folders such as 'movies', 'documents', or 'winxp', any name will work (recommended without spaces).


    4. Mount Partitions
    Using the NTFS-3G we can either mount the NTFS partitions read-only or read-write. For new users, read-only is recommended.
    [mirandam@charon ~]$ sudo mount /dev/sda1 /media/c_drive -t ntfs-3g -r -o umask=0222
    [mirandam@charon ~]$ sudo mount /dev/sda2 /media/d_drive -t ntfs-3g -r -o umask=0222
    [mirandam@charon ~]$ sudo mount /dev/sda3 /media/e_drive -t ntfs-3g -r -o umask=0222

    Read/Write Access: The above is for read-only access. In order to mount read/write, you must use the -rw -o umask=0000.

    Example:
    [mirandam@charon ~]$ sudo mount /dev/sda1 /media/c_drive -t ntfs-3g -rw -o umask=0000

    HIGHLY RECOMMENDED: Please run man mount to understand what umask= does.


    5. Update /etc/fstab
    Every time Fedora boots, the partitions must be mounted. To automatically mount, you must edit /etc/fstab.
    Open /etc/fstab in an editor: (use nano instead of gedit if you do not have a GUI)


    [mirandam@charon ~]$ sudo gedit /etc/fstab

    Add these lines to the END of the file:


    /dev/sda1 /media/c_drive ntfs-3g ro,defaults,umask=0222 0 0
    /dev/sda2 /media/d_drive ntfs-3g ro,defaults,umask=0222 0 0
    /dev/sda3 /media/e_drive ntfs-3g ro,defaults,umask=0222 0 0

    Read/Write Access: The above is for read-only access. In order to mount read/write, you must use the rw,defaults,umask=0000. Example:


    /dev/sda1 /media/c_drive ntfs-3g rw,defaults,umask=0000 0 0

    Done!



    For more help Check out



    Personal Fedora 7 Installation Guide

  8. #5
    Junior Member
    Join Date
    Oct 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Problem

    Hi ram420chand
    I am not able to install fuse fuse-libs ntfs-3g. So at very first place, i am not able to run run. following error message is encountered

    [root@localhost /]# yum install fuse fuse-libs ntfs-3g
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...re-6&arch=i386 error was
    [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
    Error: Cannot find a valid baseurl for repo: core

    Can you guide me what to de?
    i am using fedora. output of uname -a is
    [root@localhost /]# uname -a
    Linux localhost.localdomain 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT 2006 i686 i686 i386 GNU/Linux

    Thanks
    Dhruv

  9. #6
    Junior Member
    Join Date
    Apr 2008
    Posts
    27
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Unhappy Same error message

    I have recieve same error message withn this command

  10. #7
    Junior Member
    Join Date
    May 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    My laptop has two hard drives. I had Vista installed on one Disk and I installed Fedora Core 10 on the second hard drive. My install of Fedora recognized my NTFS hard drive with the default install. Any ideas why it did this for me and not for others?

  11. #8
    Member
    Join Date
    Dec 2009
    Location
    HYD
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Thumbs up

    Me too using the Duel boot ................


    can any one post the link for the kernel-ntfs .Rpm for to download

  12. #9
    Member
    Join Date
    Dec 2009
    Location
    HYD
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Thumbs up Linux EXT3

    hi Abi


    Thanks for info, is there any application for to detect Linux ext3 partition in windows O/S,Will it possible


    Thanks

  13. #10
    Senior Member ananth_ak's Avatar
    Join Date
    May 2010
    Location
    Vault 101
    Posts
    192
    Thanks
    23
    Thanked 19 Times in 17 Posts
    Rep Power
    7

    Default

    To get windows ntfs mounted on linux the best tool ntfs-3g with fuse - not the RPM but from the source package.

    for ntfs-3g - go to tuxera open communicate page and download the latest source version.

    for fuse- just google search linux fuse - the first link will point you to the sourceforge page. download the source from there.

    I believe you have to install fuse before ntfs-3g.

    mount commands for ntfs-3g will be available in documentation.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Howto: Linux recover lost partitions?
    By chimu in forum Linux software
    Replies: 4
    Last Post: 14th September 2009, 02:48 PM
  2. How To View This Cbt And What To Do
    By linuxqu in forum Linux software
    Replies: 2
    Last Post: 24th March 2008, 07:09 PM
  3. what's the Diff. in Windows 2003 and Windows 2000 server
    By kasimani in forum Windows Xp/2000/2003 server administration
    Replies: 2
    Last Post: 14th August 2007, 11:05 AM
  4. View log files under Linux
    By sweta in forum Getting started tutorials
    Replies: 0
    Last Post: 30th May 2007, 12:31 AM
  5. Can't export the windows ntfs partition using nfs
    By linuxnightowl84 in forum Networking, Firewalls and Security
    Replies: 4
    Last Post: 29th April 2007, 04:40 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •