Two days ago I tried to install debian linux alongside ubuntu just because of some recommendations, but yesterday I deleted the whole debian os and it seems that ubuntu's boot loader wont work and I'm face grub rescue. Any answer I found on internet was for windows alongside linux and so now I can't recover my files on ubuntu partition, any one can help?
Asked
Active
Viewed 600 times
1 Answers
0
Huh, finally loging in to ubuntu without reinstalling :))) First I should say that I didn't want to put this question behind so I will share my answer
I found something here that can help anyone if my respond won't work on their computers:
https://help.ubuntu.com/community/Grub2/Installing
I made a bootable USB stick to reinstall Ubuntu, then I chose secure boot password again and in partitioning tab I chose something else... And then changed bootloader location to my /boot directory, then I restarted computer, opened up BIOS and chose /boot again for loading and after a while Ubuntu started normally without missing any files!

amiraloi
- 1
grub
. The break was done by whomever deleted the Debian partition (ie. last installed) that controlled booting. If you want to remove a partition in future; always ensure that OS/partition isn't used in the booting process before you delete/remove it (by default it's the last OS installed unless you specifically changed ownership of boot via command) – guiverc Sep 23 '21 at 23:00