Bug solved:
oot Ubuntu Live DVD/USB in testing mode and open terminal
Run installation process without installing boot loader by:
sudo ubiquity -b
Press Continue testing after installation is over.
Mount the newly installed file system into /mnt:
sudo mount /dev/sda2 /mnt
sudo mount /dev/sda1 /mnt/boot/efi
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
(Where sda6 is t root partition and sda1 is the EFI partition.)
Load the efivars module by:
sudo modprobe efivars
Reinstall grub-install for a 64-bit version:
sudo apt-get install --reinstall grub-efi-amd64-signed
sudo grub-install --no-nvram --root-directory=/mnt
Change root to /mnt and update Grub:
sudo chroot /mnt
update-grub
Move and rename the installed boot loader:
cd /boot/efi/EFI
cp -R ubuntu/* BOOT/
cd BOOT
cp grubx64.efi bootx64.efi
Reboot the system
update-grub
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1798746
Title:
Grub install fail - ubuntu 18.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1798746/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs