Find the answer to your Linux question:
Results 1 to 5 of 5
I have hda5,hda6,hda7 and hda8.I mounted using the command: sudo mount -t ntfs-3g /dev/hda5 /mnt/windows -o umask=0,nls=utf8 but each time my computer restarts ,I have to mount again.I tried to ...
  1. #1
    Just Joined! mlhazan's Avatar
    Join Date
    Jul 2007
    Posts
    53

    pls help me to mount NTFS drive

    I have hda5,hda6,hda7 and hda8.I mounted using the command:
    sudo mount -t ntfs-3g /dev/hda5 /mnt/windows -o umask=0,nls=utf8


    but each time my computer restarts ,I have to mount again.I tried to add :
    /dev/hda5 /mnt/windows ntfs-3g umask=0,nls=utf8 0 0

    It says permission denied.I was on the root but now what kind of permission do I need?

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    hi
    add this line to your /etc/fstab file

    /dev/hda5 /mnt/windows ntfs-3g umask=0000,user,rw,nls=utf8 0 0

    btw add write permission for root on /etc/fstab

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    It says permission denied.I was on the root but now what kind of permission do I need?
    Execute this
    Code:
    gksu gedit /etc/fstab
    Add this code for hda5
    Code:
    /dev/hda5   /mnt/windows   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

  4. #4
    Just Joined! mlhazan's Avatar
    Join Date
    Jul 2007
    Posts
    53

    Smile THKS devils_casper

    It really worked gently.But there is still another problem.I can't access drives from Computer->drives,everytime I have to go to the mnt folder and access from there.Is there any way to access from Computer,I mean as we access in windows.

  5. #5
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    In nautilus, just pull your /mnt/Windows folder to the left navigation where "Home" usually is. Then it's always accessible, you can give the folder a HDD icon if you wish :P .

Posting Permissions

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