3

I am stuck at grub rescue. I tried booting Ubuntu from a live USB, then doing this

sudo app-apt-repository ppa:yannubuntu/boot-repair

the this error came up.

Please check that the PPA name or format is correct.
Byte Commander
  • 107,489
  • Please take a look http://askubuntu.com/questions/429803/cannot-add-ppa-please-check-that-the-ppa-name-or-format-is-correct – BeGood Nov 25 '15 at 10:42

1 Answers1

1

You are using the wrong command(s) - the correct ones are :

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

Reference

Note : When you really deleted the Ubuntu system partition, you better should reinstall Ubuntu.

cl-netbox
  • 31,163
  • 7
  • 94
  • 131