LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 10-18-2009, 08:21 PM   #1
vganesh
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
Installing windows server as a kvm guest on ubuntu 8.10 (interpid)


Hello,

Issues with virtualization using kvm on ubuntu 8.1 (interpid) with Windows Server as client.

I followed the instructions from http://www.howtoforge.com/installing....10-desktop-p3 and successfully installed and login to a Windows Server 2003 client. Thanks a lot for this wonderful instructions.

Now I am running into two issues, not able to read the CD and no network connections from Windows client. Please see the attached screenshot.png file.

1. From Windows Server 2003 client, I am not able to read the CD (D: drive). What steps do I need to follow so that from Windows client the CD information can be accessed? Are there instructions available somewhere I can follow?

2. What steps do I need to follow to enable networks from Windows client? Output from ipconfig and netstat commands,from a command prompt, on Windows, are empty.

I tried to follow the steps listed at http://www.linux-kvm.com/content/tip...etwork-drivers. The author of this article has mentioned these instructions were tested on Fedora not ubuntu. I have burned the ISO format drivers to a CD successfully. The files in this CD are listed below. However, I can't access these files from Windows client though. I can't read any USB ports either from Windows client.
<user-name>@ubuntu:~$ ls /media/CDROM/
kvm-guest-drivers-linux-1.tar.gz Windows 2000 Windows XP
<user-name>@ubuntu:~$

I am not able to complete the step "Reboot Windows Guest using Virtio Option" successfully. The qemu-system-x86_64 command fails as shown below. I guess the parameters for this command are not quite right for ubuntu and maybe they will work on fedora or maybe nic model is not correct.

<user-name>@ubuntu:~$ qemu-system-x86_64 -hda /host/ubuntu/win2000server.img -net nic,model=virtio -net user ...
qemu: Unsupported NIC: virtio
<user-name>@ubuntu:~$ qemu-system-x86_64 -hda /host/ubuntu/win2000server.img -net nic,model=virtio -net user
qemu: Unsupported NIC: virtio
<user-name>@ubuntu:~$ qemu-system-x86_64 -hda /host/ubuntu/win2000server.img -net nic,model=virtio -net tap
warning: could not open /dev/net/tun: no virtual network emulation
Could not initialize device 'tap'
<user-name>@ubuntu:~$


I thought model virtio is not the correct nic on my computer. From the output of the command 'lspci -tv' I could see that I have Intel's interface controller but I do not know what must be the model name for it that must be passed as a parameter to the above command.


<user-name>@ubuntu:~$ lspci -tv
...
+-1f.0 Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller
...

Thanks and regards,
Ganesh
Attached Images
File Type: png screenshot.png (17.3 KB, 3 views)
 
Old 10-19-2009, 04:55 AM   #2
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 847

Rep: Reputation: 91
first of all, since libvirt and KVM are both under the Redhat hood, you're better off with Fedora, since this is the distro the stuff really gets tested on

as for your issues:

1. for the CD to be recognised, you need to mount it - either by specifying hdc=/dev/cdrom in the startup line, or by using virsh to change the CD once the VM is running

2. networking is better done using bridge-utils. Bridge a physical NIC up, and then attach the virtual NICs to it - this will effectively create a virtual switch for the VMs to connet to, which also has a physical NIC to use for networking
 
Old 10-19-2009, 04:56 AM   #3
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 847

Rep: Reputation: 91
If you don't have the virtIO drivers in Ubuntu, you will have to make do with the e1000 or rtl8139 emulated NICs.

in Fedora there's a package with the drivers you can download, and then copy over to the Windows VM and install.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Installing KVM Guests With virt-install On Ubuntu 8.10 Server LXer Syndicated Linux News 0 03-10-2009 07:00 PM
LXer: Installing Windows XP As A KVM Guest On Ubuntu 8.10 Desktop LXer Syndicated Linux News 0 02-15-2009 11:30 AM
LXer: KVM Guest Management With Virt-Manager On Ubuntu 8.10 LXer Syndicated Linux News 0 02-10-2009 03:50 PM
Ubuntu Interpid Firefox 3.05 Offline Mode Error metallica1973 Ubuntu 10 01-06-2009 10:15 PM
pidgin is sux on ubuntu interpid!! Do any body have the same problem & fixed it? wanas Linux - Software 1 12-15-2008 10:19 AM


All times are GMT -5. The time now is 03:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration