Onde o ttar.gz deve estar localizado na instalação?

2

Eu quero instalar o boot-repair_3.193.7.orig.tar.gz para reparar meu computador, pois ele não inicializa (somente recebo o prompt "grub rescue"). Agora inicializado em um Ubuntu Ubuntu 11.10 ao vivo.

Queria seguir os passos abaixo (encontrados em este post )

tar -zxvf aircrack-ng-1.1.tar.gz.
cd aircrack-ng-1.1.tar.gz
make
make install

Depois de digitar a primeira linha, esta é a saída no Terminal:

ubuntu@ubuntu:~$ tar -zxvf boot-repair_3.193.7.orig.tar.gz
tar (child): boot-repair_3.193.7.orig.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Isso tem a ver com a localização do tar.gz? Eu fiz o download para o diretório Downloads e localizei-o no Gerenciador de arquivamento, o que mostra que ele está na raiz.

Por favor, ajude com a solução passo-a-passo.

UPDATE: Saída do terminal após cd boot-repair_3.193.7.orig de acordo com a sugestão de Seth:

ubuntu@ubuntu:~$ tar -zxvf boot-repair_3.193.7.orig.tar.gz
.gitignore
usr/share/icons/hicolor/128x128/apps/boot-repair.png
usr/share/icons/hicolor/128x128/apps/os-uninstaller.png
usr/share/locale/af/LC_MESSAGES/boot-sav.mo
usr/share/locale/ar/LC_MESSAGES/boot-sav.mo
usr/share/locale/ast/LC_MESSAGES/boot-sav.mo
usr/share/locale/az/LC_MESSAGES/boot-sav.mo
usr/share/locale/be/LC_MESSAGES/boot-sav.mo
usr/share/locale/bg/LC_MESSAGES/boot-sav.mo
usr/share/locale/bn/LC_MESSAGES/boot-sav.mo
usr/share/locale/bs/LC_MESSAGES/boot-sav.mo
usr/share/locale/ca/LC_MESSAGES/boot-sav.mo
usr/share/locale/ckb/LC_MESSAGES/boot-sav.mo
usr/share/locale/cs/LC_MESSAGES/boot-sav.mo
usr/share/locale/da/LC_MESSAGES/boot-sav.mo
usr/share/locale/de/LC_MESSAGES/boot-sav.mo
usr/share/locale/el/LC_MESSAGES/boot-sav.mo
usr/share/locale/en_AU/LC_MESSAGES/boot-sav.mo
usr/share/locale/en_CA/LC_MESSAGES/boot-sav.mo
usr/share/locale/en_GB/LC_MESSAGES/boot-sav.mo
usr/share/locale/eo/LC_MESSAGES/boot-sav.mo
usr/share/locale/es/LC_MESSAGES/boot-sav.mo
usr/share/locale/et/LC_MESSAGES/boot-sav.mo
usr/share/locale/eu/LC_MESSAGES/boot-sav.mo
usr/share/locale/fa/LC_MESSAGES/boot-sav.mo
usr/share/locale/fi/LC_MESSAGES/boot-sav.mo
usr/share/locale/nn/LC_MESSAGES/boot-sav.mo
usr/share/locale/oc/LC_MESSAGES/boot-sav.mo
usr/share/locale/pl/LC_MESSAGES/boot-sav.mo
usr/share/locale/pt/LC_MESSAGES/boot-sav.mo
usr/share/locale/pt_BR/LC_MESSAGES/boot-sav.mo
usr/share/locale/ro/LC_MESSAGES/boot-sav.mo
usr/share/locale/ru/LC_MESSAGES/boot-sav.mo
usr/share/locale/sk/LC_MESSAGES/boot-sav.mo
usr/share/locale/sl/LC_MESSAGES/boot-sav.mo
usr/share/locale/sq/LC_MESSAGES/boot-sav.mo
usr/share/locale/sr/LC_MESSAGES/boot-sav.mo
usr/share/locale/sv/LC_MESSAGES/boot-sav.mo
usr/share/locale/sw/LC_MESSAGES/boot-sav.mo
usr/share/locale/ta/LC_MESSAGES/boot-sav.mo
usr/share/locale/te/LC_MESSAGES/boot-sav.mo
usr/share/locale/th/LC_MESSAGES/boot-sav.mo
usr/share/locale/tl/LC_MESSAGES/boot-sav.mo
usr/share/locale/tr/LC_MESSAGES/boot-sav.mo
usr/share/locale/ug/LC_MESSAGES/boot-sav.mo
usr/share/locale/uk/LC_MESSAGES/boot-sav.mo
usr/share/locale/ur/LC_MESSAGES/boot-sav.mo
usr/share/locale/uz/LC_MESSAGES/boot-sav.mo
usr/share/locale/vi/LC_MESSAGES/boot-sav.mo
usr/share/locale/yi/LC_MESSAGES/boot-sav.mo
usr/share/locale/zh_CN/LC_MESSAGES/boot-sav.mo
usr/share/locale/zh_HK/LC_MESSAGES/boot-sav.mo
usr/share/locale/zh_TW/LC_MESSAGES/boot-sav.mo
usr/share/locale/fil/LC_MESSAGES/boot-sav.mo
usr/share/locale/fr/LC_MESSAGES/boot-sav.mo
usr/share/locale/ga/LC_MESSAGES/boot-sav.mo
usr/share/locale/gl/LC_MESSAGES/boot-sav.mo
usr/share/locale/gu/LC_MESSAGES/boot-sav.mo
usr/share/locale/he/LC_MESSAGES/boot-sav.mo
usr/share/locale/hi/LC_MESSAGES/boot-sav.mo
usr/share/locale/hr/LC_MESSAGES/boot-sav.mo
usr/share/locale/ht/LC_MESSAGES/boot-sav.mo
usr/share/locale/hu/LC_MESSAGES/boot-sav.mo
usr/share/locale/hy/LC_MESSAGES/boot-sav.mo
usr/share/locale/id/LC_MESSAGES/boot-sav.mo
usr/share/locale/is/LC_MESSAGES/boot-sav.mo
usr/share/locale/it/LC_MESSAGES/boot-sav.mo
usr/share/locale/ja/LC_MESSAGES/boot-sav.mo
usr/share/locale/ka/LC_MESSAGES/boot-sav.mo
usr/share/locale/kn/LC_MESSAGES/boot-sav.mo
usr/share/locale/ko/LC_MESSAGES/boot-sav.mo
usr/share/locale/lt/LC_MESSAGES/boot-sav.mo
usr/share/locale/lv/LC_MESSAGES/boot-sav.mo
usr/share/locale/mg/LC_MESSAGES/boot-sav.mo
usr/share/locale/mk/LC_MESSAGES/boot-sav.mo
usr/share/locale/ms/LC_MESSAGES/boot-sav.mo
usr/share/locale/mt/LC_MESSAGES/boot-sav.mo
usr/share/locale/nb/LC_MESSAGES/boot-sav.mo
usr/share/locale/nl/LC_MESSAGES/boot-sav.mo
usr/share/apport/package-hooks/source_boot-repair.py
usr/share/apport/package-hooks/source_os-uninstaller.py
usr/share/doc/boot-repair/changelog.gz
usr/share/doc/boot-sav/changelog.gz
usr/share/doc/clean-ubiquity/changelog.gz
usr/share/doc/os-uninstaller/changelog.gz
usr/share/applications/boot-repair.desktop
usr/share/applications/os-uninstaller.desktop
usr/share/boot-sav/gui-init.sh
usr/share/boot-sav/gui-actions.sh
usr/share/boot-sav/gui-tab-grub.sh
usr/share/boot-sav/gui-dummy.sh
usr/share/boot-sav/gui-actions-purge.sh
usr/share/boot-sav/gui-translations.sh
usr/share/boot-sav/bis.sh
usr/share/boot-sav/gui-tab-other.sh
usr/share/boot-sav/boot-repair-gui.sh
usr/share/boot-sav/boot-sav.glade
usr/share/boot-sav/gui-scan.sh
usr/share/boot-sav/bs-init.sh
usr/share/boot-sav/gui-actions-grub.sh
usr/share/boot-sav/bs-common.sh
usr/share/boot-sav/gui-tab-loca.sh
usr/share/boot-sav/gui-tab-mbr.sh
usr/share/boot-sav/packconfig.png
usr/share/boot-sav/removegrub.png
usr/share/boot-sav/boot-repair.png
usr/share/boot-sav/boot-repair.sh
usr/share/boot-sav/boot-repair-actions.sh
usr/share/boot-sav/boot-repair-translations.sh
usr/share/boot-sav/os-uninstaller.png
usr/share/boot-sav/os-uninstaller.sh
usr/share/boot-sav/os-uninstaller-actions.sh
usr/share/boot-sav/os-uninstaller-gui.sh
usr/share/boot-sav/os-uninstaller-translations.sh
usr/share/boot-sav/gui-raid-lvm.sh
usr/share/boot-sav/gui-tab-main.sh
usr/share/boot-sav/gui-g2slaunch.sh
usr/bin/cleanubiquityafter
usr/bin/cleanubiquitybefore
usr/bin/os-uninstaller
usr/bin/boot-repair
etc/apport/crashdb.conf.d/os-uninstaller-crashdb.conf
etc/apport/crashdb.conf.d/boot-repair-crashdb.conf
docs/cleanubiquityafter.8
docs/cleanubiquitybefore.8
docs/os-uninstaller.8
docs/boot-repair.8
usr/share/icons/hicolor/128x128/apps/
usr/share/locale/af/LC_MESSAGES/
usr/share/locale/ar/LC_MESSAGES/
usr/share/locale/ast/LC_MESSAGES/
usr/share/locale/az/LC_MESSAGES/
usr/share/locale/be/LC_MESSAGES/
usr/share/locale/bg/LC_MESSAGES/
usr/share/locale/bn/LC_MESSAGES/
usr/share/locale/bs/LC_MESSAGES/
usr/share/locale/ca/LC_MESSAGES/
usr/share/locale/ckb/LC_MESSAGES/
usr/share/locale/cs/LC_MESSAGES/
usr/share/locale/da/LC_MESSAGES/
usr/share/locale/de/LC_MESSAGES/
usr/share/locale/el/LC_MESSAGES/
usr/share/locale/en_AU/LC_MESSAGES/
usr/share/locale/en_CA/LC_MESSAGES/
usr/share/locale/en_GB/LC_MESSAGES/
usr/share/locale/eo/LC_MESSAGES/
usr/share/locale/es/LC_MESSAGES/
usr/share/locale/et/LC_MESSAGES/
usr/share/locale/eu/LC_MESSAGES/
usr/share/locale/fa/LC_MESSAGES/
usr/share/locale/fi/LC_MESSAGES/
usr/share/locale/nn/LC_MESSAGES/
usr/share/locale/oc/LC_MESSAGES/
usr/share/locale/pl/LC_MESSAGES/
usr/share/locale/pt/LC_MESSAGES/
usr/share/locale/pt_BR/LC_MESSAGES/
usr/share/locale/ro/LC_MESSAGES/
usr/share/locale/ru/LC_MESSAGES/
usr/share/locale/sk/LC_MESSAGES/
usr/share/locale/sl/LC_MESSAGES/
usr/share/locale/sq/LC_MESSAGES/
usr/share/locale/sr/LC_MESSAGES/
usr/share/locale/sv/LC_MESSAGES/
usr/share/locale/sw/LC_MESSAGES/
usr/share/locale/ta/LC_MESSAGES/
usr/share/locale/te/LC_MESSAGES/
usr/share/locale/th/LC_MESSAGES/
usr/share/locale/tl/LC_MESSAGES/
usr/share/locale/tr/LC_MESSAGES/
usr/share/locale/ug/LC_MESSAGES/
usr/share/locale/uk/LC_MESSAGES/
usr/share/locale/ur/LC_MESSAGES/
usr/share/locale/uz/LC_MESSAGES/
usr/share/locale/vi/LC_MESSAGES/
usr/share/locale/yi/LC_MESSAGES/
usr/share/locale/zh_CN/LC_MESSAGES/
usr/share/locale/zh_HK/LC_MESSAGES/
usr/share/locale/zh_TW/LC_MESSAGES/
usr/share/locale/fil/LC_MESSAGES/
usr/share/locale/fr/LC_MESSAGES/
usr/share/locale/ga/LC_MESSAGES/
usr/share/locale/gl/LC_MESSAGES/
usr/share/locale/gu/LC_MESSAGES/
usr/share/locale/he/LC_MESSAGES/
usr/share/locale/hi/LC_MESSAGES/
usr/share/locale/hr/LC_MESSAGES/
usr/share/locale/ht/LC_MESSAGES/
usr/share/locale/hu/LC_MESSAGES/
usr/share/locale/hy/LC_MESSAGES/
usr/share/locale/id/LC_MESSAGES/
usr/share/locale/is/LC_MESSAGES/
usr/share/locale/it/LC_MESSAGES/
usr/share/locale/ja/LC_MESSAGES/
usr/share/locale/ka/LC_MESSAGES/
usr/share/locale/kn/LC_MESSAGES/
usr/share/locale/ko/LC_MESSAGES/
usr/share/locale/lt/LC_MESSAGES/
usr/share/locale/lv/LC_MESSAGES/
usr/share/locale/mg/LC_MESSAGES/
usr/share/locale/mk/LC_MESSAGES/
usr/share/locale/ms/LC_MESSAGES/
usr/share/locale/mt/LC_MESSAGES/
usr/share/locale/nb/LC_MESSAGES/
usr/share/locale/nl/LC_MESSAGES/
usr/share/icons/hicolor/128x128/
usr/share/locale/af/
usr/share/locale/ar/
usr/share/locale/ast/
usr/share/locale/az/
usr/share/locale/be/
usr/share/locale/bg/
usr/share/locale/bn/
usr/share/locale/bs/
usr/share/locale/ca/
usr/share/locale/ckb/
usr/share/locale/cs/
usr/share/locale/da/
usr/share/locale/de/
usr/share/locale/el/
usr/share/locale/en_AU/
usr/share/locale/en_CA/
usr/share/locale/en_GB/
usr/share/locale/eo/
usr/share/locale/es/
usr/share/locale/et/
usr/share/locale/eu/
usr/share/locale/fa/
usr/share/locale/fi/
usr/share/locale/nn/
usr/share/locale/oc/
usr/share/locale/pl/
usr/share/locale/pt/
usr/share/locale/pt_BR/
usr/share/locale/ro/
usr/share/locale/ru/
usr/share/locale/sk/
usr/share/locale/sl/
usr/share/locale/sq/
usr/share/locale/sr/
usr/share/locale/sv/
usr/share/locale/sw/
usr/share/locale/ta/
usr/share/locale/te/
usr/share/locale/th/
usr/share/locale/tl/
usr/share/locale/tr/
usr/share/locale/ug/
usr/share/locale/uk/
usr/share/locale/ur/
usr/share/locale/uz/
usr/share/locale/vi/
usr/share/locale/yi/
usr/share/locale/zh_CN/
usr/share/locale/zh_HK/
usr/share/locale/zh_TW/
usr/share/locale/fil/
usr/share/locale/fr/
usr/share/locale/ga/
usr/share/locale/gl/
usr/share/locale/gu/
usr/share/locale/he/
usr/share/locale/hi/
usr/share/locale/hr/
usr/share/locale/ht/
usr/share/locale/hu/
usr/share/locale/hy/
usr/share/locale/id/
usr/share/locale/is/
usr/share/locale/it/
usr/share/locale/ja/
usr/share/locale/ka/
usr/share/locale/kn/
usr/share/locale/ko/
usr/share/locale/lt/
usr/share/locale/lv/
usr/share/locale/mg/
usr/share/locale/mk/
usr/share/locale/ms/
usr/share/locale/mt/
usr/share/locale/nb/
usr/share/locale/nl/
usr/share/icons/hicolor/
usr/share/apport/package-hooks/
usr/share/doc/boot-repair/
usr/share/doc/boot-sav/
usr/share/doc/clean-ubiquity/
usr/share/doc/os-uninstaller/
usr/share/locale/
usr/share/applications/
usr/share/icons/
usr/share/apport/
usr/share/boot-sav/
usr/share/doc/
usr/share/
usr/bin/
usr/
etc/apport/crashdb.conf.d/
etc/apport/
etc/
docs/
ubuntu@ubuntu:~$ cd boot-repair_3.193.7.orig
bash: cd: boot-repair_3.193.7.orig: No such file or directory
ubuntu@ubuntu:~$ 
    
