If you're still here legally, you can apply for an adjustment in status to F2. Otherwise it would behoove you to leave (especially before 6 months out of status) and work it out.
Marrying a permanent resident doesn't give you the same advantages that marrying a citizen would have.

