[DeviceManager] fix checkSwapExtended (use parted instead of fdisk).