User Tools

Site Tools


tech:virtualbox:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tech:virtualbox:start [2016/11/20 09:29]
rk4n3 created
tech:virtualbox:start [2017/05/02 22:18] (current)
rk4n3
Line 2: Line 2:
  
 ===== Virtual Disk Management ===== ===== Virtual Disk Management =====
-A disk image created with the ''​dd''​ command like this: \\ ''​dd if=/dev/sdx of=dskimg.raw bs=512''​ \\+A disk image created with the ''​dd''​ command like this: ''​dd if=/dev/sdx of=dskimg.raw bs=512''​ \\ 
 ... can be converted directly into a VirtualBox VDI ("​virtual disk image"​) with: ... can be converted directly into a VirtualBox VDI ("​virtual disk image"​) with:
 <​code>​VBoxManage convertdd dskimg.raw yourvmname-sda.vdi --format VDI</​code>​ <​code>​VBoxManage convertdd dskimg.raw yourvmname-sda.vdi --format VDI</​code>​
 +
 +A raw disk image can also be converted to a KVM qcow2 image:
 +<​code>​qemu-img convert -f raw -O qcow2 /​path/​to/​your/​hdd/​vm01.img /​path/​to/​your/​hdd/​vm01.qcow2</​code>​
  
  \\  \\
 // Links: [[tech:​start|Tech Info]] ... [[start|Main]] // // Links: [[tech:​start|Tech Info]] ... [[start|Main]] //
  
tech/virtualbox/start.1479655779.txt.gz · Last modified: 2016/11/20 09:29 by rk4n3