WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Anyone succeeded with installing vmware on TC?  (Read 29656 times)

Offline Ulysses_

  • Full Member
  • ***
  • Posts: 232
Re: Anyone succeeded with installing vmware on TC?
« Reply #30 on: November 12, 2010, 02:39:50 PM »
Currently using the timestamp method for another purpose, to find out what might be missing from a "tce-load -wi" download that is not missing from an Appbrowser download resulting in vmware being uninstallable in the former case.

Hasn't anyone noticed the error messages while "tce-load -wi" is downloading?

Offline Ulysses_

  • Full Member
  • ***
  • Posts: 232
Re: Anyone succeeded with installing vmware on TC?
« Reply #31 on: December 09, 2010, 04:52:59 PM »
The instructions that used to work for this do not currently.  Neither in TC 3.2, nor in TC 3.3.  Here's the script that used to work:

Part 1:

for e in compiletc bash coreutils module-init-tools linux-headers-$(uname -r) Xorg-7.5 alsa GConf; do tce-load -wi $e; done

Now exit X, and type startx

Part 2:

for n in $(seq 0 6); do sudo mkdir -p /etc/rc.d/rc$n.d/; done
sudo bash VMware-Player-3.1.0-261024.i386.bundle
if [ ! -f /etc/rc.d/init.d/vmware ]; then
echo VMware .bundle installation script has failed
exit
fi
sudo sed 's:/sbin/::' -i /etc/rc.d/init.d/vmware
sudo vmware-modconfig --console --install-all
sudo /etc/rc.d/init.d/vmware start


Currently this exits with "VMware .bundle installation script has failed"
« Last Edit: December 09, 2010, 04:56:51 PM by Ulysses_ »

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
Re: Anyone succeeded with installing vmware on TC?
« Reply #32 on: December 10, 2010, 03:35:32 PM »
I repeated my procedure with a "base norestore" boot of 32-bit Tiny Core 3.3 and it still works for me. Note that I used VMware Player 3.1.2:

Here is my script:

PLAYER=VMware-Player-3.1.2-301548.i386.bundle
for e in compiletc bash coreutils module-init-tools linux-headers-$(uname -r); do
[ -d /tmp/tcloop/$e ] || tce-load -i $e
done

for n in $(seq 0 6); do sudo mkdir -p /etc/rc.d/rc$n.d/; done

ls $PLAYER >/dev/null || exit
yes no | sudo bash $PLAYER

ls /etc/rc.d/init.d/vmware >/dev/null || exit
sudo sed 's:/sbin/::' -i /etc/rc.d/init.d/vmware

which vmware-modconfig >/dev/null || exit
sudo vmware-modconfig --console --install-all

sudo /etc/rc.d/init.d/vmware start
for e in Xorg-7.5 GConf alsa; do
[ -d /tmp/tcloop/$e ] || tce-load -i $e
done

I was able to create a VM and run Tiny Core within the VM.

Offline Ulysses_

  • Full Member
  • ***
  • Posts: 232
Re: Anyone succeeded with installing vmware on TC?
« Reply #33 on: December 11, 2010, 08:40:29 PM »
Thanks.  Back to working order.  Any newbie reading, better replace -i with -wi after tce-load.

In the interest of future users running this script, it would be nice if they could run it with current extensions and current TC.  Otherwise it might not work.

Do you have a public place where current extensions that are relevant to TC as a host for vmware can go?

Offline Ulysses_

  • Full Member
  • ***
  • Posts: 232
Re: Anyone succeeded with installing vmware on TC?
« Reply #34 on: December 11, 2010, 08:45:06 PM »
Is Xorg-7.5-vmware.tcz for TC as a guest only?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Anyone succeeded with installing vmware on TC?
« Reply #35 on: December 12, 2010, 04:20:52 AM »
Is Xorg-7.5-vmware.tcz for TC as a guest only?

Yes. Of no use in the host.
The only barriers that can stop you are the ones you create yourself.

Offline Ulysses_

  • Full Member
  • ***
  • Posts: 232
Re: Anyone succeeded with installing vmware on TC?
« Reply #36 on: December 12, 2010, 08:25:36 AM »
In order to play videos as well as possible in the guest (especially flash videos),

1. Should I have Xorg-7.5-3d.tcz on the host?

2. Should I have Xorg-7.5-3d.tcz in the guest together with Xorg-7.5-vmware.tcz?


Offline Ulysses_

  • Full Member
  • ***
  • Posts: 232
Re: Anyone succeeded with installing vmware on TC?
« Reply #37 on: December 12, 2010, 08:27:36 AM »
My host has an ATI Mobility Radeon X700.  Is there a better driver than the default with Xorg?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Anyone succeeded with installing vmware on TC?
« Reply #38 on: December 12, 2010, 09:48:03 AM »
In order to play videos as well as possible in the guest (especially flash videos),

1. Should I have Xorg-7.5-3d.tcz on the host?

2. Should I have Xorg-7.5-3d.tcz in the guest together with Xorg-7.5-vmware.tcz?

I don't know. Never even tried to play media in a virtualized guest, the idea seems quite wrong to me. The recent acceleration efforts work differently in every VM, you'd need to ask vmware how theirs works.

My host has an ATI Mobility Radeon X700.  Is there a better driver than the default with Xorg?

No. In fact that's the only driver, AMD's official one dropped support for that card over a year ago.
The only barriers that can stop you are the ones you create yourself.

Offline Ulysses_

  • Full Member
  • ***
  • Posts: 232
Re: Anyone succeeded with installing vmware on TC?
« Reply #39 on: December 20, 2010, 05:30:22 AM »
In order to make the changes introduced by the vmware installation persistent, /opt/.filelist.lst could be edited.  Below is the list of changes vmware causes as derived using the timestamp method.

Which entries would you delete before copying the rest to /opt/.filelist.lst?
« Last Edit: August 15, 2021, 07:47:43 PM by Rich »

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
Re: Anyone succeeded with installing vmware on TC?
« Reply #40 on: December 20, 2010, 02:23:04 PM »
Using the backup method will create a large archive. It is useful as proof of concept, but you will want to create an extension with the proper files eventually.

The biggest tip is to exclude any pathnames with begin with /mnt, /dev, /sys, /proc, /tmp, /home/tc, or /lib/modules/2.6.33.3-tinycore/modules. You should also remove any files which were present before the installation. I see a bunch of files under /usr/local which are not part of vmplayer.

I'll create a list for comparison when I get a chance.

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
Re: Anyone succeeded with installing vmware on TC?
« Reply #41 on: December 20, 2010, 03:59:04 PM »
Attached list from TC 2.x build