Post Content





Very nice, KVM on ubuntu instructionshttps://help.ubuntu.com/community/KVMRemember, theres also VirtualBox which I do have running, and there is vmware which I also have running.First attempt to virt vistaInstalling Windows Vista Ultimate on a KVM Virtual Machine running on Ubuntu Hardy Heron 8.04
Loading File Manager ...

Check system[-][--][++]

Check if CPU can virtualize (can it returns any results)
egrep '(vmx|svm)' --color=always /proc/cpuinfo
Check if you have a 64 CPU (is if it returns any results)
grep ' lm ' /proc/cpuinfo
Check if your running a 64 bit kernel
uname -m

Install KVM and qemu[-][--][++]

Install
sudo apt-get install kvm libvirt-bin ubuntu-vm-builder qemu bridge-utils virt-viewer
Add user (must be normal user when run this command)
sudo adduser `id -un` libvirtd
Now must logout, and back in, or possibly rebootCheck if worked
virsh -c qemu:///system list

Add a new virtual machine OS[-][--][++]

Make the Machine from your OS .iso
sudo virt-install --connect qemu:///system -n vista -r 1024 -f /home/Storage/kvm/machines/vista.qcow2 -s 20 -c /media/qserver/installers/Windows/OS/Windows\ Vista\ Ultimate\ SP1.iso --vnc --noautoconsole --os-type windows --os-variant vista
Start up the newly created machine
sudo apt-get install virt-viewer
virt-viewer -c qemu:///system vista
And vista installer popped up!**When I came back the next morning, the vista windows was closed (probably because of the vista installer reboot) \So I ran the virt-viewer command above again, but it did not work, I got an error**
unable to find vnc graphics for vista
Also tryed
qemu /home/Storage/kvm/machines/vista.qcow2
Which did popup vista and start loading, even got the splash screen, but kept blue screening, and rebooting quicly. Tried \save mode too, did not work.Finally I
apt-get install virt-manager
virt-manager
It opened, it's a nice gui, there was my vista setup, I click run, and it started running, but no display (supposed to run \in background). I right-clicked on vista and clicked open, and there it was again. I guess my settings for virt-viewer are \wrong. Read if you have virtualbox installed too, you may run into kernel module issueshttp://ubuntu-tutorials.com/2008/06/08/kvm-and-virt-manager-on-ubuntu-804/So to remove virtualbox module
sudo modprobe -r vboxdrv
Or to remove kvm modules (there is kvm-amd which is mine, kvm-intel, and just kvm)
sudo modprobe -r kvm-amd
.Screenshot_preview.pngAnd a few minutes later if found my HD.Screenshot02_preview.png

Other[-][--][++]

**Check this, my ubuntu install, with compiz of course, running tons of programs, including Windows XP \in a VirtualBox virtual machine, and installing Windows Vista in a KVM qemu Virtual Machine, heck yeah!!**.Screenshot-2_preview.pngWow, I have a Athlon X2, 2.0Ghz with 4GB ddr2 800 and I have it maxed.Currently, have 6 terminals open, firefox with about 50 tabs, gnome-system-monitor, VirtualBox running Windows XP \and playing a 700MB .avi movie in media player, KMV virtual machine installing windows vista to same disk as root partition, and you can see my CPU is maxed out!.Screenshot-3_preview.png