[PATCH v2 33/41] bootmeth: Refactor to put options in a common file