I am trying to resize my .vdi file. I have successfully resized the .vdi using VBoxManage. Now I am trying to edit the partition table using GParted but it won't start the GUI. I would attach Xorg.0.log but it's only saved on the live disk and it isn't available after I stop it. I see it trying to load vboxvideo but it's complaining that it doesn't exist. After that, it complains that /dev/dri/card0 doesn't exist. Then it complains that /dev/fb0 doesn't exist. At this point it seems to give up and it deletes Screen 0 because it has "no matching config section". VESA(0) then complains it "Cannot read int vect". Then it finally fails because "no screens found".
Is there a way to get this to work? I tried both the i586 and amd64 version of GParted. I used 0.22.0-2 in both cases.
Alternatively, is there a way to mount the .vdi as a loopback device and use Gparted on the host? The host is Ubuntu 14.04.2.