Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20
Hi ! I am using Live DVD of Knoppix 5.1. I want to write some files to NTFS partitons which are automatically mounted. I tried right click option to select ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Location
    Ludhiana,Punjab
    Posts
    50

    Question NTFS Partition Problem !


    Hi ! I am using Live DVD of Knoppix 5.1. I want to write some files to NTFS partitons which are automatically mounted. I tried right click option to select " change read/write mode".. It showed confirmation box and I selected "Yes", but then error comes out that
    Code:
    The remount command failed. Maybe there is another process accessing the filesystem currently.
    Kindly guide me to solve this problem...

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Execute this
    Code:
    df -h
    It will list all mounted partitions and mount points. Navigate to NTFS mount point and try to write there.
    In case, nothing works, post the output of this
    Code:
    df -h
    fdisk -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
    Jan 2008
    Location
    Ludhiana,Punjab
    Posts
    50

    Question

    Here is the complete output :

    Code:
    root@1[knoppix]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/root             2.5M   25K  2.4M   2% /
    /ramdisk              387M  9.7M  378M   3% /ramdisk
    /UNIONFS              9.6G  9.2G  378M  97% /UNIONFS
    /dev/hdb              4.1G  4.1G     0 100% /cdrom
    /dev/cloop            5.4G  5.4G     0 100% /KNOPPIX
    /dev/cloop2           3.9G  3.9G     0 100% /KNOPPIX2
    /dev/hdd3             9.0G  7.4G  1.7G  82% /media/hdd3
    /dev/hdd5              13G  9.1G  3.7G  72% /media/hdd5
    /dev/hdd1              16G   11G  5.6G  65% /media/hdd1
    root@1[knoppix]# /dev/hdd5
    bash: /dev/hdd5: Permission denied
    root@1[knoppix]# fdisk -l
    
    Disk /dev/hdd: 40.0 GB, 40060403712 bytes
    255 heads, 63 sectors/track, 4870 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hdd1   *           1        2040    16386268+   7  HPFS/NTFS
    /dev/hdd2            2041        3697    13309852+   f  W95 Ext'd (LBA)
    /dev/hdd3            3698        4869     9412608    7  HPFS/NTFS
    Partition 3 does not end on cylinder boundary.
    /dev/hdd5            2041        3697    13309821    7  HPFS/NTFS
    I am not allowed to move to any other drive partition...Writing to any partition is not available in this case...

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Execute this
    Code:
    su -
    umount /dev/hdd1
    umount /dev/hdd3
    umount /dev/hdd5
    mount -t ntfs-3g /dev/hdd1 /media/hdd1 -o defaults,umask=0
    mount -t ntfs-3g /dev/hdd3 /media/hdd3 -o defaults,umask=0
    mount -t ntfs-3g /dev/hdd5 /media/hdd5 -o defaults,umask=0
    Check /dev/hdd1, 3 and 5 folders.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Jan 2008
    Location
    Ludhiana,Punjab
    Posts
    50
    Ok. I un-mounted all 3 drives. and tried to mount as per your given commands but now the error is as following"
    Code:
    mount: unknown filesystem type 'ntfs-3g'

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    It means Knoppix 5.1 doesn't support NTFS write access. Either install ntfs-3g package
    Code:
    su -
    apt-get install ntfs-3g
    Execute mount command again.
    Or
    Replace ntfs-3g with ntfs in mount command but you wont have write access in NTFS partitions.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #7
    Just Joined!
    Join Date
    Jan 2008
    Location
    Ludhiana,Punjab
    Posts
    50
    Instead of ntfs=3g , I tried ntfs but then it shows following error:
    Code:
    knoppix@1[knoppix]$ su
    root@1[knoppix]# mount -t ntfs-3g /dev/hdd1 /media/hdd1 -o defaults,umask=0
    mount: unknown filesystem type 'ntfs-3g'
    root@1[knoppix]# mount -t ntfs /dev/hdd1 /media/hdd1 -o defaults,umask=0
    Couldn't mount device '/dev/hdd1' : Operation not supported
    Windows did not shut down properly.  Try to mount volume in windows, shut down and try again.
    Mount failed.

  9. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Try to force mounting.
    Code:
    mount -t ntfs /dev/hdd1 /media/hdd1 -o defaults,umask=0,force
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #9
    Just Joined!
    Join Date
    Jan 2008
    Location
    Ludhiana,Punjab
    Posts
    50
    Quote Originally Posted by devils_casper View Post
    It means Knoppix 5.1 doesn't support NTFS write access. Either install ntfs-3g package
    Code:
    su -
    apt-get install ntfs-3g
    Execute mount command again.
    Or
    Replace ntfs-3g with ntfs in mount command but you wont have write access in NTFS partitions.
    result of above commands is as follows:
    Code:
    knoppix@2[knoppix]$ su
    root@2[knoppix]# apt-get install ntfs-3g
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package ntfs-3g

  11. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    It means ntfs-3g is not available in sources. Execute this
    Code:
    less /etc/apt/sources.list
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

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