I want to make 3 lists in root site & 2 subsites under the root site.
As soon as I create subsites from portal.xml my 3 lists are not showing.
Go to site settings and choose "add an app". Then select a list type.
For creating sub site , you have to choose "add a page" in site settings.
I suppose you have a site template in your site definition onet.xml,
To be able to create lists in the site definition you should activate your features creating lists in your site template definition w
To activate feature on the root site in the template you apply to your root site in the section "SiteFeatures" you should call feature activating. This should be similar to this:
Note that it is best to create separate template for your sub site with different ID and activate features for web level in this template which will be applied to sub site.
Hope it helps,
If you have more question...
Done by adding feature & write following code in feature.EventReceiver file