0

Recently got a laptop with Windows 10, I went ahead and installed Kubuntu 17.04 properly. Never used Windows since and today I made the mistake of using it. Before shutting down it installed updates which removed traces of the grub. I have not been able to boot into grub since.

I went ahead and shut off the Windows 10 hibernate feature here: Installation fails on Grub (Read only EFI partition?)

I also turned off the Windows 10 fast start feature.

I cannot use the internet on the live CD because it needs a kernel update, there's no ethernet port, and the dongle has only one USB port available for the Live Disk.

I've booted up a live disk with 17.04 for 64 bit systems and have done the following.

Disk layout From the output of -fdisk -l i know the following:

/dev/nvme0n1p1 - efi (100mb) 
/dev/nvme0n1p5 - 23.3 gb kubuntu install
/dev/nvme0n1p6 - home (100gb)  

I tried the following procedure several times:

sudo mount /dev/nvme0n1p5 /mnt
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
grub-install /dev/nvme0n1 (is this the right location?) 
update-grub  

There are input/output errors appearing when updating grub, but at the end it says the boot configuration file was updated. After doing a --recheck,it still shows no errors.

I have also done the steps for the thread below on different attempts: How can I repair grub? (How to get Ubuntu back after installing Windows?)

After doing these steps I exit chroot and sudo reboot. However I am always brought back to Windows.

Is there something I'm doing wrong, and is there anyway I can boot into grub?

Sincere thanks.

UPDATE: Report from Boot-Repair-Disk Iso: http://paste.ubuntu.com/26323545/

0 Answers0