LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   How to I swap CDs when installing a guest OS using the Virtual Machine Manager? (https://www.linuxquestions.org/questions/linux-distributions-5/how-to-i-swap-cds-when-installing-a-guest-os-using-the-virtual-machine-manager-678195/)

jc_cpu 10-21-2008 10:17 PM

How to I swap CDs when installing a guest OS using the Virtual Machine Manager?
 
Hi. I looked at the forums and this looks like the best place to post this problem.

I'm currently trying to learn about virtual machines in fedora 9 and I appear to have all of the required VM packages installed. I have figured out how to use the Virtual Machine Manager to create a virtual machine for a Guest OS. It would not let me connect to Xen for some reason, but it let me connect to Qemu. As an experiment, I tried to install Fedora 9 from the CDs in this new virtual machine. All went well until it asked me to insert disk 2. I did not see a way to eject the CD from the virtual machine window. I tried to manually insert disk 2, but the virtual machine would not recognize it.

My questions:

1. How to I eject the CD from the virtual machine so that I can proceed with the installation of my guest OS?

2. Why can't I connect to Xen in the Virtual Machine Manager window?

3. Are there any alternative software packages that I can try if these problems can't be fixed?

Thanks in advance for any help.

knudfl 10-22-2008 04:54 AM

Try "VirtualBox-2.0.2_36488_fedora9-1.i386.rpm" from
http://www.virtualbox.org/wiki/Linux_Downloads
( If it is not already installed )

There are no problems making OS installs with cd sets,
except you will have to let the cd spin up before
"hitting 'Enter' for next cd"

Regards

jc_cpu 10-22-2008 11:58 PM

Thank you very much for the reply, but I seem to have run into a problem with the installation. My steps are listed below. It says that I need to install my kernel sources. What Fedora package do I need to install to get these files? Thanks in advance.

I did the following to try to install it as root:

rpm -ivh VirtualBox-2.0.2_36488_fedora9-1.i386.rpm

I got the following output:


Preparing... ########################################### [100%]
1:VirtualBox ########################################### [100%]
chcon: can't apply partial context to unlabeled file `/usr/lib/virtualbox/VirtualBox'
chcon: can't apply partial context to unlabeled file `/usr/lib/virtualbox/VBoxSDL'
chcon: can't apply partial context to unlabeled file `/usr/lib/virtualbox/VBoxHeadless'
chcon: can't apply partial context to unlabeled file `/usr/lib/virtualbox/vboxwebsrv'

Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Compilation of the kernel module FAILED! VirtualBox will not start until this
problem is fixed. Please consult /var/log/vbox-install.log to find out why the
kernel module does not compile. Most probably the kernel sources are not found.
Install them and execute

/etc/init.d/vboxdrv setup

as root.


The contents of /var/log/vbox-install.log:


Makefile:142: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

knudfl 10-23-2008 06:05 AM

The packages I have installed are :
kernel-headers
kernel-devel

You can actually see some of the result from
my install here
http://www.linuxquestions.org/questi...ght=virtualbox
( # 10 )

Regards

jc_cpu 10-25-2008 11:21 PM

Thanks a lot for your help. That's exactly what I needed. :) Yum couldn't find kernel-headers, but it found kernel-devel. After I installed this, I removed/reinstalled VirtualBox successfully and successfully created a Debian virtual machine.

I noticed a couple of things about VirtualBox:

1. It appears to be a little smoother than the VM software that came with Fedora.

2. The layout reminds me of VMWare.


All times are GMT -5. The time now is 03:08 AM.