If your computer has not booted, you can use this function.
First, enter Pre-OS, then run Fix Boot.