First off I'm want to write my own linux based os.
first learn inside and out
"Linux From scratch" and "Slackware " and "Gentoo"
then C and C++ and python ,perl ,java, and so on .....
become a kernel developer
then over the next 10 years develop one