A: 君だけこれを知らなかった。
A': You are the only person who did not know this.
As しか must be followed by a negative predicate then I have to write as
B: 君しかこれを知らなくなかった。
Confirmation question
Is 君しかこれを知らなくなかった the same as 君だけこれを知らなかった?
Edit
Based on the given comment below, I have to mention that if I just use one negation as follows,
君しかこれを知らなかった。
then the meaning is
You are the only person who knew this.
which is totally different from the meaning I want to say.