I installed Ubuntu alongside Windows 10 from a live USB. After the installation completed, it said I should restart my computer. Then, I was greeted with the grub rescue prompt (error: no such device ... entering rescue mode). I booted to the USB again and ran the boot-repair
tool, which said the boot was successfully repaired.
However, when I turned on my machine again, it greeted me with the same error and grub rescue prompt. This boot-repair URL. Any ideas on how to fix the issue? I also tried mounting the real ubuntu installation from the live USB, using chroot and running grub-reinstall
which did not help.
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
from LiveUSB? – user334639 Oct 12 '17 at 16:30