Find the answer to your Linux question:
Results 1 to 4 of 4
I did sudo apt-get install ntfs-3g and everything installed fine but I still cant write on ntfs harddrives I get mkdir: cannot create directory `a': Read-only file system...
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    54

    Writing on NTFS

    I did
    sudo apt-get install ntfs-3g
    and everything installed fine

    but I still cant write on ntfs harddrives
    I get
    mkdir: cannot create directory `a': Read-only file system

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    post the output of this
    Code:
    sudo fdisk -l
    its small L ( -l ).
    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
    Aug 2005
    Posts
    54
    Code:
    user@adminPC:~$ sudo fdisk -l
    
    Disk /dev/sda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1       22947   184321746    7  HPFS/NTFS
    /dev/sda2           22948       38913   128246895    f  W95 Ext'd (LBA)
    /dev/sda5           22948       26771    30716248+   7  HPFS/NTFS
    /dev/sda6           26772       30595    30716248+   7  HPFS/NTFS
    /dev/sda7           30596       34419    30716248+   7  HPFS/NTFS
    /dev/sda8           34420       36243    14651248+   7  HPFS/NTFS
    /dev/sda9           36482       38913    19535008+  83  Linux
    /dev/sda10          36360       36481      979933+  82  Linux swap / Solaris
    
    Partition table entries are not in disk order
    should I remount it as write and read?
    if yes, then how????
    coz I didnt mount it in the first place
    it was mounted when I installed Kubuntu

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    should I remount it as write and read?
    if yes, then how????
    yes. you have remount partitions for write access.
    open /etc/fstab file
    Code:
    kdesu kate /etc/fstab
    replace ntfs with ntfs-3g in all lines. save file and execute 'sudo mount -a' OR reboot machine.
    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
  •  
...