allow testing with pre-existing images too
fix root directory sector calculation(s)