Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
hi frenz, i cant mount the windows partitions in debian 5 linux..... at the booting time it shows an error message of " error: partitions mounted on read only mode".... ...
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    44

    cant mount windows partition in debian 5

    hi frenz,
    i cant mount the windows partitions in debian 5 linux..... at the booting time it shows an error message of " error: partitions mounted on read only mode".... Is there any other way to mount partitions in write mode..... initially my partitions dont get mounted at all..... i did some tweaks to mount in the file "/etc/fstab" .... after that partitions get mounted but only in the read mode....please suggest me a solution.......

  2. #2
    Just Joined!
    Join Date
    Oct 2007
    Location
    Mexico
    Posts
    65
    i don't have tried yet to mount a NTFS on boot...
    (i only mount it as root when i need it)

    how did you tried to mount the partition???

    you could use ntfs-3g

    you need to install it and, i think, add the line at fstab
    Code:
    /dev/[device]  /media/Win2  ntfs-3g  rw,user,auto  1  1
    this is all "the light" in my head.

    See you

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Posts
    44
    actually wat ll this command do.... wat s ntfs-3g

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    ntfs-3g package enables NTFS write access. Its pre-installed in most of distros but I am not sure if its pre-installed in Debian.

    Let say, /dev/sda1 is NTFS Partition.
    Execute this to mount it using ntfs-3g option.
    Code:
    su -
    umount /dev/sda1
    mkdir /media/sda1
    mount -t ntfs-3g  /dev/sda1 /media/sda1 -o defaults,umask=0
    If above command doesn't throw any error, ntfs-3g is pre-installed. Check if you can create file/folder in NTFS Partition, /media/sda1.

    In case it works, edit /etc/fstab file :

    Code:
    /media/sda1     /dev/sda1    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

  5. #5
    Just Joined!
    Join Date
    Oct 2007
    Location
    Mexico
    Posts
    65
    ntfs-3g is not preinstalled on Debian

    in order to install it (as root):

    Code:
    apt-get install ntfs-3g
    or

    Code:
    aptitude install ntfs-3g

  6. #6
    Just Joined!
    Join Date
    Feb 2009
    Posts
    44
    hi dc this is my filesystem table... have a look at this....

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/sda11 none swap sw 0 0
    /dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/sda1 /media/sda1 ntfs defaults,umask=0 0 0
    /dev/sda3 /media/sda3 ntfs defaults,umask=0 0 0
    /dev/sda5 /media/sda5 ntfs defaults,umask=0 0 0
    /dev/sda6 /media/sda6 ntfs defaults,umask=0 0 0
    /dev/sda7 /media/sda7 ntfs defaults,umask=0 0 0
    /dev/sda8 /media/sda8 ntfs defaults,umask=0 0 0

    i had created the directories as mentioned above.... but i cant mount in write mode now also......

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute these commands :
    Code:
    su -
    umount /dev/sda1
    mount -t ntfs-3g  /dev/sda1 /media/sda1 -o defaults,umask=0
    Does mount command throw any error? If not then try to create a file in /media/sda1 folder. If everything works fine, replace ntfs with ntfs-3g in /etc/fstab file and execute mount -a command.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Just Joined!
    Join Date
    Oct 2007
    Location
    Mexico
    Posts
    65
    Quote Originally Posted by dharanitharan View Post
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/sda11 none swap sw 0 0
    /dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/sda1 /media/sda1 ntfs defaults,umask=0 0 0
    /dev/sda3 /media/sda3 ntfs defaults,umask=0 0 0
    /dev/sda5 /media/sda5 ntfs defaults,umask=0 0 0
    /dev/sda6 /media/sda6 ntfs defaults,umask=0 0 0
    /dev/sda7 /media/sda7 ntfs defaults,umask=0 0 0
    /dev/sda8 /media/sda8 ntfs defaults,umask=0 0 0
    mode now also......
    did you tried the command provided by devil casper???
    did you tried to change ntfs for ntfs-3g???

    which errors do you get???

  9. #9
    Just Joined!
    Join Date
    Feb 2009
    Posts
    44
    ya i changed.... but after changing that partitions din't get mount....

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Code:
    umount /dev/sda1
    mount -t ntfs-3g  /dev/sda1 /media/sda1 -o defaults,umask=0
    cd /media/sda1
    touch test
    Execute these commands and post exact 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
  •