MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54
Rep:
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?
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54
Original Poster
Rep:
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?
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54
Original Poster
Rep:
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?
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54
Original Poster
Rep:
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
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.
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]#
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.
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54
Original Poster
Rep:
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.
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.
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?
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?
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.