His steps are familiar, but this one is a funny one:
Code:
grub-install /dev/sda
For GRUB-EFI, you do not need to, nor should you, specify a device (dev/sda) for the
grub-install command (as we do for grub-install with BIOS systems). If it is the ESP, you should specify it this way:
grub-install --efi-directory=DIR
where DIR is the mount point for your ESP-- usually /dev/sda1 mounted at /boot/efi, for example; so if you are chrooted into your broken OS, you could simply write:
mount /dev/sda1 /boot/efi
grub-install --efi-directory=/boot/efi
But then that is the default for grub-install anyway, so you can omit it.
I would not write
grub-install /dev/sda
as the how-to shows, though. But apparently, it must work in Debian.
I may try this, play with it; but in a way, I already have done a lot of this stuff.
So, again, if you don't mind chrooting from live media, your Kubuntu DVD/USB already works fine.
They are using a rEFInd CD, which I am sure Rod S. made right for the UEFI job. So, one could also use Boot Repair, which works with UEFI, and I'm sure there must be other ready-to-go UEFI rescue CDs. I was just curious what could be done a your handy live Kubuntu installation media for rescue, which is how I got into this issue. Thanks for the reminder, though. I've got Boot Repair, but I'd be curious what this rEFInd disk is all about.
Leave a comment: