LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Filesystem in compressed file to VDI (or other) image (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/filesystem-in-compressed-file-to-vdi-or-other-image-4175504316/)

niteshadw 05-08-2014 06:01 AM

Filesystem in compressed file to VDI (or other) image
 
Hello,

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!

Thanks!

pan64 05-08-2014 06:08 AM

is that a bootable system (I mean inside that compressed file) containing kernel and other goodies?

niteshadw 05-08-2014 08:53 AM

Quote:

Originally Posted by pan64 (Post 5166897)
is that a bootable system (I mean inside that compressed file) containing kernel and other goodies?

Yes, it's all there.

jefro 05-08-2014 02:36 PM

I'd use any clone technique. Boot to some live media that can access it and copy it over to some pre-made virtual hard drive.

What is this format by the way? Do you have a live cd sort of image?


All times are GMT -5. The time now is 03:56 AM.