• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to convert Linux dd .img to .VDI, VMDK, VHD with VIrtualBox Command

by admin

In this post, we will discuss about how to convert IMG Files to VDI, VMDK, VHD format for Oracle VirtualBox, Vmware and XenCenter. First We have to take Image from Linux System and It will take some time.

take image from linux system

1. Open the windows cmd. Click Run -> cmd -> Enter

2. Notice that Windows open a DOS window. Then go to dd image drive.

windows dos dd image drive

3. Oracle Virtual box should be installed for this activity.

install oracle virtualbox

For Virtual Box:

I:\>VBoxManage convertfromraw --format VDI sourcefile.dd filename.VDI

For Vmware ESXi:

I:\>VBoxManage convertfromraw --format VMDK sourcefile.dd filename.VMDK

For Hyper-V:

I:\>VBoxManage convertfromraw --format VHD sourcefile.dd filename.VHD

convert Linux dd .img to .VDI,VMDK,VHD

Press Enter to start the conversion. Wait about serveral minute or so while the conversion takes place, and then create the new virtual machine with the VDI file.

How to Convert a VirtualBox Guest’s Disk Image from VMDK to VDI

A VirtualBox Administrator would like to migrate the underlying disk image format of an existing, imported Guest VM from VMDK to a VirtualBox native file format, such as VDI. VirtualBox provides support for disk-image file conversions using the “VBoxManage clonemedium” command.

As always, it is considered an Administrative “Best Practice” that critical components are preserved within a back-up archive prior to performing invasive administrative actions of this kind. An example command syntax for this operation within VirtualBox 6.0:

# VBoxManage clonemedium disk [inputfile] [outputfile] --format VDI
Note: Earlier versions of VirtualBox provided similiar functionality, via the clonevdi and clonehd commands.

Filed Under: oracle, VMware

Some more articles you might also be interested in …

  1. Oracle SQL script to Show current Users and SQL being Executed
  2. What are the implications of rebuilding indexes in Oracle Database
  3. How to Configure client connectivity in Oracle Data Guard configuration (Implement failover procedures)
  4. ORA-12518: TNS:listener Could Not Hand Off Client Connection
  5. How to Recover From Lost or Missing Database Parameter Files (PFILE or SPFILE)
  6. How to Remove or delete a Weblogic Server (WLS) Domain
  7. How to Use Udev Rules to Create oracleasm Disks in CentOS/RHEL 8
  8. How to shrink a Temporary Tablespace datafile in Oracle
  9. Script/Queries to Monitor Temporary (TEMP) Tablespace Usage in Oracle Database
  10. ORA-65010: maximum number of pluggable databases created

You May Also Like

Primary Sidebar

Recent Posts

  • raw: command not found
  • raw Command Examples in Linux
  • rankmirrors Command Examples in Linux
  • radeontop: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright