fix install recovery when using kexec hardboot