"emergency mode" after Timeshift snapshot recovery

# mhwd-kernel -i linux510
:: Synchronizing package databases...
 core                                                              169.6 KiB   427 KiB/s 00:00 [#######################################################] 100%
 extra                                                            1893.0 KiB   431 KiB/s 00:04 [#######################################################] 100%
 community                                                           6.6 MiB   283 KiB/s 00:24 [#######################################################] 100%
 multilib                                                          174.6 KiB   262 KiB/s 00:01 [#######################################################] 100%
The following packages are out of date, please update your system first: 
........
Do you want to continue anyway? [y/N] y
error: no targets specified (use -h for help)

I tried to solve the problem myself but wasted too much time. Say that mhwd-kernel does not work in a chroot environment. How do I install the kernel via pacman?