Sunday, January 3, 2016

[Solved]grub fail to boot Windows 10 with Ubuntu 15.10/16.04

Grub2雙重開機要進入Windows 10時,出現
error: 無法找到 'grub_efi_find_last_device_path' 符號
or
error: symbol 'grub_efi_find_last_device_path' not found

grub-efi-amd64的版本為2.02~beta2-29ubuntu0.3(Ubuntu15.10) 2.02~beta2-36(Ubuntu16.04)


解決方式
重裝前一版本2.02~beta2-29ubuntu0.2即可正常進入Windows 10
下載2.02~beta2-29ubuntu0.2版本deb檔
https://launchpad.net/ubuntu/wily/amd64/grub-efi-amd64/2.02~beta2-29ubuntu0.2
安裝
dpkg -i grub-common_2.02~beta2-29ubuntu0.2_amd64.deb
dpkg -i grub2-common_2.02~beta2-29ubuntu0.2_amd64.deb                      
dpkg -i grub-efi-amd64-bin_2.02~beta2-29ubuntu0.2_amd64.deb
dpkg -i grub-efi-amd64_2.02~beta2-29ubuntu0.2_amd64.deb
如果不要自動被升級grub,可以執行下列命令

sudo apt-mark hold grub-common grub-efi-amd64-bin grub2-common grub-efi-amd64
解除不升級
sudo apt-mark install grub-common grub-efi-amd64-bin grub2-common grub-efi-amd64

Solution:
Downgrade version of grub-efi-amd64 to 2.02~beta2-29ubuntu0.2
https://launchpad.net/ubuntu/wily/amd64/grub-efi-amd64/2.02~beta2-29ubuntu0.2
Installation:
dpkg -i grub-common_2.02~beta2-29ubuntu0.2_amd64.deb
dpkg -i grub2-common_2.02~beta2-29ubuntu0.2_amd64.deb                      
dpkg -i grub-efi-amd64-bin_2.02~beta2-29ubuntu0.2_amd64.deb
dpkg -i grub-efi-amd64_2.02~beta2-29ubuntu0.2_amd64.deb

disable upgrade grub
sudo apt-mark hold grub-common grub-efi-amd64-bin grub2-common grub-efi-amd64
enable upgrade grub
sudo apt-mark install grub-common grub-efi-amd64-bin grub2-common grub-efi-amd64



package depends on
grub-common_2.02~beta2-29ubuntu0.2_amd64.deb
grub-efi-amd64-bin_2.02~beta2-29ubuntu0.2_amd64.deb
grub2-common_2.02~beta2-29ubuntu0.2_amd64.deb                  
grub-efi-amd64_2.02~beta2-29ubuntu0.2_amd64.deb




reference:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808366;msg=2
http://askubuntu.com/questions/737105/windows-8-stopped-booting

1 comment:

Wenqian Cheng said...

It solved my problem! Thank you ;)