A random question about Linux distros

Yes, happened to me some weeks ago, when I was updating one dual boot laptop to W10 2004. At the end of the update grub was damaged and I to repair it with a live system.
see here