Ubuntu and Fedora root resize fixes