MOUNT NTFS PARTITIONS

Forum Forums New users New Users and General Questions MOUNT NTFS PARTITIONS

  • This topic has 5 replies, 6 voices, and was last updated Dec 19-10:24 am by PPC.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #95743
    Member
    gourry

      Hi eeryone!, is there an easy way to mount windows partitions in Antix?
      Thank you

      #95744
      Member
      lgj100
        Helpful
        Up
        0
        ::

        Hi there,

        As on any other linux, you can run

        sudo fdisk -l

        to find the NFTS partition you want to mount, say sdaX, and then run

        sudo mount /dev/sdaX /mnt

        to mount your NTFS partition at /mnt

        Sincerely,
        Lars.

        #95750
        Member
        sybok
          Helpful
          Up
          0
          ::

          Hi, since I am more of a command-line person, it is possible I missed some simple GUI available.
          I explored the menu quickly and there is ‘mountbox’.
          When called from terminal (type ‘mountbox.sh’ followed by enter), a pop-up window appears and it allows you to select a device/partition and mount-point.

          Also, a question is what exactly you want to do with the partition.
          1) Do you want it to be permanently mounted?
          Then it is advisable to create a record in /etc/fstab. This was discussed elsewhere in the forum, please search for the answer.
          I found an example in https://www.antixforum.com/forums/topic/cannot-mount-internal-drive/#post-87212 but others may be available.

          2) Do you want to mount it occasionally only?
          Then you may consider to create an alias e.g. in your ‘~/.bashrc’ file:
          alias win_mount='sudo mount -t ntfs -r <device "name": /dev/sd[a-z][0-9]+> <mount-point: existing directory>'
          Then close all open terminals or source the ‘~/.bashrc’ file in all of the terminals (which ensures the newly added alias is available).

          3) Comment: A mounted NTFS partition from Windows might be read-only (because of fast-startup or something like that).
          I have seen that several times and hence I usually add the option ‘-r’ (‘–read-only’) to the mount command (see item no. 2) with the alias).

          #95870
          Member
          marcelocripe
            Helpful
            Up
            0
            ::

            Hello gourry.

            Welcome to antiX Linux and the forum.

            I don’t know how to write in English and I send my texts translated by the internet translator. I hope you can understand everything, if your native language is not English, please translate my original Brazilian Portuguese text directly into your language with the help of internet translators.

            When you have some free time, please read my real welcome to this topic

            The procedure to enable automatic mounting with the common user and without the root password was explained by Xecure in the topic Partition formats that don’t work on antiX?

            – – – – –

            Olá gourry.

            Seja bem-vindo(a) ao antiX Linux e ao fórum.

            Eu não sei escrever em idioma Inglês e envio os meus textos traduzidos pelo tradutor da internet. Eu espero que você consiga compreender tudo, caso o seu idioma nativo não seja o Inglês, por favor, traduza o meu texto original em idioma Português do Brasil diretamente para o seu idioma com a ajuda dos tradutores da internet.

            Quando você tiver um tempo livre, por favor, leia a minha verdadeira boas vindas neste tópico

            O procedimento para ativar a montagem automática com o usuário comum e sem a senha de root foi explicado pelo Xecure no tópico Partition formats that don’t work on antiX?

            marcelocripe
            (Texto original em idioma Português do Brasil)

            #95888
            Member
            flyingchap
              Helpful
              Up
              0
              ::

              Hello Gourry

              One thing to REMEMBER and be careful of with NTFS, are the fundamental limitations / differences NTFS has from other more ‘Linux/Unix-friendly’ filesystem formats.

              KEY difference is, the likes of EXT3 /EXT4 and other Linux file systems is they *are designed with differential user permissions in mind*, and have room within the filesystem, to remember permissions for more than one user. NTFS DOES NOT have that – it essentially has no idea who you are – SO, Linux has to cope and manage read/write permissions on the fly based on other criteria (others more skilled than I in the nuances of device permissions management can doubtless tell you much more than I can on this.

              Where I have found this an issue, is on using an NTFS volume at the far end of a NETWORK DRIVE on Samba: confusion can easily arise if the person attempting write-access at a mounted network drive which is an NTFS volume: simplest solution I have found, is to MOUNT that [network] drive using a bash script which expressly makes sure it my userID which is used to mount the volume R/W and then I generally have no issues.

              You are presumably talking of a local mount so will differ. There’s good advice out among general Linux guidance about mount commands to deal with NTFS. I’d recommend ‘stay command line’ – GUI tools only add to unclarity on things like this. 100.00% of things can be done from CLI in Linux which is part of its power and it’s worth getting comfortable with BASH so you can use bash scripts for tasks like this.

              #95892
              Member
              PPC
                Helpful
                Up
                0
                ::

                Hi eeryone!, is there an easy way to mount windows partitions in Antix?

                You have been provided with several tips on how to do that, if you know how to (and don’t mind to) use the terminal. Here are some more tips, that require no Terminal expertise, you just need to follow some simple instructions. I present you with 2 extra choices:

                1- IF you want a GUI way to mount NTFS partitions, using zzzfm File Manager:

                If you do not know the “name” of your NTFS partition, you can list all NTFS partitions in your computer this way: antiX menu > Terminal > and paste there this command:
                /sbin/blkid | grep ntfs
                The “name” of your partitions should be the first word on each line: ex: /dev/sda1.

                To mount a windows partition (that you do not use that much- just because you do have to enter your root password every time you want to mount it, and this can get tedious), if you use zzzfm as your File Manager can be implemented like this:
                – on zzzfm click the “Tools” menu
                – if no tool shows up in the menu, a new one will be created if you click “New command”
                – In the window to create the new command do this:
                – in the first window enter the name of the command you want to see in the menu (Ex: “Mount my NTFS partition”) and click “Ok”
                – in the main window (in the “Command” Tab) enter this (replacing sdaX by the NTFS partition you want to mount):

                gksu “mount /dev/sdaX /mnt” && zzzfm /mnt

                and click Ok.

                -Now you should have in zzzfm’s “Tools” menu, a menu entry that allows you to mount your NTFS partition and display it in zzzfm with a single click (if a window pops up, asking for your password, enter your root password). It’s almost as easy as clicking the partition to access it.

                To create a new entry, when you already have one Tool created in zzzfm’s menu:
                click zzzfm’s “Tools” menu > hover on any existing entry and right click it > select “New” > “Command”

                Note: you can use zzzfm’s GUI to, say, create a create “Unmount NTFS partition” Tools menu entry, with the command (no need to adapt it, it will run perfectly, as long as you mounted your partition to /mnt, like in the above example):

                gksu “umount /mnt”

                —————————————————-

                2- If you want a GUI “app” that allows you to mount any partition:

                A more advanced way to do the mount any partition, on any File Manager- I did create a generic and simple GUI application to mount partitions- the main idea is that you get a list of the available partitions and all you have to do is double click the one you want to mount, enter your password, if asked to, and then it opens up in you File Manager.
                You can test the script here: https://www.antixforum.com/forums/topic/xmounter-gui-script-to-mount-partitions/#post-95766

                If you want to test the script do this:
                1- Open your Home folder (for example, it can be any folder) and create a file called xmounter.sh
                2- Right click it and make sure it’s executable
                3- Open your file using geany – or any other Text editor- (the file should be empty)
                4- Copy the code of the script (everything that is inside the box) in the above mentioned post to your file and save it
                5- Execute the file from your file manager

                Please note: the script is a prototype, be careful using it. Also, the script does not unmount your partition. If you want to use a GUI for that, just ask here and I’ll try to provide a GUI for that too… else, adapt the command I show in my thread, and run it to unmount the partition…

                ———————————————–

                Sorry if this looks a bit too complex- it really isn’t, once you got a bit used to antiX… The reason you have to enter your root password when mounting NTFS partitions. probably is to ensure that you do not ruin them (and thus, ruing your Windows installation), by not knowing what you are doing… In the past old antiX versions did allow users to mount those partitions just by clicking them… Probably that may have hurt some Windows installations, and the Dev team too extra precautions…

                P.

                • This reply was modified 4 months, 2 weeks ago by PPC.
                • This reply was modified 4 months, 2 weeks ago by PPC.
                • This reply was modified 4 months, 2 weeks ago by PPC.
              Viewing 6 posts - 1 through 6 (of 6 total)
              • You must be logged in to reply to this topic.