Cannot mount internal drive [SOLVED]

Forum Forums Official Releases antiX-21/22 “Grup Yorum” Cannot mount internal drive [SOLVED]

  • This topic has 9 replies, 5 voices, and was last updated Aug 14-5:17 pm by Aleph_Sev.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #87202
    Member
    Aleph_Sev

      I inherited my son’s laptop. A good toy 🙂

      It has a 500Mb ssd disk, where I have installed Antix and another 1Gb internal hard disk, but I am not able to access it.

      I have tried several options, from Control Center – configure automount. Changing the zzzFM options and following the instructions in this thread:
      https://www.antixforum.com/forums/topic/cannot-mount-internal-ntfs-partitions-only-as-root/

      but I must be doing something wrong, I can’t access it.

      Can you help me?

      • This topic was modified 8 months, 4 weeks ago by Aleph_Sev.
      #87206
      Member
      ModdIt
        Helpful
        Up
        0
        ::

        What is the filesystem. Does the BIOS recognize the drive. If yes and not NTFS can you access the drive as root.
        If yes it is a permissions problem. As sudoed user or root do a recursive ownership change to username:username.
        Easy to find the howtos for chown.

        If you are unable to see the drive at all check if it is has a mount point, an entry in etc fstab and is mounted.
        again a quick search shows loads of howtos.

        #87207
        Member
        Aleph_Sev
          Helpful
          Up
          0
          ::

          The disk is formatted in NTFS, it was used from Windows. The BIOS recognizes it and I can see it in zzzFM, but I can’t mount it as administrator.

          These are the disk properties according to zzzFM:

          DEVICE
          /dev/sda3 internal mountable
          
          USAGE
          /dev/sda3        931,4 G  ( not mounted )
          
          FSTAB
          ( not found )
          
          INFO
          Showing information for /dev/sda3
            native-path:                 /sys/devices/pci0000:00/0000:00:17.0/ata6/host5/target5:0:0/5:0:0:0/block/sda/sda3
            device:                      8:3
            device-file:                 /dev/sda3
              presentation:              /dev/sda3
              by-id:                     /dev/disk/by-id/ata-HGST_HTS721010A9E630_JR100XBNJUHBXE-part3
            system internal:             1
            removable:                   0
            has media:                   1
            is read only:                0
            is mounted:                  0
            mount paths:                 
            presentation hide:           0
            presentation nopolicy:       0
            presentation name:           
            presentation icon:           
            automount hint:              
            size:                        1000070633984
            block size:                  512
            usage:                       
            type:                        
            version:                     
            uuid:                        
            label:                       
            partition:
              scheme:                    
              number:                    3
              type:                      
              flags:                     
              offset:                    134235136
              alignment offset:          3072
              size:                      1000070633984
              label:                     
              uuid:                      
          
          
          #87208
          Member
          Aleph_Sev
            Helpful
            Up
            0
            ::

            From Gparted I can see that the file system of the disk appears as unknown. Should I reformat it?

            • This reply was modified 8 months, 4 weeks ago by Aleph_Sev.
            #87212
            Member
            silvioto
              Helpful
              Up
              0
              ::

              I have a ntfs internal drive that is mounted correctly by antix (read and write). Follow my fstab, hoping useful for you.

              # storage
              /dev/sdb1	/media/storage	ntfs-3g		uid=Silvio,gid=users	0	0
              # Windows partition
              /dev/sdb2	/media/windows	ntfs-3g		uid=Silvio,gid=users	0	0
              #87213
              Member
              silvioto
                Helpful
                Up
                0
                ::

                From Gparted I can see that the file system of the disk appears as unknown. Should I reformat it?

                Yes @Aleph_Sev, you must format it as NTFS or other as you prefer.

                • This reply was modified 8 months, 4 weeks ago by silvioto.
                • This reply was modified 8 months, 4 weeks ago by silvioto.
                #87216
                Moderator
                BobC
                  Helpful
                  Up
                  0
                  ::

                  If you are SURE that you don’t want the data and programs on the drive (which will be erased), you could reformat it to whatever format you want. Mounting it is separate from formatting it.

                  #87231
                  Member
                  iznit
                    Helpful
                    Up
                    0
                    ::

                    Aleph_Sev, read the manpage for the “ntfsfix” command. That utility may be able to detect and correct the problem.

                    This ntfsfix command line option gives a “safe” or “simulation” dry run
                    --no-action

                    Before the drive was pulled, was the windows machine shut down….. or hibernated? If ntfs-3g detects “hiberfil.sys” on a partition, it may [[[probably will]]] refuse to mount it unless ro [[[read-only]]] is explicitly requested. Refer to the ntfs-3g manpage for details on the “remove_hiberfile” option.

                    #87235
                    Member
                    Aleph_Sev
                      Helpful
                      Up
                      0
                      ::

                      Sorry, I haven’t found the solution yet.
                      I have formatted the partition.
                      I have also followed all the directions in this thread but none of them work for me.
                      https://www.antixforum.com/forums/topic/how-to-mount-automatically-a-partition/#post-34723

                      I think it’s a permissions problem, but I don’t know how to solve it.
                      Now it can be opened from zzzFM as root, but not as user. I was even able to add several files as root.

                      The disk appears inside the partition table that zzzFM shows inside /root

                      • This reply was modified 8 months, 4 weeks ago by Aleph_Sev.
                      • This reply was modified 8 months, 4 weeks ago by Aleph_Sev.
                      Attachments:
                      #87239
                      Member
                      Aleph_Sev
                        Helpful
                        Up
                        0
                        ::

                        Solved!!

                        I did

                        sudo geany /etc/udevil/udevil.conf

                        allowed_internal_devices = *

                        https://www.antixforum.com/forums/topic/cannot-mount-internal-ntfs-partitions-only-as-root/#post-66183

                      Viewing 10 posts - 1 through 10 (of 10 total)
                      • You must be logged in to reply to this topic.