Results 1 to 7 of 7

Thread: Cannot mount NTFS partition

  1. #1
    Join Date
    Jul 2009
    Location
    Belgium
    Beans
    10

    Cannot mount NTFS partition

    Hi,

    I'm trying to mount an NTFS partition, to access my files stored on this partition. However, the disk gets detected by fdisk:
    sudo fdisk -l
    Code:
    Disk /dev/sda: 122.9 GB, 122942324736 bytes
    255 heads, 63 sectors/track, 14946 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x852eb261
    
    This doesn't look like a partition table
    Probably you selected the wrong device.
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   ?           1        5100    40960000    7  HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2            5100       13672    68857852    7  HPFS/NTFS
    Partition 2 does not end on cylinder boundary.
    /dev/sda3           13673       14946    10233405    5  Extended
    /dev/sda5           13673       14946    10233373+  83  Linux
    
    Disk /dev/sdb: 640.1 GB, 640135028736 bytes
    255 heads, 63 sectors/track, 77825 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x211d7cc4
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1        2432    19535008+  83  Linux
    /dev/sdb2            2433        2918     3903795    5  Extended
    /dev/sdb5            2433        2918     3903763+  82  Linux swap / Solaris
    When I try:
    Code:
    sudo mount -t ntfs /dev/sda1 /media/windows
    I get the following error:
    Code:
    ntfs-3g: Failed to access volume '/dev/sda1': No such file or directory
    Please type '/sbin/mount.ntfs --help' for more information.
    How do i solve this? It is being detected right? But the mount commands says otherwise...?

  2. #2
    DeMus is offline I Ubuntu, Therefore, I Am
    Join Date
    May 2008
    Location
    The Netherlands
    Beans
    2,146

    Re: Cannot mount NTFS partition

    Try this:

    Auto mount Windows disks
    Fire up a terminal, to do this click Applications > Accessories > Terminal
    Then type (or copy/paste) the following - 1 line at a time
    Code:
    sudo aptitude update
    sudo aptitude install ntfs-config
    Ok so when that returns you to user@pcname, that should be installed

    Next, make sure you have NO drives mounted (they'll usually appear on your desktop). If you have disks mounted, right-click the icons (one by one) and choose unmount.
    They also appear when opening Nautilus.
    Then run the program from System > Administration > NTFS Configuration Tool

    Enter your password when prompted - and choose the drives that you want to be automounted. Click Apply.

    Now simply make sure that "Enable Write Support for Internal Drives" is checked and click OK.

  3. #3
    Join Date
    Jul 2009
    Location
    Belgium
    Beans
    10

    Re: Cannot mount NTFS partition

    The NTFS Configuration tool only spawns a box with 2 options (Enable write support for internal/external device), it does not allow me to choose drives I want to be automounted

  4. #4
    Join Date
    Jun 2009
    Location
    Open Linux Forums
    Beans
    2,710

    Re: Cannot mount NTFS partition

    Is the partition encrypted?

  5. #5
    Join Date
    Jun 2008
    Location
    Cairo, Egypt
    Beans
    190
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Cannot mount NTFS partition

    Quote Originally Posted by Wouter N View Post
    The NTFS Configuration tool only spawns a box with 2 options (Enable write support for internal/external device), it does not allow me to choose drives I want to be automounted
    edit the file /etc/fstab


    you'll find your partitions listed in the file,probably with the flag "noauto",which means that they won't be automounted when the system boots,change that flag to "auto"

  6. #6
    Join Date
    Jul 2009
    Location
    Belgium
    Beans
    10

    Re: Cannot mount NTFS partition

    Quote Originally Posted by Leppie View Post
    Is the partition encrypted?
    No, it isn't encrypted with bitlocker or anything else afaik...

    Quote Originally Posted by mhh91 View Post
    edit the file /etc/fstab


    you'll find your partitions listed in the file,probably with the flag "noauto",which means that they won't be automounted when the system boots,change that flag to "auto"
    I added the following line to my /etc/fstab file(/dev/sda1 wasn't mentioned yet):
    Code:
    /dev/sda1 /media/windows ntfs-3g defaults 0 0
    But no effect...

  7. #7
    Join Date
    Dec 2009
    Beans
    76

    Re: Cannot mount NTFS partition

    Try
    sudo mount -t ntfs /dev/sda1 /media/windows -o force

    Also, boot from an XP disc and run checkdisk.

Bookmarks

Posting Permissions

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