The motherboard of my recently installed and updated Leap 15.0 died. I’ve replaced it and need to re-install. Same hard drive. Much of the time spent on re-installing is added software both from Leap 15.0 repositories and third party. If I don’t format my root and home partitions will that save me from repeating the long process? Will the install over-write necessary hardware dependent files?
easiest way is to select upgrade this will keep programs and such, you will have to update to get back to where you were.
A bit harder is to simply reset up Grub. Assuming EFI booting you basically need to let the UEFI flash know about the efi boot partition and files. Best to run mkinitrd to allow the system to discover the new hardware.
A new install will overwrite all in root and you have to explicitly tell the installer NOT to format home jist mount it at /home. Be sure to select use old partitions ( forget the exact words) or manually select them. Do not allow the installer to choose without direction.
Upgrade is best if you are unsure it is pretty built proof. Be sure to read and understand the partition scheme page before you accept!