I have tried installing a Ubuntu OS onto a partition (sda3).
When I had difficulties with the install, I decided to delete everything from the partition.
But now when I boot the computer, I get taken to the 'grub rescue' prompt.
I have tried to find grub in my other partitions (sda1 and sda2).
However, the command 'ls (hd0,msdos1)/' for example, does not show a grub directory.
It must've transferred grub to sda3 somehow and now I've deleted it.
I have debian live USB and am trying to install grub with:
Code:
apt-get install-grub /dev/sda
But I get the error message:
Code:
bash: grub-install: command not found
So now I don't know what's going on. Can anyone please help?