Also on Debian based systems
Also on Debian based systems
Posted Jul 30, 2020 23:19 UTC (Thu) by dmoulding (subscriber, #95171)In reply to: Also on Debian based systems by zlynx
Parent article: Grub2 updates for Red Hat systems are making some unbootable
There should be nothing wrong with doing "grub-install /dev/sda", assuming /dev/sda is the disk that contains the ESP. And, in fact, if you're running grub-install from a rescue system (which is UEFI) against another UEFI system's disk (such that the system currently has *two* disks attached to it, each one containing an ESP), then specifying the disk should be *mandatory* because otherwise grub-install has to choose which of the two it should install to, and it's almost certainly not going to guess that correctly every time. I would think the same would apply if you've got a rescue USB stick plugged into the system, which also contains an ESP.
