User Tools

Site Tools


virtualization:kvm

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virtualization:kvm [2013/06/01 16:13]
gcooper
virtualization:kvm [2013/06/03 13:53] (current)
gcooper
Line 4: Line 4:
  
 [[https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/form-Virtualization_Host_Configuration_and_Guest_Installation_Guide-Para_virtualized_drivers-Mounting_the_image_with_virt_manager.html|Install Drivers After Windows Guest Installation]] [[https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/form-Virtualization_Host_Configuration_and_Guest_Installation_Guide-Para_virtualized_drivers-Mounting_the_image_with_virt_manager.html|Install Drivers After Windows Guest Installation]]
 +
 +:!: Consider using ''raw'' disk images/partitions hosting Microsoft SQL database files for best performance. 
  
 ===== Create a Windows 7 VM ===== ===== Create a Windows 7 VM =====
  
-  - Create the VM using Virt-Manager**but do not allow it to start**. +  - Create the VM using Virt-Manager 
-  - +    Choose **Customize configuration before install**  
 +  - Remove Disk 1 
 +  - Add Hardware 
 +    - VirtIO Drivers ISO 
 +      * Storage -> Select managed or other existing -> Browse -> Browse Local -> virtio-win-0.1-59.iso 
 +      * Device type -> IDE CDROM 
 +    - Disk 1 
 +      * Storage -> Create disk image (at least 30GB)  
 +      * Allocate entire disk now -> Deselect 
 +      * Device type -> VirtIO disk 
 +      * Cache mode -> None 
 +      * Storage format -> qcow2 
 +  - Modify the NIC 
 +    * Device Model -> VirtIO 
 +  - Modify the Video 
 +    * Model -> QXL 
 +  - Modify the Display 
 +    * Type -> SPICE 
 +    * Add the Spice agent channels -> Yes 
 +  - Start the Windows installation 
 +    * Load Driver -> Select all three VirtIO drivers 
 +      * NIC 
 +      * SCSI 
 +      * Balloon
  
 ===== Virtual to Physical ===== ===== Virtual to Physical =====
Line 14: Line 39:
 http://www.savelono.com/linux/how-to-migrate-a-qemu-kvm-image-to-a-physical-machinepc.html http://www.savelono.com/linux/how-to-migrate-a-qemu-kvm-image-to-a-physical-machinepc.html
  
 +===== Virtualbox to KVM Migration =====
 +
 +http://arjunstechblog.blogspot.com/2011/06/how-to-migrate-from-virtualbox-to-kvm.html
 +
 +<file>
 +VBoxManage clonehd --format RAW orig_disk_name.[vdi|vmdk] new_disk_name.img
  
 +qemu-img convert -f raw new_disk_name.img -O qcow2 new_disk_name.qcow
 +</file>
virtualization/kvm.1370124797.txt.gz · Last modified: 2013/06/01 16:13 by gcooper