LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-05-2014, 02:49 AM   #1
Shkel
LQ Newbie
 
Registered: Apr 2014
Posts: 25

Rep: Reputation: 1
Slackware 14.1 on VMware Workstation guest : VMware Tools doesn't work


I tried to install Slackware 14.1 x64 (kernel 3.10.17) in VMware Workstation 10.0.2 on a host Windows 7 x64.

It works, but if I want to install the VMware Tools it doesn't work.
I created the directory pam.d to /etc, mounted VMware Tools ISO image, copied the archive VMwareTools-x.x.x-xxxxx.tar.gz to /tmp/ decompress it and lauched vmware-install.pl script.

I configured options by default.
Code:
Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/init.d]

What is the directory that contains the init scripts?
[/etc/rc.d/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] yes

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools] /usr/share/doc/vmware-tools

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] yes

The installation of VMware Tools x.x.x build-xxxxx for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] yes
On reboot, I have a kernel panic : "VFS: Unable to mount root fs on unknown-block (8,3)"
Before reboot the tools run fine.
I looked solutions on web, I found http://linux.wxs.ro/2012/03/30/vmwar...kware-install/ and it isn't work.
With VirtualBox the VM VirtualBox Extension Pack work fine.

Any ideas/suggestions ?
Thank you.

Last edited by Shkel; 05-05-2014 at 05:18 AM.
 
Old 05-05-2014, 03:31 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
you need to edit the pl script inside the bin directory and comment the pam installation line since Slackware do not ship PAM in default configuration
 
Old 05-05-2014, 04:00 AM   #3
Shkel
LQ Newbie
 
Registered: Apr 2014
Posts: 25

Original Poster
Rep: Reputation: 1
Which script that I must to edit ? vmware-install.pl before running it ?
willysr, can you give me the solution in showing me the source to edit ?
Thank you.
 
Old 05-05-2014, 04:20 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
the script you need to edit: vmware-tools-contrib/bin/vmware-config-tools.pl
Have a look on line 4058
put a "#" character in front of install_symlink($pamfile, '/etc/pam.d/vmtoolsd');
and then re-execute the vmware-install.pl

You can also delete your /etc/pam.d as well

Don't forget to see my blog post about fixing the broken network script as well: http://slackblogs.blogspot.com/2013/...en-script.html

Last edited by willysr; 05-05-2014 at 04:22 AM.
 
1 members found this post helpful.
Old 05-05-2014, 04:30 AM   #5
Shkel
LQ Newbie
 
Registered: Apr 2014
Posts: 25

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by willysr View Post
the script you need to edit: vmware-tools-contrib/bin/vmware-config-tools.pl
Have a look on line 4058
put a "#" character in front of install_symlink($pamfile, '/etc/pam.d/vmtoolsd');
and then re-execute the vmware-install.pl

You can also delete your /etc/pam.d as well
Great, thank you willysr

Quote:
Don't forget to see my blog post about fixing the broken network script as well: http://slackblogs.blogspot.com/2013/...en-script.html
Well done, I follow this fixing after to running vmware-install.pl ?
 
Old 05-05-2014, 04:34 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
yes, let me know if it solves your problem
 
Old 05-05-2014, 04:39 AM   #7
Shkel
LQ Newbie
 
Registered: Apr 2014
Posts: 25

Original Poster
Rep: Reputation: 1
Yes I hold you informed.
 
Old 05-05-2014, 05:40 AM   #8
Shkel
LQ Newbie
 
Registered: Apr 2014
Posts: 25

Original Poster
Rep: Reputation: 1
willysr, I made your suggestion and it doesn't work.
Same problem, kernel panic on reboot.

I modified the script vmware-config-tools.pl add a comment in front of install_symlink($pamfile, '/etc/pam.d/vmtoolsd'); and launched vmware-install.pl.
I answered options by default to valid installation.
After installation, HGFS sharing doesn't run but it doesn't no matter.

Look the attached file.
Attached Thumbnails
Click image for larger version

Name:	KernelPanic.jpg
Views:	179
Size:	124.8 KB
ID:	15431  

Last edited by Shkel; 05-05-2014 at 06:57 AM.
 
Old 05-05-2014, 07:02 AM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
I always answered no on HGFS since it's not working either, but it seems you have another problem
can you explained what have you done besides installing Slackware and VMWare Tool?
Did you upgrade any package at all?
 
Old 05-05-2014, 07:26 AM   #10
kenw232
Member
 
Registered: May 2006
Posts: 125

Rep: Reputation: 12
It will work. I've done exactly this and also moved the vm to a vsphere 4 server after. I did not have to comment out any pam stuff in the scripts from what I can remember. The only thing I did do is build a new kernel first.
 
Old 05-05-2014, 07:39 AM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
why do you need to build a new kernel?
the default kernel works with VMWare Workstation 10.0.2 as well

if you don't comment the pam thing, the script will fail as Slackware doesn't ship PAM
 
Old 05-05-2014, 07:43 AM   #12
Shkel
LQ Newbie
 
Registered: Apr 2014
Posts: 25

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by willysr View Post
Can you explained what have you done besides installing Slackware and VMWare Tool?
-Mount VMware Tools
Code:
mount /dev/sr0 /mnt/cdrom/
-Copy VMwareTools-x.x.x-xxxxx.tar.gz to /tmp/
Code:
cp /mnt/cdrom/VMwareTools-x.x.x-xxxxx.tar.gz /tmp/
-Decompress VMwareTools-x.x.x-xxxxx.tar.gz from /tmp/
Code:
tar xvfz VMwareTools-x.x.x-xxxxx.tar.gz
-Edit script vmware-config-tools.pl from vmware-tools-distrib directory (/vmware-tools-distrib/bin/).
Line 4058, comment
Code:
#install_symlink($pamfile, '/etc/pam.d/vmtoolsd');
-Launch vmware-install.pl from VMware Tools directory (/vmware-tools-distrib/).
Code:
./vmware-install.pl
Validate all installation instructions by default.


Quote:
Did you upgrade any package at all?
Yes, my guest Slackware is completely upgraded.

Last edited by Shkel; 05-05-2014 at 07:49 AM.
 
Old 05-05-2014, 07:47 AM   #13
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
Just to be sure, did you upgrade using -stable or -current mirrors?
 
Old 05-05-2014, 07:57 AM   #14
Shkel
LQ Newbie
 
Registered: Apr 2014
Posts: 25

Original Poster
Rep: Reputation: 1
I use Slackware64-14.1 mirrors stable from Germany.
 
Old 05-05-2014, 09:17 AM   #15
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
OK, did you perform full installation right?
that means that you are using huge kernel, so that kernel panic thing shouldn't happen even after installing VMWare Tools, unless i missed something from your activities
 
  


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
[SOLVED] Slackware guest on VMware. How to get poweroff scripts to work. coldbeer Slackware 2 10-10-2013 10:24 AM
arrow keys do not work when running guest os in init 3 run level Vmware workstation 7 jamesbon Linux - Virtualization and Cloud 4 11-26-2010 08:45 AM
VMware snapshot with VMware tools loses network on restart (Host XP, Guest Fedora) John Fletcher Linux - General 12 10-18-2010 12:28 PM
Slackware 13: Problems with VMware Workstation Tools and KDE thosch97 Slackware 2 02-14-2010 08:22 AM
vmware-server: host linux, guest winxp, usb mouse doesn't work hedpe Linux - Software 5 09-08-2008 04:41 AM

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

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