0

On my Lenovo Y50-70 laptop i had both Windows 10 and Ubuntu 17.10. I've tried to remove. Ubuntu I've followed those instructions: https://askubuntu.com/a/869888/45439 to remove ubuntu from EFI just to realize that I'm affected by this kernel bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1734147

Currently I'm only able to boot into windows. Is there a way to recreate EFI entry for Ubuntu from Windows? I assume this would allow me to fix the kernel bug by updating the kernel.

airborn
  • 111

1 Answers1

1

Thanks to @PRATAP answer I was able to recover grub and boot into Ubuntu. Thanks!

Steps to fix:

  1. I've installed Ubuntu 17.10 on Virtual box.
  2. Copy /boot/efi/EFI/ubuntu to Z:\EFI\ubuntu
  3. Thanks to How to Rescue a Non-booting GRUB 2 on Linux article I was able to boot Ubuntu. Basicly in my case:

    grub> set root=(hd0,1)
    grub> linux /vmlinuz root=/dev/sda1
    grub> initrd /initrd.img
    grub> boot
    
  4. After booting into Ubuntu I've fixed grub config sudo update-grub

  5. Following the instructions from the description of the bug I've installed Kernel linux-image-4.15.0-041500rc6-generic_4.15.0-041500rc6.201712312330+20170103+1_amd64

  6. After 2 reboots I was able to change BIOS settings once again

airborn
  • 111