It will take quite a while, and you will not have authorization to stay in the US while you are waiting. After you get married, you will be a family-based second preference (FB-2A) relative. The priority date is backlogged to July 2008, so it may be 3-4 years before visas are available for you to apply for your green card. It will be unlikely for you to get an F-1 extension as you will be married to a US permanent resident. This means you will need to find another nonimmigrant status for the next few years or leave the US. After your priority date is current, the process takes only about 6 months at the current processing times.
Answered on Jul 20th, 2011 at 7:47 PM