por monto 07.06.2013 / 00:43

3 respostas

1

Para instalar o reparo da inicialização, siga as instruções aqui . Para resumir, digite este comando:

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update && sudo apt-get install -y boot-repair && (boot-repair &)

O reparo de inicialização deve ser instalado e executado automaticamente. Selecione "Reparo recomendado" quando solicitado. Se o seu sistema ainda não inicializar após executar o reparo de inicialização, volte ao Ask Ubuntu e inicie uma nova pergunta incluindo o link do script de inicialização que o reparo de inicialização lhe dará.

    
por Richard 07.06.2013 / 00:48
1

Você está no diretório / home no terminal, não no diretório Downloads. Como o arquivo está no diretório de downloads, digite cd Downloads para alternar os diretórios.

Mas se você quiser instalar o Reparo de inicialização, instalá-lo a partir do Terminal é uma opção melhor.

Pesquise pelo Terminal no Dash e digite estes dois comandos:

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install boot-repair
    
por Emerson Hsieh 07.06.2013 / 00:49
0

Você precisa estar no mesmo diretório do arquivo quando executar o comando tar -zxvf boot-repair_3.193.7.orig.tar.gz .

Você pode autocompletar pressionando guia se você estiver no mesmo diretório que o arquivo. Ou seja, comece a digitar tar xvfz boo e clique na aba . Se estiver lá, ele será preenchido automaticamente no nome completo do arquivo (ou dará as possíveis conclusões) e também será salvo.

Tem certeza de que precisa usar make nisso tudo? Não vejo nenhum arquivo de origem na árvore extraída.

Você não precisa seguir as mesmas instruções do aircrack. Você deve ser capaz de encontrar ./usr/bin/boot-repair no diretório boot-repair que você extraiu. No entanto, não está totalmente instalado como esperado. Dada a situação atual, recomendo strongmente seguir uma das respostas do apt-get.

    
por belacqua 07.06.2013 / 01:39