Win10 Ubuntu 18.04 install failed solution

During install Ubuntu18.04 instead of Ubuntu16.04,I get the error :

grub-efi-amd64-signed package failed to install into /target/

and use the boot-repair also encounter the error:

grub-efi-amd64-signed purge cancelled
  1. Try ubuntu (not installation)
  2. umount all partion of nvme(disk)
sudo umount /dev/nvme0n1p1
sudo umount /dev/nvme0n1p2
...
sudo umount /dev/nvme0n1p7
  1. install boot-repair
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt update
sudo apt install -y boot-repair
boot-repair
  1. do as the boot-repair display:
sudo chroot "/target" dpkg --configure -a
sudo chroot "/target" apt-get install -fy
sudo chroot "/target" apt-get purge -y grub*-common grub-common:i386 shim-signed
sudo chroot "/target" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic linux-signed-generic

Do not delete the grub2.

  1. reboot.
  2. If the download speed is slow, change the software apt source. Reference : Ubuntu 18.04 軟件源修改成國內源
  3. If the boot-repair success, the message is :
Boot successfully repaired.

Please write on a paper the following URL:
http://paste.ubuntu.com/p/vdgzmJWBHC/


In case you still experience boot problem, indicate this URL to:
[email protected] or to your favorite support forum.

You can now reboot your computer.
Please do not forget to make your BIOS boot on nvme0n1p1/EFI/ubuntu/shimx64.efi file!

If your computer reboots directly into Windows, try to change the boot order in your BIOS.
If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章