If the laptop is upgrading the kernel so slowly it shuts down in the middle of a power outage it's probably old as hell and has barely any battery to charge.
In a comment he clarified that the laptop was plugged in and there was a power failure. Regardless, chrooting in should be a fairly straightforward fix.