You need to run adprep on the primary Windows Server 2008 domain controller machine to update your infrastructure to the 2008 R2 directory schema/forest. The proper adprep tools are located on your Windows Server 2008 R2 installation disc. Run adprep and then domainprep.
http://technet.microsoft.com/en-us/library/cc771433(WS.10).aspx#BKMK_NewDCScenario