OK, I fixed mine without losing any data by following the instructions below, copied from here.
EDIT: To clarify, I have a 2012 wifi so used JWR66Y factory image and then used ADB sideload to install the kitkat zip update which I found on this page. link
-----------
I was in the same situation...