I had formatted efi partition and installed windows again. I have dual boot Windows and Linux, then I installed the grub bootloader again from a live usb using these commands:
mount /dev/sda* /mnt
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mount /dev/sda* /mnt/boot/efi
mount /mnt/hostrun
mount --bind /run /mnt/hostrun
chroot /mnt
grub-install /dev/sda
update-grub
exit
Then I unmounted all of this again. When I tried to boot, I got this messages:
[ TIME ] Timed out waiting for device dev-disk-by\x2duuid-C829\x2dC4C1.device.
[DEPEND] Dependency failed for file system check on /dev/disk/by-uuid/C829-C4C1.
[DEPEND] Dependency failed for /boot/efi.
[DEPEND] Dependency failed for Local File System.
and it turns me into emergency mode. How can I solve this problem?
/etc/fstab
usingblkid
command.