r999 - trunk

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Wed Nov 2 08:19:01 PST 2005


Author: tushar
Date: 2005-11-02 09:19:00 -0700 (Wed, 02 Nov 2005)
New Revision: 999

Modified:
   trunk/vmware-player.txt
Log:
Updated Hint: vmware-player

Modified: trunk/vmware-player.txt
===================================================================
--- trunk/vmware-player.txt	2005-11-02 05:29:14 UTC (rev 998)
+++ trunk/vmware-player.txt	2005-11-02 16:19:00 UTC (rev 999)
@@ -72,9 +72,43 @@
 
 Next we install the vmware player with ./vmware-install.pl (after unpacking)
 The installer will ask some questions, for me the defaults seemed fine.
+The installer will start vmware-config.pl wich will configure the player's setup.
 On networking answer yes (default), I answerd no to NAT and host-only.
 Above is enough to use a private adress in your virtual machine.
 
+On a HLFS machine we have to build kernel modules with: -no-pie -fno-stack-protector-all
+Since vmware-config.pl doesn't accept those in CC env. we have to add them to the modules source.
+
+	tar -xvf /usr/lib/vmware/modules/source/vmmon.tar
+
+Edit vmmon-only/Makefile.kernel and and change the line:
+
+	CC_OPTS += -DVMW_USING_KBUILD -DVMMON -DVMCORE
+	
+	to:
+	
+	CC_OPTS += -DVMW_USING_KBUILD -DVMMON -DVMCORE -no-pie -fno-stack-protector-all
+	
+	tar -cf vmmon.tar vmmon-only
+	mv vmmon.tar /usr/lib/vmware/modules/source/vmmon.tar
+	
+We do the same thing for the vmnet module:
+
+	tar -xvf /usr/lib/vmware/modules/source/vmnet.tar
+
+Edit vmnet-only/Makefile.kernel and and change the line:
+
+	CC_OPTS += -DVMW_USING_KBUILD
+	
+	to:
+	
+	CC_OPTS += -DVMW_USING_KBUILD -no-pie -fno-stack-protector-all
+	
+	tar -cf vmnet.tar vmnet-only
+	mv vmnet.tar /usr/lib/vmware/modules/source/vmnet.tar
+
+After that you can manualy run vmware-config.pl...
+
 =================
 3. CONFIGURATION:
 =================
@@ -243,6 +277,8 @@
   * Added license and changelog entry.
   * Added cat command for creation of config files.
   * Added 2 sections to the notes regarding windows licenses.
+[2005-11-02]
+  * Added HLFS install instructions for vmware.
 
 
 -- 




More information about the hints mailing list