initialize parted lib,fix removable device issue