Filesystem in compressed file to VDI (or other) image
Is there a way to convert a compressed file containing a filesystem into an image that will be accepted by VirtualBox/OpenStack/etc?
I was thinking of using VirtualBox to create a VDI file of fixed size, then mount it in linux. I think I would then need to format it to ext3 and extract the compressed filesystem into it. Finally, reinstall GRUB in order to be able to boot. I'm not sure if this is the correct approach, or is there an easier way?
Any help would be greatly appreciated!