The stroy were i've installed Ubuntu 16.04 LTS then i installed Windows 10 on my laptop (dual boot). It was on UEFI mode installation.
So, when i restart my laptop, it boot into Windows 10. After that, i reinstall Grub from Ubuntu Live USB. But, it wasn't succeed
What i have done so far is :
Terminal :
ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt
ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt/boot/efi
ubuntu@ubuntu:~$ for i in /dev /dev/pts /proc /sys /run
> do sudo mount -B $i /mnt$i
> done
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# grub-install /dev/sda
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
Disk :
Device Start End Sectors Size Type
/dev/sda1 2048 78125055 78123008 37.3G EFI System
/dev/sda2 78125056 488493055 410368000 195.7G Linux filesystem
/dev/sda3 488493056 506071039 17577984 8.4G Linux swap
/dev/sda4 506071040 506103807 32768 16M Microsoft reserved
/dev/sda5 506103808 976773119 470669312 224.4G Microsoft basic data
EDIT
It is too long to reply @oldfred comment with this text. So i put it here.
Hi @oldfred .. i've been confusing about Operating System Booting settings. I set booting mode on UEFI (Secure Boot), after that i installed Ubuntu. During installation
, it said i did something wrong (not recommended way) after created partition and it must be use Legacy BIOS to make dual-boot possible in the future. So, i went to change the Boot's Settings mode to Legacy BIOS. After that i installed Ubuntu with succeed. Then i installed Windows (still on Legacy BIOS mode). It was succeed as well. Then i went to recover GRUB to enable dual-boot. I followed this tutorial (https://www.linuxdeveloper.space/install-windows-after-linux/#repair-grub-efi). I reboot my laptop .. just end up with Windows appeared after booting.
Any idea why i can't reinstall grub ?
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
-- You have no partition with abios_grub
flag. See this link, https://help.ubuntu.com/community/DiskSpace – sudodus Sep 15 '17 at 04:45