1. There is no one but knows it.

2. There is no one that does not know it.
------------
Are both the same? Is 'but' a relative pronoun in Sentence 1?

#1 is incorrect. #2 is fine.