In my case the problem happened because the graphical installer wrongly chose to install grub-efi-amd64 instead of grub-pc. Workaround to fix this problem (after installer crashes):
1. Mount the installed system (assuming /boot is placed on the same partition as root filesystem) and all neccessary partitions: sudo mount /dev/sdc1 /mnt # /dev/sdc1 - is the partition on which I installed ubuntu 18.04 sudo mount -t proc none /mnt/proc sudo mount --bind /dev /mnt/dev sudo cp /etc/resolv.conf /mnt/etc/resolv.conf 2. Chroot into the installed system: sudo chroot /mnt /bin/bash source /etc/profile 3. Reinstall correct version of grub 2 and configure it: sudo apt remove grub-common sudo apt install grub-pc sudo update-grub sudo grub-install /dev/sda # /dev/sda is the primary drive on which windows is installed 4. Reboot and repeat "sudo update-grub" if Windows is missing in dual- boot options. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774861 Title: grub-install crashes when installing Ubuntu 18.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1774861/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
