Rewrite it
Where are all the aspiring OS developers when you need them? Write an open source clone of the thing a la ReactOS. Call it Linos/2, FreeBS/2 or HAL9000/2. Write drivers. Write secure code. Generations to come will thank you.
As we like we say down here: "uMchini Wami" -- Bring me my machine (gun).