I can’t mount the hard drive with LiveUSB

Forum Forums New users New Users and General Questions I can’t mount the hard drive with LiveUSB

  • This topic has 7 replies, 5 voices, and was last updated May 17-9:49 am by Xecure.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #59545
    Member
    marcelocripe

      Title: I can’t mount the hard drive with LiveUSB

      Hi guys,

      In another topic, which I was unable to locate, we commented that on some hard drives SpaceFM has difficulties to mount the partition or partitions, I also commented that Rox-Filer as root can mount what SpaceFM cannot mount. In the case below, I was unable to mount in graphical mode with either of the two file managers with root powers. The hard disk in question has an installation of a Windows 7 64-bit and the user of this computer forgot his password. Before formatting the disk, I need to recover the data for this person, but with antiX 19.3 64 bit I don’t know how to access this hard disk in graphical mode.

      demo@antix1:~
      $ inxi -ddd
      Drives:
      Local Storage: total: 480.41 GiB used: 27.4 MiB (0.0%)
      ID-1: /dev/sda vendor: Seagate model: ST500DM002-1BD142 size: 465.76 GiB
      ID-2: /dev/sdb type: USB model: N/A size: 14.65 GiB
      Optical-1: /dev/sr0 vendor: TSSTcorp model: CDDVDW SH-S223C
      dev-links: cdrom,cdrw,dvd,dvdrw
      Features: speed: 40 multisession: yes audio: yes dvd: yes
      rw: cd-r,cd-rw,dvd-r,dvd-ram

      In the image below, I captured SpaceFM as root, Rox-Filer as root and the result of the inxi -Fzr command, SpaceFM “sees” the disk partitions, while Rox-Filer does not.

      https://ibb.co/wckmPQ3

      When clicking on sda3 456G in SpaceFM as root, the error message is displayed:

      Run: Mount /dev/sda3
      Status: Ended with error (output status 1)
      udevil: error 64: unable to determine the device – specify with -t

      (this message was translated from “pt-BR” to “en” with the internet translator)

      I already thank anyone who can help me.

      marcelocripe
      (Original text in Brazilian Portuguese)

      ———-

      Título original: Eu não consigo montar o disco rígido com o USB Executável/LiveUSB

      Olá caros,

      Em outro tópico, que eu não consegui localizar, comentamos que em alguns discos rígidos o SpaceFM possui dificuldades para montar a partição ou as partições, eu comentei ainda que o Rox-Filer como root consegue montar o que o SpaceFM não consegue montar. No caso abaixo, eu não consegui montar em modo gráfico com nenhum dos dois gerenciadores de arquivos com poderes de root. O disco rígido em questão, possui uma instalação de um Windows 7 de 64 bits e o usuário deste computador esqueceu a sua senha de acesso. Antes de formatar o disco, eu preciso recuperar os dados para esta pessoa, mas com o antiX 19.3 64 bits eu não sei acessar este disco rígido em modo gráfico.

      demo@antix1:~
      $ inxi -ddd
      Drives:
      Local Storage: total: 480.41 GiB used: 27.4 MiB (0.0%)
      ID-1: /dev/sda vendor: Seagate model: ST500DM002-1BD142 size: 465.76 GiB
      ID-2: /dev/sdb type: USB model: N/A size: 14.65 GiB
      Optical-1: /dev/sr0 vendor: TSSTcorp model: CDDVDW SH-S223C
      dev-links: cdrom,cdrw,dvd,dvdrw
      Features: speed: 40 multisession: yes audio: yes dvd: yes
      rw: cd-r,cd-rw,dvd-r,dvd-ram

      Na imagem abaixo, eu capturei o SpaceFM como root, o Rox-Filer como root e o resultado do comando inxi -Fzr, o SpaceFM “enxerga” as partições do disco, enquanto o Rox-Filer não.

      https://ibb.co/wckmPQ3

      Ao clicar sobre sda3 456G no SpaceFM como root, a mensagem de erro é exibida:

      Executar: Montar /dev/sda3
      Estado: Finalizado com erro ( estado da saída 1 )
      udevil: erro 64: impossível determinar o dispositivo – especificar com -t

      (esta mensagem foi traduzida do idioma “pt-BR” para o “en” com o tradutor da internet e inserida no texto em inglês)

      Desde já eu agradeço quem puder me ajudar.

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

      #59550
      Member
      Xecure
        Helpful
        Up
        0
        ::

        Many other workaround:
        A. Mount using Gparted (Launch Gparted from App select or from Control Centre > Disks > Partition a Drive). RIght click on the partition, Mount > Mount on /media/blablabla

        B. Use Control Centre > Disks > Mount connected devices. Knowing that the WIndows partition is in sda3, mount device /dev/sda3 in /media/WINDOWS or something similar.

        C. Do it in terminal right now:

        sudo mkdir /media/WINDOWS
        sudo mount /dev/sda3 /media/WINDOWS

        antiX Live system enthusiast.
        General Live Boot Parameters for antiX.

        #59556
        Member
        Wallon
          Helpful
          Up
          0
          ::

          Dear Marcelocripe,

          Beware, if the user has left the Windows PC in hybrid mode, hibernation… it is not possible to mount the disk under Linux.

          Kind regards,
          Wallon

          #59558
          Anonymous
            Helpful
            Up
            0
            ::

            spacefm does not perform mount operations directly; it calls a mount handler.
            udevil (an automounting utility) is the first-tried spacefm handler.
            A rule specifying how to handle ntfs is apparently absent from the udevil configuration on your system (ref: man udevil)

            Instead of wrestling with crafting a suitable udevil config, you could “sudo apt remove udevil”, then, in the absence of udevil, spacefm would fallback to using another handler (e.g. ‘pmount’, the handler probably being used by ROX). However, udevil removal would cause the dependent “automount-antix” package to also be removed…

            If package “ntfs-3g” is installed, the following might successfully perform the mount task
            sudo mkdir /mnt/doente && ntfs-3g -o ro /dev/sdaNNN /mnt/doente
            The read-only operation would, hopefully, not be stymied (possible, as Wallon mentioned) by hibernation state. If it is, “man ntfs-3g” and search within the manpage for “remove_hiberfile”

            #59561
            Moderator
            BobC
              Helpful
              Up
              0
              ::

              Look on your Applications, Preferences menu for a program called Disk Manager.

              PS: I’m testing my newest screenshot and annotate version, with upload to Imgur 🙂

              https://i.imgur.com/RnredUA.jpg

              https://i.imgur.com/CHwvin9.jpg

              • This reply was modified 1 year, 11 months ago by BobC.
              • This reply was modified 1 year, 11 months ago by BobC.
              • This reply was modified 1 year, 11 months ago by BobC.
              #59569
              Member
              marcelocripe
                Helpful
                Up
                0
                ::

                I thank everyone for each explanation.

                I send the sequence of the teachings in the form of tests:

                Thank you very much.

                Note: The ntfs-3g package is already installed on antiX 19.3 64 bits full

                marcelocripe
                (Original text in Brazilian Portuguese)

                ———-

                Agradeço a todos por cada explicação.

                Envio a sequência dos ensinamentos em forma de testes:

                Obs.: O pacote ntfs-3g já vem instalado no antiX 19.3 64 bits full

                Muito obrigado.

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

                1º GParted:

                https://ibb.co/9YJ9xpV

                https://ibb.co/pZ7hP1N

                2º Disk Manager (Gerenciador de Disco):

                https://ibb.co/51SpKMz

                https://ibb.co/MsV4QCh

                3º Commands at the Terminal (Comandos no Terminal):

                demo@antix1:~
                $ sudo mkdir /media/windows

                demo@antix1:~
                $ sudo mount /dev/sda3 /media/windows
                mount: /media/windows: can’t read superblock on /dev/sda3.

                https://ibb.co/Wgt690Z

                4º Commands at the Terminal (Comandos no Terminal):

                demo@antix1:~
                $ sudo mkdir /mnt/skidoo && ntfs-3g -o ro /dev/sda3 /mnt/skidoo
                mkdir: não foi possível criar o diretório “/mnt/skidoo”: Arquivo existe

                demo@antix1:~
                $ LANGUAGE=en sudo mkdir /mnt/doente && ntfs-3g -o ro /dev/sdaNNN /mnt/doente
                mkdir: cannot create directory ‘/mnt/doente’: File exists

                demo@antix1:~
                $ sudo mkdir /mnt/doente && ntfs-3g -o ro /dev/sda3 /mnt/doente
                Error opening ‘/dev/sda3’: Permissão negada
                Failed to mount ‘/dev/sda3’: Permissão negada
                Please check ‘/dev/sda3’ and the ntfs-3g binary permissions,
                and the mounting user ID. More explanation is provided at
                http://tuxera.com/community/ntfs-3g-faq/#unprivileged

                $ LANGUAGE=en sudo mkdir /mnt/doente && man ntfs-3g -o ro /dev/sda3 /mnt/doente
                mkdir: cannot create directory ‘/mnt/doente’: File exists
                demo@antix1:~

                4º Mountbox

                https://ibb.co/9HfkKLj

                https://ibb.co/bRx719C

                https://ibb.co/4KHX9VX

                https://ibb.co/18vyT3H

                #59576
                Moderator
                BobC
                  Helpful
                  Up
                  0
                  ::

                  Is sda3 encrypted or compressed?

                  If you click the yellow exclamation point, what does the error say?

                  #59596
                  Member
                  Xecure
                    Helpful
                    Up
                    0
                    ::

                    As Wallon said:

                    Beware, if the user has left the Windows PC in hybrid mode, hibernation… it is not possible to mount the disk under Linux.

                    The reason you cannot mount the partition may be Windows 7 didnt fully shutdown. Reboot to windows 7, hold the SHIFT key and press the power Off option in the loging menu to shut down the system while pressing the SHIFT key. This should do a real shutdown for windows.
                    Then try again and see if there is still a warning on the disk on Gparted, as BobC mentioned. If there isn’t try mounting again.

                    • This reply was modified 1 year, 11 months ago by Xecure.

                    antiX Live system enthusiast.
                    General Live Boot Parameters for antiX.

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