Add workaround for NV partition table

Also add sync at the end of operation