Announcement

Collapse
No announcement yet.

how to mount SOLVED

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to mount SOLVED

    I have a windows ntfs network drive mounted with cifs.
    On the drive are files with names like 'Clannad Crann Ull 06 Crann Úll.mp3'

    But ubuntu shows them as 'Clannad Crann Ull 06 Crann ?ll.mp3' so with a ? in stead of that strange char.

    I can't copy those files elsewhere, and programs even crash on them.

    Now I'm trying to mount that drive so the encoding is right but I'm not having much luck with it yet.

    I'm trying to change iocharset and codepage in fstab:

    //192.168.1.10/D /home/jean/serverd cifs auto,rw,username=guest,password=,file_mode=0777,di r_mode=0777,user,iocharset=8859-1,codepage=850 0 0

    Still get the ?? though.

    Thanks!
    Greetings from Groningen Netherlands

    #2
    Re: how to mount

    do you have ntfs3g installed?
    <br />

    Comment


      #3
      Re: how to mount

      Originally posted by echoes~
      do you have ntfs3g installed?
      Yes I have. Do you mean I could use ntfs3g for networkdrives?

      As I'm a newbie, could you show me how to make the entry in fstab please?

      Thanks.
      Greetings from Groningen Netherlands

      Comment


        #4
        Re: how to mount

        Well I was able to mount that drive in fstab with ntfs-3g:

        //192.168.1.10/D /home/jean/serverd ntfs-3g,locale=en_US.UTF-8 0 0

        But I still have ?? in filenames.

        Advice appreciated. Thanks.
        Greetings from Groningen Netherlands

        Comment


          #5
          Re: how to mount

          well, i meant that ntfs3g is required to access/mount ntfs partitions. i think it was either included in kubuntu by default with GG or its going to be with HH, i forget which.

          i suspect your issue with characters not being correct may be a character encoding conflict/problem. i.e. your ntfs partition uses windows-1252 but your linux system uses utf-8 or something to that effect. (i use this as a hypothetical).
          i'd try switching the character encodings around (on the partition(s)'s system, not just when mounting) to verify if that is the problem or not.
          <br />

          Comment


            #6
            Re: how to mount

            You mean change the codepage on the windows partition. I will look into that, it's currently 437.
            EDIT: It does not let me change it, if I type chcp 1250 in a dos box, close that box en try chcp again it has reverted back to 437.

            I have another problem at the moment, when you suggested using ntfs-3g for the network drive it worked at first, but stopped working. I am back at cifs again for the network drives.

            from commandline:
            sudo mount -t ntfs-3g //192.168.1.10/Web serverd
            Failed to access '//192.168.1.10/Web': No such file or directory

            from fstab:
            //192.168.1.10/D /home/jean/serverd ntfs-3g defaults,locale=en_US.UTF-8 0 0
            same error

            Strange, I had it working... It works with cifs:
            //192.168.1.10/D /home/jean/serverd cifs auto,rw,username=guest,password=,file_mode=0777,di r_mode=0777,user 0 0
            Greetings from Groningen Netherlands

            Comment


              #7
              Re: how to mount SOLVED

              I got an answer from the ntfs-3g forum from a developper:

              "You can't use NTFS-3G to mount remote volumes. But CIFS is fine."

              I also found the correct way/codepage to display my filenames (finally heheh its:

              //192.168.1.10/D /home/jean/serverd cifs auto,rw,username=guest,password=,file_mode=0777,di r_mode=0777,user,codepage=cp852,iocharset=utf8 0 0

              Greetings from Groningen Netherlands

              Comment

              Working...
              X