Kyle thanks so much. I was able to install a program this AM because of your info. It really had me going. Sorry it took me so long to get back to you, but I had a houseguest stop by last night after I started the LUG conversation and he didn't leave until almost 11:15PM.

Another question on this WXP guest setup. I have not done a Windows online update yet wondering if it might hose things up. Is is OK to do the update? The OS I'm using is XP Pro w SP2 included.

Thanks so much for your help.  It is greatly appreciated.
Whit



Kyle Gonzales wrote:
Whit,

The issue is with the way that KVM and Xen currently work. They do not auto-scan for CD-ROM on "insert" or things like that. The "CDROM" could be an ISO image for all the hypervisor cares, as long as it something the OS could recognize as a CDROM.

The trade-off for this is that you need to have whatever you choose to use for the CDROM image either available or in the CDROM drive on the physical machine on boot of the VM. When you no longer need a CD or ISO to be made available to the VM, then shutdown the VM, disable the CDROM device in Virtual Machine Manager, and reboot.

I understand that this is not necessarily intuitive, but it is the way it currently works. Both hypervisors are much more server/workstation oriented, and so do not necessarily have the functionality of a desktop oriented option like the other ones mentioned (VMWare Player, VirtualBox). However, KVM is part of the Linux kernel (unlike VMWare and VirtualBox), and is has good performance on modern hardware.

Whit Hansell wrote:
Sorry, I messed up just then. Forgot to do a reply all to get it to the lug too and didn't answer your question re the install.

Yes the install went flawlessly. Ran into problems when I shut it down and went to restart it and found out about the cd needing to be in the drive for it to work. thanks.
Whit

Hey thanks Kyle,
When I open up the VMM and hit run w. no cd in the drive, it immediately
throws up an error ---
Error starting domain: internal error QEMU quit during console start

QEMU could not open disk image  /dev/sr0

Details:
Traceback (most recent call last):
 File "/usr/share/virt-manager/virtManager/engine.py", line 531, in
run_domain
   vm.startup()
File "/usr/share/virt-manager/virtManager/domain.py", line 380, in startup
   self.vm.create()
 File "/usr/lib/python2.5/site-packages/libvirt.py", line 262, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error QEMU quit during console startup
qemu: could not open disk image /dev/sr0

note from whit
(/dev/sr0 is the source path according to the hardware list in the vmm
and the target is hdc for the cd drive.)

Does it make any sense to you?  Thanks for the reply.   Your help is
greatly appreciated.  If you know any other way to do the install I'll
even try that.  I  just used this one because it was all over the net so
figured it would be ok.

Cheers.
Whit



Kyle Gonzales wrote:
What exactly happens when there is no CD in the drive?  Does it throw
an error?  Did the initial Windows install complete without errors?

On Monday, April 19, 2010, Whit Hansell <[email protected]> wrote:
Hey guys and gals,

I'm totally frustrumated w. this virtual stuff.  Love the concept and
have made strides successfully but have run into a big blank wall.

I'm using KVM and the Virtual Machine Manager GUI to set up a guest
WinXP system on my Debian AMD64 system.  I've taken the time to set
aside 20G of space for virtual machines and have succesfully set up
WinXP on an 8G slice w. NTFS in an .img file. I've got internet access
and sound need to access the CD/dvd drive to install some Windows
programs which is the whole reason for the Windows virtual system.  I
have found that in order for the WinXP to even run I need to have a cd
in the drive. Blank or no. Doesn't make a difference. It's not being read anyway; it just has to be there. And I cannot use the cd drive to install any programs because according to the early developers, they had to leave it open because of the need for Windows to reboot to finish the
installation.  It means that in this case, the cd/dvd drive is useless
to me except to hold a blank cd so I can start Windows.

Has anyone found a workaround for this? I've googled all over the place
and only found the one instance where this situation is even mentioned
and they say I can use the menu and the eject button to remove the cd
and close the drive. But it does not work. Nor do the Crtl+Alt+# sets
work for me.

Any recommends will be much appreciated. I've been fooling around with
this for a couple of weeks and have not found the answer.

TIA and thanks for being here for all of us whether anyone knows the
answer to this mess or not.  I learn from all of you.

Whit

--
Kyle Gonzales
[email protected]
GPG Key #0x566B435B

Read My Tech Blog:
http://techiebloggiethingie.blogspot.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
List archive http://marc.info/?l=jaxlug-list&r=1&w=2
RSS http://www.mail-archive.com/[email protected]/maillist.xml

Reply via email to