r/SurfaceLinux • • Dec 16 '15

Problems Installing GRUB on Surface Book

Hey guys.

I just got a Surface Book and had Ubuntu working on it for a bit, but GRUB stopped loading properly (I have no idea why. The system just booted straight into Windows), so I decided to do a reinstall of Ubuntu using a USB. My installation process is simple. I use Disk Management to shrink C:\ and then boot from the USB and choose the first option to install alongside Windows. This whole process worked, but now after the GRUB incident I can't install because I'm getting an error during the installation process.

Unable to install GRUB in /dev/nvme Executing grub-install /dev/nvme failed. This is a fatal error.

I'm hoping you guys have an idea of what's going on. I can't figure out what would be the issue since this was once working. Thanks in advance for the help.

5 Upvotes

8 comments sorted by

View all comments

Show parent comments

2

u/magicjammer Dec 17 '15

I think I now have my system at a working and stable state. I managed to remove that directory using fsck until fsck realized that the only solution was to remove the directory. I was then able to properly reinstall Ubuntu and then boot into it. Problem is that once I booted into Windows (repeatedly booting into Ubuntu worked fine), Windows seemed to somehow corrupt /EFI/ubuntu on the ESP to the state from before. I managed to perform the same fix, but instead I ran Boot Repair before booting into Windows and now everything seems to be working well together. Thanks again for pointing me in the right direction. This was definitely an interesting endeavor.