LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 10-21-2008, 10:17 PM   #1
jc_cpu
Member
 
Registered: May 2006
Distribution: Fedora 14
Posts: 71

Rep: Reputation: 15
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.
 
Old 10-22-2008, 04:54 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,645

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
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

Last edited by knudfl; 10-22-2008 at 04:57 AM.
 
Old 10-22-2008, 11:58 PM   #3
jc_cpu
Member
 
Registered: May 2006
Distribution: Fedora 14
Posts: 71

Original Poster
Rep: Reputation: 15
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.
 
Old 10-23-2008, 06:05 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,645

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
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

Last edited by knudfl; 10-23-2008 at 06:11 AM.
 
Old 10-25-2008, 11:21 PM   #5
jc_cpu
Member
 
Registered: May 2006
Distribution: Fedora 14
Posts: 71

Original Poster
Rep: Reputation: 15
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.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Access from Guest virtual machine on Fedora 8 pigwig Linux - Newbie 5 03-06-2008 11:22 PM
QEMU and Virtual Machine Manager joshfoulk Linux - Software 1 12-18-2007 11:57 AM
How do I enable USB on Fedora Core 3 as Virtual Machine Guest reuseapc Linux - Hardware 2 12-10-2007 11:52 PM
Virtual Machine Manager (Xen) in in Fedora 7 samthakur Linux - Software 0 11-15-2007 11:05 AM
virtual machine manager anant Linux - Newbie 1 01-02-2007 02:56 AM


All times are GMT -5. The time now is 01:25 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