The solution was manually partitioning the disk and choosing the installation location of grub to an efi partition. I guess ubuntu was trying to install the grub to a wrong partition, such as /dev/sda.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1777461 Title: unable to install grub in /dev/sda To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1777461/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs