Minerals form in and on the Earth in a variety of ways.  The processes of mineral formation may be classified as follows:

IgneousIGNEOUS
WeatheringWEATHERING
SedimentarySEDIMENTARY
MetamorphicMETAMORPHIC
BACKBACK