fixed several issues for ubuntu disk partitioning