Add pre-mount hook-handling&partition resize hook