LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-23-2010, 07:58 PM   #1
theoscar
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Problems with Mandriva 2010 Spring running in Parallels Desktop 5


Hi All,

First of all, I'm completely new to Linux, and have very limited experience with command line interfaces in Mac OSX (the OS that I'm used to). Please pitch any replies at the appropriate level

My problem:

I've installed Mandriva Spring 2010 Free in a Parallels Desktop 5 VM running inside Mac OS X 10.6 (Snow Leopard).

Parallels has a set of tools that I need to install to make the VM play nicely with my host OS. It is here that I'm running into problems. When trying to install Parallels Tools I get a warning that 'Some components needed for parallels tools installation are missing in your system;. I'm offered the chance to download them automatically. This download always fails and I'm told that I need to download 'kernel sources' manually and try again.

After some considerable research (remember I'm TOTALLY new to Linux) I found out what this means and have installed what I believe are the correct files using the 'install and remove software' window. As I understand it, I need to download the source files of the kernel I am using (exactly the same version), so I now have:

kernel-desktop-latest - Version 2.6.33.5
kernel-source-latest - Version 2.6.33.5

These are 'virtual rpm's that make sure i always have the latest kernel versions, which as I understand it means that I should have the latest kernel and corresponding kernels sources... but I still get the damn error message telling me to install 'kernel sources' when I try to run the parallels tools installer.

Any thoughts/help would be greatly appreciated!

Thanks,

Oscar.
 
Old 07-24-2010, 01:17 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,299

Rep: Reputation: 138Reputation: 138
Try installing kernel-desktop-devel-latest:

$ su
<enter root password>
# urpmi kernel-desktop-devel-latest
 
1 members found this post helpful.
Old 07-25-2010, 11:05 AM   #3
theoscar
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
It worked! Thanks very much. Just so I can learn for future linux-ing, would you mind telling me what I've just done?

Thanks again - this must be my first taste of the fantastic linux community support I've heard so much of!
 
Old 07-26-2010, 08:57 AM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,299

Rep: Reputation: 138Reputation: 138
urpmi is the command line utility for installing packages in mandriva. The graphical software installation utility you access in the Mandriva Control Center is just a graphical front end for urpmi. I didn't mean to be cryptic in making you resort to a command line; it was just the easiest way to make sure you installed exactly the package I was pretty sure you needed, kernel-desktop-devel-latest.

Virtualization software like Parellels or VirtualBox need to have low level access to the hardware subsystems in order to work. To do this they need to have driver modules that hook into the linux kernel. These driver modules are kernel specific and since there are literally thousands of different possible linux kernels, it is not practical to create the needed driver modules in advance. This isn't a problem in linux since it's open source and the source code for the kernel is available for installation. Once you have the necessary kernel source and other system components installed, Parallels is able to create the appropriate driver modules for your specific linux kernel in a process called compiling.

The trick here is making sure you have the kernel source and all the other things necessary for compiling kernel modules installed on your system. Every linux distribution packages this stuff a little differently so you just have to know what to install. I have experience with mandriva and knew about the kernel-desktop-devel-latest package and new if you installed that package it would install the kernel source and all the other stuff needed like the compiler, gcc, the necessary C and C++ libraries, binutils, and other developer packages. Apparently, my middle aged memory didn't fail me and I was right. Glad it worked out for you.
 
1 members found this post helpful.
  


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
LXer: The Perfect Desktop - Mandriva One 2010.1 Spring With GNOME LXer Syndicated Linux News 0 07-20-2010 11:20 AM
LXer: The Perfect Server - Mandriva 2010.1 (Spring) Free (x86_64) [ISPConfig 2] LXer Syndicated Linux News 0 07-18-2010 01:01 PM
Mandriva 2010.1 (spring) released today. GlennsPref Mandriva 12 07-12-2010 08:08 PM
LXer: Mandriva fights through money woes, releases 2010 Spring LXer Syndicated Linux News 0 07-09-2010 11:01 PM
battery problems on dell inspiron e1705 running mandriva spring 07 wakkaX3 Linux - Software 3 08-11-2007 02:08 AM


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