12

[ubuntu] Shrink NTFS Full Disk Image

view full story
linux-howto

http://ubuntuforums.org – So I am trying to migrate several Windows virtual machines from Vmware to Xen running on Ubuntu 12.04. I have everything in xen working perfectly and have also converted the Vmware images to .img files. Unfortunately, whoever set up these servers originally gave them 400gb dynamically sized disks, so when I convert them, I end up with 400gb .img files. I've been pulling my hair out trying to shrink them, but I keep coming up short. When I try to use ntfsresize I get the error : Code: ERROR(2): Failed to check '/absolute/disk/path' mount state: No such file or directory Probably /etc/mta (Hardware)