As a kid I ejaculated and did not know about ghusl . For 2 years I did not know about ghusl and I read Qur'an . Have I sinned?
3 Answers
You might be excused if you are a new convert to Islam, living in the Dar al-Harb or a remote area where it was not possible for you to have learnt about the obligations of Islam from other knowledgeable Muslims. This has been discussed by scholars under the topic of ignorance.
Otherwise it was obligatory on you to learn about basic rulings of Islam which effect your daily life, so yes you have sinned since you were negligent.
وفرض على كل مكلف ومكلفة بعد تعلمه علم الدين والهداية تعلم علم الوضوء والغسل والصلاة والصوم، وعلم الزكاة لمن له نصاب، والحج لمن وجب عليه
It is obligatory on every accountable male and female ... to learn the rulings of wudu, ghusl, prayer, fasting, zakat and hajj ...
Also see https://www.islamweb.net/en/fatwa/32329/ and https://islamqa.info/en/answers/9446
Allah forgave the mistakes of this ummah, and this was a mistake.
(Sunan ibn Majah 2045)
Yeah its a ghunnah, you did 2 sins overtime. 1 is not learning rules about ghusal and the other by doing things that you werent allowed to do when ghusal was farz on you. But just touba right from it and sadqah if you can.