but (adv., prep.) Look up but at Dictionary.com
Old English butan, buton "unless, except; without, outside," from West Germanic *be-utan, a compound of *be- "by" (see by) + *utana "out, outside; from without," from ut "out" (see out (adv.)). Not used as a conjunction in Old English. As a noun from late 14c.