In windows it's very likely to corrupt system data in the ntfs partition so I am very worried about the same in linux. Normally on windows the repair process is basically doing dism and sfc, rebuild efi partition from a live usb. I understand linux are separated into different mountable partitions. I know /boot can be repaired by verifying all packages using package managers. /root can be repaired if there is a system backup, but i wonder is there another way to fix it like from an online mirror, from a command run in the os or from a live usb? as for /boot/efi, i have no idea how to check for file corruption as everything i found online is about repairing grub bootloader, and it seems as long as the boot loader works fine you shouldnt worry.