LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-26-2005, 09:52 PM   #1
coasterfreak212
Member
 
Registered: Mar 2004
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54

Rep: Reputation: Disabled
How do I install VMware on Mandriva LE2005


According to my therory I believe it should work, but I can't find the kernal files. Anybody know where they are? I found the C Compiler files (/usr/include), but they didn't have the kernal package. Any help?
 
Old 05-26-2005, 10:24 PM   #2
coasterfreak212
Member
 
Registered: Mar 2004
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54

Original Poster
Rep: Reputation: Disabled
well, I think I got another problem. This appers when I enter /usr/include

The directory of kernel headers (version 2.6.11) does not match your running
kernel (version 2.6.11-6mdksmp). Even if the module were to compile
successfully, it would not load into the running kernel.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

I hunch is that the kernel headers were written so that it says version 2.6.11 when Mandriva changed it to 2.6.11-6mdksmp. Is there any way to fix this? I tried editing the boot so that it boots to the version 2.6.11, but I dont seem to have it in my system because Mandriva edited it. Any ideas?
 
Old 05-27-2005, 05:56 AM   #3
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
Try this:

1) Install your VMware rpm.

2) Install your kernel source.

3) cd /usr/src/linux

Code:
make mrproper
Code:
make cloneconfig
Code:
make prepare
4) vmware-config.pl

5) Have fun ;-)
 
Old 05-27-2005, 11:24 AM   #4
coasterfreak212
Member
 
Registered: Mar 2004
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54

Original Poster
Rep: Reputation: Disabled
ok, thanx, but where do I download and install the kernel package? And I don't exactly want to downgrade my kernel. SMP is extremely good because I have 2 Intel Pentium 4 CPUs. But, I'll try it anyways, still, where's the package?
 
Old 05-27-2005, 07:04 PM   #5
coasterfreak212
Member
 
Registered: Mar 2004
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54

Original Poster
Rep: Reputation: Disabled
Nvm, I got it working. I just went to the Mandrakerpm and found the kernel source package. Install it. Configured Vmware. And Now I have multiple linuxs (and wins). Thanx though
 
Old 05-28-2005, 01:16 AM   #6
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
Glad it helped. I didn't figure this out myself though. We recently had the LinuxWorld expo here in Johannesburg, South Africa. I was walking round the Novell stands and saw a couple of laptops running SuSE/Novell Desktop and they were also running VMware as the host. From my own experience I saw that once I ran the vmware-config.pl script it would fail with the kernel headers. I asked at the stand how they installed it and they gave me these steps. I'm not sure why this is missing in the VMware 5 documentation. Anyways, enjoy.
 
Old 06-10-2005, 12:58 PM   #7
waisman
LQ Newbie
 
Registered: Jun 2005
Location: Calgary, Alberta, Canada
Distribution: mandriva 10.2
Posts: 1

Rep: Reputation: 0
vmware

Hi
I am a newbie. I installed the kernel from the rpm database using the mandriva control center and follow the advise but ran into the following problem:
[root@hsb157 david]# cd /usr/src/linux
[root@hsb157 linux]# dir
3rdparty CREDITS drivers init kernel Makefile README scripts usr
arch crypto fs ipc lib mm REPORTING-BUGS security
COPYING Documentation include kdb MAINTAINERS net rsbac sound
[root@hsb157 linux]# make mrproper
CLEAN include/asm-i386/asm_offsets.h
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN scripts/mod
CLEAN scripts
CLEAN .config include/asm include/linux/autoconf.h include/linux/version.h
[root@hsb157 linux]# make cloneconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
make[1]: *** No rule to make target `cloneconfig'. Stop.
make: *** [cloneconfig] Error 2
[root@hsb157 linux]# make cloneconfig
make[1]: *** No rule to make target `cloneconfig'. Stop.
make: *** [cloneconfig] Error 2
[root@hsb157 linux]# make prepare
Makefile:486: .config: No such file or directory
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/i386/Kconfig
***
*** You have not yet configured your kernel!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** [include/linux/autoconf.h] Error 2
[root@hsb157 linux]#

Can anybody tell me the nature of the problem.

Thanks
 
Old 08-14-2005, 12:02 AM   #8
NoStop
Member
 
Registered: Feb 2005
Location: Canada
Distribution: Debian Etch - Enlightenment E17
Posts: 116

Rep: Reputation: 15
Quote:
Originally posted by coasterfreak212
Nvm, I got it working. I just went to the Mandrakerpm and found the kernel source package. Install it. Configured Vmware. And Now I have multiple linuxs (and wins). Thanx though
Well please enlighten us here. How did you get it working? Did you follow all the steps outlined by equinox or did you simply install the sources and run vmware config? Was this version 5 of VMWare?

Sure would be nice when someone finds a solution they tell us exactly what the solution was.

Cheers
 
Old 08-14-2005, 04:48 AM   #9
coasterfreak212
Member
 
Registered: Mar 2004
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54

Original Poster
Rep: Reputation: Disabled
Oh, Im sorry, I don't rember. It was a long time ago, but it was vmware 5. I just installed the kernel source packages that I found through mandrake rpm, I just searched kernel source or somthing, I don't rember. After I found the kernel source and installed them I ran the config and it worked. Sorry, I did this about a year ago, I really don't know what I did. hope this helps.
 
Old 08-17-2005, 12:00 PM   #10
xavierh
Member
 
Registered: Feb 2004
Location: Denton, TX
Distribution: Mandriva 2005 LE
Posts: 221

Rep: Reputation: 30
It is working

I'm using mandriva 2005 Le (10.2) and I installed the latest version of VMWare workstation yesterday on it.

Here is what I did:

Make sure that yu have a proper ciompiler (Gcc) installed.
Make sure that you have the source for the kernel that you are using. I'm runnign kernel 2.6.11.12 so thats the source that I got.
both these 2 items can be installed by the software management tool that mandriva has in the console.

Once you get them, it is time to get vmware. I got both the .rpm and the tar file but I decided to use the .rpm (it is easier).

double click on the RPM (through Konqueror) and select the option to install it. It will ask you for your root password. Once the install has been completed, you wil still need to configure it.

Open a console window and type vmware (just to see what happens). It will tell you that vmware is not configured, there you need to execute a perl script called vmware-config.pl wich is located in \usr\bin

Before you do this, switch to the root user (via the SU command). the exectue vmware-config.pl

You will need to know where the source for your kernel was installed whcih depends on the version of the kernel that you have. Make sure that the path is correct when it gives you the optio to input it (I do not think the script will continue to exectue unless the path is correct).

Once you do that then you'll need to wait while the script does its thing and then it will ask you if you want to configure the network interfaces, whcih you just need to say yes to the ones you need.

Once the script is done you can then execute vmware from the comand window or create an icon on the desktp for it.

I did that yesterday and created a Windows ME virtual machine and it worked fine. The .tar method should also work but I think that the .rpm method is easier (and it worked right of the bat).

Word of caution: if you upgrade your kernel at a later time, I think that you will also need to uget the new soruces and run the vmware-config.pl script again.
 
Old 08-17-2005, 02:49 PM   #11
mifan
Member
 
Registered: Apr 2004
Distribution: mandrake
Posts: 116

Rep: Reputation: 15
when I run installwin4linpro I get this:
/opt/win4linpro/bin/installwinpro
grep: /etc/default/mergepro: Permission denied
grep: /etc/default/mergepro: Permission denied
ERROR: missing STATICMERGE or VARMERGE in /etc/default/mergepro

