• 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. How to split BCV and open oracle ASM database
  2. Oracle GoldenGate: Manager Sample Parameter File
  3. ORA-00031: session marked for kill
  4. Basics of PL/SQL LOOPs
  5. Oracle Database 12c New Feature – Move a Datafile Online
  6. Oracle Database Server Architecture: Overview
  7. Oracle Data Guard – Tempfiles created at primary are not automatically created at standby
  8. Oracle RMAN Backup Shell Script Example
  9. Real-time SQL Monitoring for Developers – Oracle Database 19c New Feature
  10. Oracle Database 12.2 RMAN Cross Platform Tablespace Transport Over Network

You May Also Like

Primary Sidebar

Recent Posts

  • vgextend Command Examples in Linux
  • setpci command – configure PCI device
  • db_load command – generate db database
  • bsdtar command – Read and write tape archive files

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright