Topic/Tópico: https://www.antixforum.com/forums/topic/startup-problems-after-wrong-antix-shutdown/ Hello everyone, Sorry for the delay, yesterday I managed to start the tests. I will attach in this post the file "Tentativa_de_Manutencao_da_Particao_no_antiX_14-04-2021.txt", it includes the texts translated by the internet translator into the English language above my original texts in pt-BR, including the terminal texts that are in pt-BR. Robin, I hope I have managed to apply all your explanations correctly. Thank you very much for all the teachings and the tutorial. I am also grateful for your and Skidoo's explanations of the correct way to ask the question about "how to recover the damaged file system in antiX", the wrong way to express myself are the requirements of the other operating system, many years were trapped in the windows (Long live freedom!). marcelocripe (Original text in Brazilian Portuguese) ---------- Olá a todos, Desculpem-me pela demora, ontem eu consegui iniciar os testes. Eu vou anexar nesta postagem o arquivo "Tentativa_de_Manutencao_da_Particao_no_antiX_14-04-2021.txt", inclui os textos traduzidos pelo tradutor da internet para o idioma inglês acima dos meus textos originais em pt-BR, inclusive dos textos do terminal que estão em pt-BR. Robin, eu espero ter conseguido aplicar corretamente todas as suas explicações. Muito obrigado por todos os ensinamentos e pelo tutorial. Eu agradeço também pelas explicações suas e do Skidoo sobre a forma correta de formular a pergunta sobre "como recuperar o sistema de arquivos danificados no antiX", a forma errada de me expressar são os requícios do outro sistema operacional, foram muitos anos aprisionados no janelas (Viva a liberdade!). marcelocripe (Texto original em Português do Brasil) Tests/Testes: To mount the 52.5 GB sda2 partition, I opened the Rox-Filer file manager as Root, went to /media/homeantiX. Para montar a partição sda2 de 52,5 GB, abri o gerenciador de arquivos Rox-Filer como Root, acessei /media/homeantiX. In the first terminal window: Na primeira janela de terminal: demo@antix1:~ $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk loop0 7:0 0 701,1M 1 loop /live/linux sda 8:0 0 74,5G 0 disk ├─sda1 8:1 0 20G 0 part ├─sda2 8:2 0 52,5G 0 part /media/homeantiX └─sda3 8:3 0 2G 0 part [SWAP] sdb 8:16 1 1,9G 0 disk ├─sdb1 8:17 1 803M 0 part /live/boot-dev └─sdb2 8:18 1 49M 0 part /media/ANTIX-UEFI demo@antix1:~ $ dd if=/dev/sda1 of=/media/homeantiX/partition_1.img dd: failed to open '/ dev / sda1': Permission denied dd: falha ao abrir '/dev/sda1': Permissão negada demo@antix1:~ $ sudo dd if=/dev/sda1 of=/media/homeantiX/partition_1.img The prompt was stopped during the entire process. O prompt ficou parado durante todo o processo. In the second terminal window, I tried to use the command "$ kill -USR1 $ (pidof dd)" to try to view the progress of the creation process of "partition_1.img": Na segunda janela de terminal, eu tentei usar o comando "$ kill -USR1 $(pidof dd)" para tentar visualizar o andamento do processo de criação da "partition_1.img": demo@antix1:~ $ kill -USR1 $(pidof dd) kill: uso: kill [-s SIGSPEC | -n SIGNUM | -SIGSPEC] PID | ESPEC-JOB ... ou kill -l [SIGSPEC] demo@antix1:~ $ kill -USR1 $(pidof dd) kill: uso: kill [-s SIGSPEC | -n SIGNUM | -SIGSPEC] PID | ESPEC-JOB ... ou kill -l [SIGSPEC] Com o ensinamentos do Robin, sobre o comando "$ kill -USR1 $(pidof dd)", eu pesquisei na internet para tentar entender porque não funcionou comigo, consegui encontrar o comando "$ kill -SIGUSR1 $(pidof dd)": demo@antix1:~ $ kill -SIGUSR1 $(pidof dd) bash: kill: (12697) - Operation not allowed bash: kill: (12697) - Operação não permitida demo@antix1:~ $ sudo kill -SIGUSR1 $(pidof dd) Usage: kill [options] [...] Options: [...] send signal to every listed -, -s, --signal specify the to be sent -l, --list=[] list all signal names, or convert one to a name -L, --table list all signal names in a nice table -h, --help display this help and exit -V, --version output version information and exit For more details see kill(1). O texto acima foi o resultado do comando aplicado em um "Live USB" sendo executado em idioma pt-BR, por tanto, não está traduzudo. O texto acima foi o resultado do comando aplicado em um "Live USB" sendo executado em idioma pt-BR, por tanto, não está traduzudo. Uso: matar [opções] [...] Opções: envia [...] sinal para cada listado - , -s, --signal especifique o a ser enviado -l, --list = [] lista todos os nomes de sinais ou converte um em um nome -L, --table lista todos os nomes de sinais em uma boa tabela -h, --help exibe esta ajuda e sai -V, --version exibe informações de versão de saída e sai Para obter mais detalhes, consulte kill (1). demo@antix1:~ $ kill -SIGUSR1 $(pidof dd) kill: uso: kill [-s SIGSPEC | -n SIGNUM | -SIGSPEC] PID | ESPEC-JOB ... ou kill -l [SIGSPEC] demo@antix1:~ $ kill -USR1 $(pidof dd) kill: uso: kill [-s SIGSPEC | -n SIGNUM | -SIGSPEC] PID | ESPEC-JOB ... ou kill -l [SIGSPEC] demo@antix1:~ $ Back to the first terminal window: De volta a primeira janela de terminal: demo@antix1:~ $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk loop0 7:0 0 701,1M 1 loop /live/linux sda 8:0 0 74,5G 0 disk ├─sda1 8:1 0 20G 0 part ├─sda2 8:2 0 52,5G 0 part /media/homeantiX └─sda3 8:3 0 2G 0 part [SWAP] sdb 8:16 1 1,9G 0 disk ├─sdb1 8:17 1 803M 0 part /live/boot-dev └─sdb2 8:18 1 49M 0 part /media/ANTIX-UEFI demo@antix1:~ $ dd if=/dev/sda1 of=/media/homeantiX/partition_1.img dd: falha ao abrir '/dev/sda1': Permissão negada demo@antix1:~ $ sudo dd if=/dev/sda1 of=/media/homeantiX/partition_1.img 41943040+0 registros de entrada 41943040+0 registros de saída 21474836480 bytes (21 GB, 20 GiB) copiados, 7602,7 s, 2,8 MB/s demo@antix1:~ $ The image "partition_1.img" is 20 GB and was created in / media / homeantiX /. A imagem "partition_1.img" possui 20 GB e foi criada em /media/homeantiX/. I restarted the computer to make sure the hard drive partitions are unmounted (/ media/homeantiX/ and /media/rootantiX/) Reiniciei o computador para ter certeza que as partições do disco rígido estão desmontadas (/media/homeantiX/ e /media/rootantiX/) demo@antix1:~ $ sudo fsck /dev/sda1 We assume that you have received the usual instructions from the administrator local system. Basically, it boils down to these three things: # 1) Respect the privacy of others. # 2) Think before you type. # 3) With great powers come great responsibilities. Presumimos que você recebeu as instruções de sempre do administrador de sistema local. Basicamente, resume-se a estas três coisas: #1) Respeite a privacidade dos outros. #2) Pense antes de digitar. #3) Com grandes poderes vêm grandes responsabilidades. [sudo] senha para demo: fsck from util-linux 2.33.1 e2fsck 1.44.5 (15-Dec-2018) rootantiX19: clean, 118929/1310720 files, 1872413/5242880 blocks demo@antix1:~ $ sudo fsck /media/rootantiX fsck from util-linux 2.33.1 e2fsck 1.44.5 (15-Dec-2018) fsck.ext2: File or directory does not exist while trying to open / media / rootantiX fsck.ext2: Arquivo ou diretório inexistente enquanto tenta abrir/media/rootantiX Possibly non-existent device? Dispositivo possivelmente inexistente? demo@antix1:~ $ demo@antix1:~ $ cat /var/log/fsck/checkfs cat: /var/log/fsck/checkfs: Permission denied cat: /var/log/fsck/checkfs: Permissão negada demo@antix1:~ $ sudo cat /var/log/fsck/checkfs [sudo] senha para demo: (Nothing has been logged yet.) (Nada foi registrado ainda.) demo@antix1:~ $ fsck /media/rootantiX fsck from util-linux 2.33.1 e2fsck 1.44.5 (15-Dec-2018) fsck.ext2: Arquivo ou diretório inexistente while trying to open /media/rootantiX fsck.ext2: Arquivo ou diretório inexistente ao tentar abrir /media/rootantiX Possibly non-existent device? Dispositivo possivelmente inexistente? demo@antix1:~ $ sudo fsck /media/rootantiX fsck from util-linux 2.33.1 e2fsck 1.44.5 (15-Dec-2018) fsck.ext2: File or directory does not exist while trying to open /media/rootantiX Possibly non-existent device? fsck.ext2: Arquivo ou diretório inexistente while trying to open /media/rootantiX Possibly non-existent device? demo@antix1:~ $ sudo fsck /dev/rootantiX fsck from util-linux 2.33.1 e2fsck 1.44.5 (15-Dec-2018) fsck.ext2: File or directory does not exist while trying to open /dev/rootantiX fsck.ext2: Arquivo ou diretório inexistente while trying to open /dev/rootantiX Possibly non-existent device? Dispositivo possivelmente inexistente? demo@antix1:~ $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk loop0 7:0 0 701,1M 1 loop /live/linux sda 8:0 0 74,5G 0 disk ├─sda1 8:1 0 20G 0 part ├─sda2 8:2 0 52,5G 0 part └─sda3 8:3 0 2G 0 part [SWAP] sdb 8:16 1 1,9G 0 disk ├─sdb1 8:17 1 803M 0 part /live/boot-dev └─sdb2 8:18 1 49M 0 part /media/ANTIX-UEFI demo@antix1:~ $ sudo fsck /dev/sda fsck from util-linux 2.33.1 e2fsck 1.44.5 (15-Dec-2018) /dev/sda is in use. e2fsck: Cannot continue, aborting. e2fsck: Não é possível continuar, abortando. demo@antix1:~ $ sudo fsck /dev/sda1 fsck from util-linux 2.33.1 e2fsck 1.44.5 (15-Dec-2018) rootantiX19: clean, 118929/1310720 files, 1872413/5242880 blocks rootantiX19: limpo, 118929/1310720 arquivos, 1872413/5242880 blocos demo@antix1:~ $