How to download disk images and ISO files from the Ravello library to your local PC

Version 5

    This article describes how to export Disk Images and .ISO files from the Ravello library.



    1. Have the objects in your account library ready (.ISO files or diskImages)


    to create a diskImage from an existing VM, you need to first save the disk to library:

    2. Create an application with a Ubuntu VM provided by Ravello.


    3. On the Disks tab, select Add > Add Disk Based on Image.

    1. Select the disk image or .ISO file that you want to download from the Ravello library.
    2. Save and update/publish your application.


    Export process:

    1. sudo su
    2. Mount the CD. (This procedure does not survive reboot.)      #fdisk -l
      The added disk is listed as: Disk /dev/sda: xxxx MB, xxxxxxx bytes
    3. Create a directory that will be linked to the mounted CD: mkdir /mnt/cdrom1
    4. Mount the image using the following command: mount /dev/sda /mnt/cdrom1
    5. Verify the contents:
      #cd /mnt/cdrom1
      #ls -al


    To export .ISO files from the Ravello library:

    1. Run the following “dd” command:                                                                                                                                                                                                                                                                                
      #dd if=/dev/cdrom of=/tmp/<name_of_iso_file_to_be_created>.iso

    2. Transfer the created file using FTP or SCP to any FTP or remote server.

    To export diskImages (such as qemu and vmdk):

    1. Run the command:                                                                                                                                                                                                                                                                                                
      sudo qemu-img convert -O vmdk -p /dev/sda /tmp/tmp.vmdk
      If qemu-img is not installed, run:                                                                                                                                                                                                                                                                                 
      sudo apt-get install qemu-img

      is the drive containing the diskImage (from fdisk -l)
      /tmp/tmp.vmdk is the output vmdk file can also be .qcow

    2. Transfer the created file using FTP or SCP to any FTP or remote server.




    Important Note: Ravello does not guarantee that the Import process will be successful due to device types and changes that are done over Ravello.