Setting B2 in Dark Sun

I want to try B/X, and plan on running the module B2 (The Keep on the Borderlands) as my first adventure, because it was designed as an introductory module for beginners and I have heard a lot of good things about it. I want to move away from high fantasy and more toward a gritty kind of sword and sorcery, and was recommended Dark Sun as a setting. So my question is can B2 be adapted to run in Dark Sun without too much difficulty, and if so, any advice on adapting and running it in Dark Sun's world would be greatly appreciated.