Ubuntu: Where does ttar.gz have to be located at installation?



Question:

I want to install boot-repair_3.193.7.orig.tar.gz to repair my computer as it doesn't boot (only get the "grub rescue" prompt). Now booted on a live USB Ubuntu 11.10.

Wanted to follow the below steps (found in this post)

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

After typing the first line, this is the output in the 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  

Does this have to do with the location of the tar.gz? I downloaded it to the Downloads directory, and located it in the Archive Manager, which shows it's under the root.

Please help with step-by-step solution.

UPDATE: Terminal output after cd boot-repair_3.193.7.origas per Seth's suggestion:

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:~$   


Solution:1

To install boot-repair, follow the instructions here. To summarize, type in this command instead:

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

Boot-repair should automatically install and run. Select "Recommended Repair" when prompted. If your system still does not boot after running boot-repair, come back to Ask Ubuntu and start a new question including the boot script link that boot-repair will give you.


Solution:2

You are under the /home directory in the terminal, not in the Downloads directory. Because the file is in the Downloads Directory type cd Downloads to switch the directories.

But if you want to install Boot-Repair installing it from the Terminal is a better option.

Search for the Terminal in the Dash, then type these 2 commands:

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


Solution:3

You need to be in the same directory as the file when you run the command tar -zxvf boot-repair_3.193.7.orig.tar.gz .

You can autocomplete by pressing tab if you are in the same directory as the file. I.e., start typing tar xvfz boo and hit tab. If it's there, it will autocomplete into the full filename (or give the possible completions) and save typing as well.

Are you sure you need to use make on this at all? I don't see any source files in the extracted tree.

You don't need to follow the same instructions as for aircrack. You should be able to find ./usr/bin/boot-repair under the boot-repair directory you extracted. However, it isn't fully installed as it expects. Given the current situation, I strongly recommend following one of the apt-get answers.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »