Find the answer to your Linux question:
Results 1 to 5 of 5
hi im trying to mount my second hard disk which has ntfs system and stores all my important files (i was using xp) i figured out which is the right ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    3

    mounting NTFS hard disk, 'force' command


    hi
    im trying to mount my second hard disk which has ntfs system and stores all my important files (i was using xp)

    i figured out which is the right command so i typed:
    sudo mount -t ntfs-3g /dev/sda5 /media/frist -o defaults,umask=0

    and the following message came up:

    $Logfile indicates unclean shutdown (0, 0)
    Failed to mount sda5
    Mount is denied because NTFS is marked to be in use. Choose one action:

    Choise 1: If you have Windows then disconnect the external devices by clicking on the 'Safely Remove Hardware' icon in the Windows taskbar then shutdown Windows cleanly.

    Choise 2: If you don't have Windows then you can use the 'force' option for your own responsibility. For example type on the command line:
    sudo mount -t ntfs-3g /dev/sda5 /media/frist -o force

    or add the option to the relevant row in the /etc/fstab file:
    /dev/sda5 /media/first ntfs-3g force 0 0

    obviouslu i've to follow the second choise. but if i type the command with 'force' will my files be deleted??? is it safe to type it???

    thanx in advance

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi and Welcome !

    You can use force option safely but don't use it at regular intervals. In most cases, error goes away after using force once only.
    Code:
    mount -t ntfs-3g /dev/sda5 /media/first -o defaults,umask=0,force
    Or

    Plug-in hard disk in a machine having Windows OS and defrag it.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Sep 2009
    Posts
    3
    thanks man!

    it worked fine

  4. #4
    Just Joined!
    Join Date
    Sep 2009
    Posts
    3
    hmm another question..

    everytime i reboot i have to mount it..

    is a way to be the mount permanent??

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Add this code in /etc/fstab file :

    Code:
    /dev/sda5 /media/first ntfs-3g defaults,umask=0 0 0
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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