How do i install VMware inside Puppy?

Using applications, configuring, problems
Post Reply
Message
Author
cain071546
Posts: 9
Joined: Sun 20 Dec 2009, 22:24

How do i install VMware inside Puppy?

#1 Post by cain071546 »

I would like to use puppy to run some other very small distros and I cant seem to find anything online that isn't related to Puppy inside vmware.
What about vmware inside puppy?
I'm sure someone has done it. Can anyone help?

User avatar
DanYHKim
Posts: 103
Joined: Mon 15 Sep 2008, 01:51

Installing VMware Player 3.0 on Puppy Linux 4.3.1

#2 Post by DanYHKim »

__Summary__

To use VMware Player on Puppy Linux, you will need to:

1 - Set up your computer to boot to Puppy with a "Frugal" installation
2 - Save a pupsave_431.2fs file of sufficient size (I just make it the 1.2 Gb maximum)
3 - Set Puppy to mount the development tools and kernel source .sfs files
4 - Prepare directories to receive the VMware Player installation
5 - Download VMware Player for Linux
6 - Run the installer
7 - Configure VMware Player, including creation of kernel-specific modules
8 - Make corrections to the vmplayer.desktop file for correct menu entry

Are you sure you want to do this?
It's a lot more involved if you are doing this in a Full installation.

I am going to assume you can already set up a computer to boot to Puppy Linux as a frugal installation, create a pupsave_xxx.2fs file and configure the bootmanager to mount the .sfs files. (Those are steps 1 to 3.)

__Downloads__

Puppy Linux 4.3.1 liveCD image
http://distro.ibiblio.org/pub/linux/dis ... up-431.iso

Puppy Linux 4.3.1 development tools .sfs
http://distro.ibiblio.org/pub/linux/dis ... vx_431.sfs

Puppy Linux 4.3.1 kernel source .sfs for kernel 2.6.30.5
http://puppylinux.com/sources/kernel-2. ... d.sfs4.sfs

VMware Player for 32-bit Linux
http://downloads.vmware.com/d/details/p ... piZGVkZA==

Note: You may have to register with VMware before you can download the installer.

__ 4 Prepare directories and one file __

You will need to create folders in /etc, so enter the following command in a terminal window:

mkdir -p /etc/rc.d/vmware.d/rc{0,1,2,3,4,5,6}.d

(What does the "-p" do in mkdir? I dunno. I read this somewhere else.)

Next, go to /etc/rc.d. There is a symlink to init.d there, which should be copied to /etc/rc.d/vmware.d

It may not be necessary, but create a blank file in /etc called "inet.conf". This was needed for earlier versions of VMware Player to be installed in Puppy, so it's not a bad idea to make this as well.

__ 5 and 6 Download and run the installer __

I figure you now have the file "VMware-Player-3.0.x-<version_number>.i386.bundle" someplace

From a terminal, run this installer

/<path>/VMware-Player-3.0.x-<version_number>.i386.bundle

The installer application will start. You may need to accept the EULA.

You will be asked for the "System service runlevels". Set them to:

/etc/rc.d/vmware.d/

System service scripts should be set to:

/etc/rc.d

The installer should now work by itself, and then end.

__ 7 Configure and create modules __

I'm getting a bit hazy in my memory, but there may be more here. You may be asked to confirm the locations of the kernel header files, etc. You can just accept their defaults, though. This might happen when you first run it, and not during the installation

__ 8 Fix the .desktop file, which is always wrong __

The application is found in /usr/bin/vmplayer

An icon can be found at /usr/lib/vmware/share/pixmaps/vmware-player.png

A .desktop file is found at /usr/share/applications/vmware-player.desktop

Edit vmware-player.desktop to have the correct path and filename for the icon

==== You're done ====

After you reboot, you should fine VMware Player in your System menu, or maybe Utilities. I forget.

Your first run may be where configuration occurs. My memory is hazy.

I hope this is mostly correct.

Daniel Kim

(I will follow this post with some more information)

wobiwilli
Posts: 9
Joined: Sat 01 Sep 2007, 16:54

#3 Post by wobiwilli »

http://murga-linux.com/puppy/viewtopic. ... 53&t=35356

download
vmware_vmplayer-2.5.2_k2.6.25.16.sfs

rename to
vmplayer_xxx.sfs xxx = your puppyversion

for example vmplayer_412.sfs is for puppy 4.1.2

choose bootoptions
add your vmplayer file
reboot
start vmplayer

tested in puppy 4.1.2

Grüße aus der Autostadt

User avatar
DanYHKim
Posts: 103
Joined: Mon 15 Sep 2008, 01:51

Using VMware Player inside Puppy Linux - Frugal

#4 Post by DanYHKim »

VMware Player likes to have a place to put temporary files. If you are using Player in a Full Install of Puppy Linux, this may not be a problem, but if you are using a Frugal install, you're in trouble.

This is because your temporary files will be made within your frugal filesystem, which is limited to your pupsave_xxx.2fs file. You run out of space really fast.

This was addressed at VMware's community forum
http://communities.vmware.com/thread/77928?tstart=350

VMware has its configuration file located at:

/etc/vmware/config

Edit this file, and change or create the line

tmpDirectory = "/some/other/directory"

You want the temp directory to be outside the Puppy frugal filesystem. I put mine in

/mnt/sda1/VMtemp

You may also want to have a swap partition as well.

Daniel Kim

FiloFlame
Posts: 1
Joined: Wed 26 May 2010, 11:09

#5 Post by FiloFlame »

DanYHKim could you please explain better point number 7 "__ 7 Configure and create modules __" ?

I've downloaded vmplayer 3 installer, and I run Lucid Puppy with 2.6.33.2 kernel version; I've also mounted devx_500 and kernel_source sfs files.

VM Player installer worked correctly, now when I type "vmplayer" It asks for Kernel Headers Files..I think it should be related with your seventh point!

Thanks a lot

Filo

kostas801
Posts: 51
Joined: Sat 10 Jan 2009, 14:26
Location: Greece, Athens

Vmware on puppy 431

#6 Post by kostas801 »

I have the puppy 431 (frugal), i used the sfs file of vmware

but when i start the application vmware the result was :

C header files matching your running kernel were not found. Refer to your distribution's documentation for installation instructions.


what do i have to do?

thanks
kostas

kostas801
Posts: 51
Joined: Sat 10 Jan 2009, 14:26
Location: Greece, Athens

#7 Post by kostas801 »

Also, after I had added the kernel source sfs file at the boot loader

and i started the vmware the error was:


Unable to build kernel module.

See log file /tmp/vmware-root/setup-15734.log for details.



thanks kostas

saphir92
Posts: 9
Joined: Sun 24 Oct 2010, 11:51

#8 Post by saphir92 »

anyone installed VMware player in puppy 511 ?

saphir92
Posts: 9
Joined: Sun 24 Oct 2010, 11:51

#9 Post by saphir92 »

anyone one to help me ???

User avatar
DanYHKim
Posts: 103
Joined: Mon 15 Sep 2008, 01:51

Well, dang! I can't get it to work now

#10 Post by DanYHKim »

Just a reply. I've decided to try installing VMware Player 3.1.2 on Lucid Pup 5.1.1, and it is giving me the Kernel Header not found error. Dunno why this is the case, since even I can find them, or something like.

OK, in truth, I wouldn't know a kernel header if you hit me with one. I just set the boot manager to load the blah-blah-blah.2.6.something.something.sfs on boot, like I always did.

So, I am also at a loss. This always used to work, and so I feel betrayed!

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Qemu on Puppy

#11 Post by shinobar »

If you can afford the slow speed, there is SFS of Qemu virtual machine on Puppy.
Works on Puppy-431 and may work on any Puppy.
http://www.murga-linux.com/puppy/viewtopic.php?t=61321
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
Burn_IT
Posts: 3650
Joined: Sat 12 Aug 2006, 19:25
Location: Tamworth UK

#12 Post by Burn_IT »

I use VirtualBox under 4.2.1 from a USB drive and run XP as a virtual machine under it. My drive is a 30Gb Asustek EEe 1.8in drive. (SHE251)
It is very nearly as quick as native XP and is completely Portable.
I needed the XP to get at Outlook and Power Point on client machines.
"Just think of it as leaving early to avoid the rush" - T Pratchett

User avatar
DanYHKim
Posts: 103
Joined: Mon 15 Sep 2008, 01:51

I had the wrong kernel_srcxxx.sfs file!

#13 Post by DanYHKim »

Install VMware Player 3.1.2 on Puppy Linux 5.1.1 (Lucid Pup) - Frugal Install

Distribution .iso file:
http://distro.ibiblio.org/pub/linux/dis ... pu-511.iso

Development Tools .sfs file:
http://distro.ibiblio.org/pub/linux/dis ... vx_511.sfs

Kernel Source .sfs file: (Login: puppy, Password: linux)
http://www.smokey01.com/01micko/lupu_ke ... atched.sfs
--Not to be mistaken for the "kernel_src-2.6.33.2-patched.sfs" file, which is for the 5.1.0 release.

VMware Player can be downloaded from their site at
http://www.vmware.com/products/player/

You will need to register with them (free) and log in to get to the download page.
I downloaded the installation file: "VMware-Player-3.1.1-282343.i386.bundle"


___ I. Boot your computer with Puppy Linux 5.1.1

I figure this is a trivial matter for you, and does not need more description.

___ II. Shutdown, creating a lupusave.2fs file

I have it as a maximum size (1.25 Gb?) ext2 filesystem

___ III. Restart Puppy so it will load up with the lupusave.2fs

Now, set it up to load the development tools, etc.

Copy the lupu_devx_511.sfs and kernel_src_xxx.sfs to your /mnt/home directory, where lupusave.2fs is located

Go to Menu --> System --> BootManager

Choose extra SFS files to load on bootup. The two .sfs files should appear in the list, so select them to load.

Restart Puppy again

___ IV. You're ready to install!

*** Important preparation before you install ***

Something not mentioned, but really important. You need to add some folders to /etc before you proceed.

Create the directory /etc/pam.d (This may already exist. If so, don't bother)

Create directories /etc/rc.d/rc0.d to rc6.d (seven directories in rc.d)

Create a blank file /etc/inetd.conf (This may not be relevant anymore, but do it anyway)

*** END of Important Preparation ***

Find the VMware-Player-xxx.bundle file, and click it to launch. Wait a bit, it takes a minute to load up.
An installer will be created and launched, which will now ask if you want to check for updates, send data to VMware, etc. Answer however you like.

After a while, it will announce that the installation is complete, and you can click the Close button.

Perhaps out of superstition, I always shut down the computer and power it back on before proceeding.

___ V. Start up VMware Player! Hooray!

You can now find the launcher for VMware Player in your menu. It is found in

Menu --> System --> System Status and Config --> VMware Player

If it is not there, you might need to open a terminal (click the Console launcher on the desktop) and type:

/usr/sbin/fixmenus

Then go to Menu --> Shutdown --> Restart JWM to restart the window manager

VMware Player should now start up and begin to compile kernel modules for itself. This is where the kernel_src_xxx.sfs file is important, by the way.

Eventually, it will open an accept license window. When you agree, it will open the VMware Player console for you.

Now you can create and run virtual machines!

___ Extra: Fix the .desktop file, which is always wrong __

The menu item seems to be defined by a .desktop file. When VMware Player is installed, it is always missing its icon.

The .desktop file for VMware Player is found at /usr/share/applications/vmware-player.desktop

An icon can be found at /usr/lib/vmware/share/pixmaps/vmware-player.png

Edit vmware-player.desktop file, and change the "icon=" line to have the correct path and filename for the icon

I think it will display properly if you restart the computer, or maybe you need to do the /usr/sbin/fixmenus and restart JWM thing to make it work.

xxxxxx xxxxxx A note on running virtual machines in Puppy Linux xxxxxx xxxxxx

VMware Player will need some place to put temporary files, etc. Since your Frugal install limits your file system to a rather small size, you will quickly run out of space. Fortunately, there's a way to tell VMware Player to put its temp files in another designated location (somewhere else on the hard drive, for instance).

This was discussed at http://communities.vmware.com/thread/77928?tstart=350

You can change the directory in /etc/vmware/config by adding (or changing) the following line:

tmpDirectory = "/some/other/directory"

First, go to /etc/vmware

Right click the "config" file, and select "Edit as Text"

Add the line to the text file, using the path of a directory not in your lupusave.2fs filesystem. I used "/mnt/sda1/_VMX/tmp" to do this, since my virtual machines are in /mnt/sda1/_VMX already. Remember, this will only work if /mnt/sda1 is mounted. If not, then VMware Player will probably choke.

*** A final note about VMware Player under Linux ***
VMware Player doesn't like to work with virtual machines that reside in a NTFS partition. They will give errors and not load. It used to be that there were settings that would work around this, but they don't work for the 3.1.x player, I guess. In any case, if you're going to play VMs under Puppy, they should be located in an ext2 partition (maybe ext3, but I haven't tried this).

That being said, I am able to make this work. Can't figure out how to make Shared Folders work, though, but still, it's a start.[/i]
Last edited by DanYHKim on Mon 01 Nov 2010, 19:10, edited 1 time in total.

saphir92
Posts: 9
Joined: Sun 24 Oct 2010, 11:51

#14 Post by saphir92 »

Hi,

I tried your tutorial and it's not working for me.

Here are the differences:

- My puppy 5.11 is booting from an usb key.
- lupusave.3fs, kernel_src-2.6.33.2-patched.sfs, lupu_devx_511.sfs are in the root of that key, i load them at the boot process.

They mount in /mnt/home

- I download the file VMware-Player-3.1.2-301548.i386.bundle

In /etc I've have done all the things you said.

the installation of the vmware is going quite well.

When i launch the VMware player I have compilation errors:

"Unable to build kernel module.
See log file /tmp/vmware-root/setup-28529.log for details."

Oct 31 09:08:37.609: app-3076835008| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.33.2/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.3

Oct 31 09:08:38.835: app-3076835008| Failed to compile module vmmon!


so ?

User avatar
DanYHKim
Posts: 103
Joined: Mon 15 Sep 2008, 01:51

You need a different kernel_srcxxx.sfs file

#15 Post by DanYHKim »

I got this wrong myself, and had trouble until it was resolved. The kernel source .sfs file is:

Kernel Source .sfs file:
http://www.smokey01.com/01micko/lupu_ke ... atched.sfs

You want the one that says "L4" on it.

Chasing down the kernel_src_xxx.sfs file is a major hassle, since it is not directly linked in the new distribution announcements, as far as I can tell.

saphir92
Posts: 9
Joined: Sun 24 Oct 2010, 11:51

#16 Post by saphir92 »

Yes it works !

Thanks a lot

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

Thanks

#17 Post by emil »

I just wanted to say Thank you! to DanYHKim and all, precious information, saved my day.
8) emil

robinhook
Posts: 5
Joined: Tue 24 Aug 2010, 01:36

Re: You need a different kernel_srcxxx.sfs file

#18 Post by robinhook »

Gotta say, Daniel, you rocks, man!
DanYHKim wrote:
Chasing down the kernel_src_xxx.sfs file is a major hassle, since it is not directly linked in the new distribution announcements, as far as I can tell.
BTW, seems that many similar work always caused by actual kernel src mismatch.

How do you check which src .sfs is matching currrent running code?
I know "uname" command does provide some info, but seems to me not enough...

chris67
Posts: 5
Joined: Fri 03 Feb 2012, 19:04

VMWare Player 4.0.2 under Lucid 4.2.8

#19 Post by chris67 »

In order to install VMware Player 4.0.2 under Lucid 5.2.8 I followed the instructions from DanYHKim, October 29.,2010, but I found that I needed a few additional points.

1. VMware Player seems to need HAL daemon (Hardware Abstraction Layer) installed. It was removed from Puppy since 5.2.5 or so. There is a PET for it.

2. When I simply clicked on the VMware bundle in order to install it (step IV of Dan's description), installation always failed and rolled back, no error message given. To make it work, you have to open a console, and issue

sh VMwarePlayer.bundle --console --ignore-errors

from where it is stored.

3. VMware Player 4.0.2 doesn't contain VMware tools. Clicking on the menu item "Install VMware tools" gives an error message. People on the VMware board are complaining about this. So either use Version 4.0.1 or take windows.iso (linux.iso etc.) from a VMware Workstation or Server installation. It seems not to be directly downloadable from VMware.

After solving these three points, VMware works fine under Lucid 5.2.8.

Post Reply