Although the bug is a bit different, the workaround in the bug below is quite generic. Maybe you could try it or adapt it to your needs:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1771651 I hope this helps, regards, Onno -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1771782 Title: The ubuntu 18.04 installer went through the installation process and then suddenly halted, said I cannot install the grub bootloader. Looks like I am cooked. My machine is useless without an operating system. I did not even keep my older ubuntu 14.04 installation. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1771782/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