my mergepro file includes this:
# Merge Pro defaults
MRGPRO_INST_DATE="Wed Aug 17 07:39:13 EDT 2005"
MRGPRO_NODENAME="localhost"
MRGPRO_SYSNAME="Linux"
MRGPRO_SYSREL="2.6.11-6mdk"
MRGPRO_SYSVER="#1 Tue Mar 22 16:04:32 CET 2005"
MRGPRO_SYSMACHINE="i686"
VARMERGE="/var/win4linpro"
STATICMERGE="/opt/win4linpro"
MRGPRO_SYSTEMTYPE="linux"
MRGPRO_MERGENAME="Win4Lin Pro"
MRGPRO_CD_DEV_NAME="/dev/cdrom"

anyone know how to fix this? or should I reinstall mandriva?
 
Old 08-17-2005, 04:55 PM   #12
xavierh
Member
 
Registered: Feb 2004
Location: Denton, TX
Distribution: Mandriva 2005 LE
Posts: 221

Rep: Reputation: 30
Quote:
Originally posted by mifan
when I run installwin4linpro I get this:
/opt/win4linpro/bin/installwinpro
grep: /etc/default/mergepro: Permission denied
grep: /etc/default/mergepro: Permission denied
ERROR: missing STATICMERGE or VARMERGE in /etc/default/mergepro

my mergepro file includes this:
# Merge Pro defaults
MRGPRO_INST_DATE="Wed Aug 17 07:39:13 EDT 2005"
MRGPRO_NODENAME="localhost"
MRGPRO_SYSNAME="Linux"
MRGPRO_SYSREL="2.6.11-6mdk"
MRGPRO_SYSVER="#1 Tue Mar 22 16:04:32 CET 2005"
MRGPRO_SYSMACHINE="i686"
VARMERGE="/var/win4linpro"
STATICMERGE="/opt/win4linpro"
MRGPRO_SYSTEMTYPE="linux"
MRGPRO_MERGENAME="Win4Lin Pro"
MRGPRO_CD_DEV_NAME="/dev/cdrom"

anyone know how to fix this? or should I reinstall mandriva?
Amigo, what are you talking about?
 
Old 08-17-2005, 05:55 PM   #13
mifan
Member
 
Registered: Apr 2004
Distribution: mandrake
Posts: 116

Rep: Reputation: 15
oops sorry, I cut and pasted the wrong question...

When trying VMware on Mandrake/mandriva 10.2 I get this error

***EDIT***
in the terminal I get this message:
*** glibc detected *** free(): invalid pointer: 0x08eab918 ***

any ideas or workarounds?
 
Old 08-17-2005, 09:06 PM   #14
xavierh
Member
 
Registered: Feb 2004
Location: Denton, TX
Distribution: Mandriva 2005 LE
Posts: 221

Rep: Reputation: 30
Quote:
Originally posted by mifan
oops sorry, I cut and pasted the wrong question...

When trying VMware on Mandrake/mandriva 10.2 I get this error

***EDIT***
in the terminal I get this message:
*** glibc detected *** free(): invalid pointer: 0x08eab918 ***

any ideas or workarounds?
this is wierd.... I have never seen this error? does it happen when you are configuring the vmware tools on the virtual mahcine or when you are configuring vmware workstation in the host server?
 
Old 08-18-2005, 08:50 AM   #15
mifan
Member
 
Registered: Apr 2004
Distribution: mandrake
Posts: 116

Rep: Reputation: 15
install goes well, so does vmware-config.pl. but this error happens when i start vmware.

Does vmware run windows xp faster than win4lin? and about how much faster?
 
  


Reply



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
Java on Mandriva LE2005 (10.2) not working Talyz Linux - Software 3 08-25-2005 01:47 PM
Mandriva 10.2 LE2005 install error "no hdists found" zanados Mandriva 4 07-11-2005 05:24 PM
How do install Radeon 9200se on Mandriva LE2005 (10.2) Jube Linux - Newbie 2 07-02-2005 11:03 AM
Publically Available- Mandriva LE2005!!!!!!! simeandrews Mandriva 1 05-03-2005 04:53 PM
Mandriva LE2005 Hangs during Install mtiller Mandriva 2 04-22-2005 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:19 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration