Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Sep 2014, 22:59
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How do i install VMware inside Puppy?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Author Message
cain071546

Joined: 20 Dec 2009
Posts: 9

PostPosted: Tue 12 Jan 2010, 18:27    Post subject:  How do i install VMware inside Puppy?  

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?
Back to top
View user's profile Send private message 
DanYHKim


Joined: 14 Sep 2008
Posts: 103

PostPosted: Wed 13 Jan 2010, 17:42    Post subject: Installing VMware Player 3.0 on Puppy Linux 4.3.1
Subject description: To a Frugal installation
 

__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/distributions/puppylinux/puppy-4.3.1/pup-431.iso

Puppy Linux 4.3.1 development tools .sfs
http://distro.ibiblio.org/pub/linux/distributions/puppylinux/puppy-4.3.1/devx_431.sfs

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

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

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)
Back to top
View user's profile Send private message 
wobiwilli

Joined: 01 Sep 2007
Posts: 9

PostPosted: Wed 13 Jan 2010, 17:46    Post subject:  

http://murga-linux.com/puppy/viewtopic.php?search_id=1367384353&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
Back to top
View user's profile Send private message 
DanYHKim


Joined: 14 Sep 2008
Posts: 103

PostPosted: Wed 13 Jan 2010, 17:57    Post subject: Using VMware Player inside Puppy Linux - Frugal
Subject description: Running out of temporary file space
 

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
Back to top
View user's profile Send private message 
FiloFlame

Joined: 26 May 2010
Posts: 1

PostPosted: Wed 26 May 2010, 07:17    Post subject:  

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
Back to top
View user's profile Send private message 
kostas801

Joined: 10 Jan 2009
Posts: 52
Location: Greece, Athens

PostPosted: Sat 10 Jul 2010, 16:21    Post subject: Vmware on puppy 431  

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
Back to top
View user's profile Send private message 
kostas801

Joined: 10 Jan 2009
Posts: 52
Location: Greece, Athens

PostPosted: Sat 10 Jul 2010, 16:45    Post subject:  

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
Back to top
View user's profile Send private message 
saphir92

Joined: 24 Oct 2010
Posts: 9

PostPosted: Sun 24 Oct 2010, 10:37    Post subject:  

anyone installed VMware player in puppy 511 ?
Back to top
View user's profile Send private message 
saphir92

Joined: 24 Oct 2010
Posts: 9

PostPosted: Thu 28 Oct 2010, 17:35    Post subject:  

anyone one to help me ???
Back to top
View user's profile Send private message 
DanYHKim


Joined: 14 Sep 2008
Posts: 103

PostPosted: Thu 28 Oct 2010, 22:31    Post subject: Well, dang! I can't get it to work now
Subject description: Kernel headers problem with LuPu 511
 

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!
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2618
Location: Japan

PostPosted: Fri 29 Oct 2010, 04:27    Post subject: Qemu on Puppy  

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

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
Burn_IT


Joined: 12 Aug 2006
Posts: 996
Location: Tamworth UK

PostPosted: Fri 29 Oct 2010, 07:23    Post subject:  

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.

_________________
I can't remember the last time I forgot something!
Back to top
View user's profile Send private message 
DanYHKim


Joined: 14 Sep 2008
Posts: 103

PostPosted: Fri 29 Oct 2010, 16:04    Post subject: I had the wrong kernel_srcxxx.sfs file!
Subject description: Here is a procedure to install VMware Player
 

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/distributions/puppylinux/puppy-5.1.1/lupu-511.iso

Development Tools .sfs file:
http://distro.ibiblio.org/pub/linux/distributions/puppylinux/puppy-5.1.1/lupu_devx_511.sfs

Kernel Source .sfs file: (Login: puppy, Password: linux)
http://www.smokey01.com/01micko/lupu_kernel/kernel_src_L4-2.6.33.2-patched.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, 15:10; edited 1 time in total
Back to top
View user's profile Send private message 
saphir92

Joined: 24 Oct 2010
Posts: 9

PostPosted: Sun 31 Oct 2010, 04:13    Post subject:  

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 ?
Back to top
View user's profile Send private message 
DanYHKim


Joined: 14 Sep 2008
Posts: 103

PostPosted: Mon 01 Nov 2010, 15:07    Post subject: You need a different kernel_srcxxx.sfs file
Subject description: You have the one for lupu5.1.0
 

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_kernel/kernel_src_L4-2.6.33.2-patched.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.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1071s ][ Queries: 11 (0.0059s) ][ GZIP on ]