www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

ZS 3.4.0 32-bit (Update) Template with VMware Tools

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
gordonf



Joined: 26 Feb 2012
Posts: 89

PostPosted: Tue Sep 02, 2014 11:13 pm    Post subject: ZS 3.4.0 32-bit (Update) Template with VMware Tools Reply with quote

I finished a template with the ZS 3.4.0 distribution and VMware Tools 10.0.0 pre-installed:

http://www.antiwindowscatalog.com/downloads/ZS340_OVA_Template.zip (602 MB)

06 OCT 2015: A new VMware Tools version this time. This one's a little larger because VMware Tools 10 included some new things. I haven't fully tested this one, so please send feedback on it.

24 FEB 2015: This updated template uses a separate partition for the VMware Tools installation. This seems to make profile manipulation work while VMware Tools is running, because it isn't using /DB or /Database anymore. The kernel is 3.14.31 32-bit, which includes GCC exploit fixes and kernel drivers for vmxnet3 (10 Gigabit) and other VMware goodies. Make sure the OS type is "Other Linux 2.6.x (32-bit)" to expose vmxnet3.

To migrate your ZS profile from any existing ZS installation to this one, use the web-based Profiles manager from your existing ZS installation to save a copy of the profile, then upload the profile to this new installation. Turn off post-boot scripting before profile manipulation, and edit the post-boot script to use these lines instead of the original:

Code:
mkdir /vmtools
mount /dev/sda5 /vmtools
/vmtools/vmware-tools/startup/run.sh

--


Last edited by gordonf on Tue Oct 06, 2015 5:04 pm; edited 2 times in total
Back to top
View user's profile Send private message
gordonf



Joined: 26 Feb 2012
Posts: 89

PostPosted: Sat Feb 07, 2015 1:39 am    Post subject: 64-bit Support Reply with quote

[Update JUN 2015] The rest of this post doesn't make sense anymore, since there appears to be no need for a special 64-bit version of this template.

To use a 64-bit kernel in a Zeroshell VM, you just need to use the 3.3.2 OVA template to make a VM, then install the Advanced Kernel package (49200). You can then choose a 32-bit or 64-bit 3.18.11 kernel. The instructions to activate VMware Tools are the same regardless of which kernel is in use.

This works because the kernels include modules for vmxnet3 (10 Gig), LSI SAS SCSI, and three other devices whose names I currently forget. The VMware Tools installation only contains the user-mode software needed to monitor the guest OS and to support host-initiated shutdown. This is useful if you have to automate a host shutdown for some reason, such as a UPS-triggered shutdown in case of power failure.

Quote:
The original post has a new download link for the ZS 3.3.2 OVA template that also contains a newer VMware Tools.

I noticed that older ESXi versions may not display the correct OS in the VM properties, so make sure your hypervisor is up to date, whatever version you run, if this is important to you.

Also, I have a 64-bit version of this template that works. It has at least one quirk in that it thinks the 64-bit kernel isn't installed when it is, probably because module installation is tied to profiles.

I won't release the 64-bit template without Fulvio's blessing, as the 64-bit kernel is normally available only to subscribers. However, I would like others to test it. May I release this template for general use or to specific testers?

The original installation instructions work as long as you skip the step to copy and re-link /lib/modules (/etc/modules as of v3.0.0), because /etc/modules is read/write in the 64-bit version. So if I can't release the template I can at least explain how to make VMware Tools work on the 64-bit kernel.

--


Last edited by gordonf on Thu Jun 18, 2015 12:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
scegg



Joined: 18 Apr 2009
Posts: 50

PostPosted: Thu Jun 18, 2015 6:10 am    Post subject: Reply with quote

Any way to get your 64 bit release?
Back to top
View user's profile Send private message
gordonf



Joined: 26 Feb 2012
Posts: 89

PostPosted: Thu Jun 18, 2015 12:48 pm    Post subject: Apparently there's no need for special 64-bit template Reply with quote

I tested switching between the 32-bit and 64-bit kernel on a subscribed Zeroshell VM, and it seems the VMware Tools hack-installation works with both. So to get 64-bit Zeroshell working with VMware Tools, use the current 32-bit OVA template and install the Advanced Kernel (49200) package. Then switch to the 64-bit kernel in the Boot menu.

This kernel loaded a vmxnet3 device without complaint, showing up as "VMware VMXNET3 Ethernet Controller (rev 01)". My own installation further includes the IRQBALANCE (30800) and Microcode (40310) packages and these are working too.

So the 32-bit and 64-bit kernels already have the needed driver support. The OVA template's VMware Tools installation only provides the monitoring and guest shutdown functionality.
--
Back to top
View user's profile Send private message
scegg



Joined: 18 Apr 2009
Posts: 50

PostPosted: Mon Jun 29, 2015 1:50 am    Post subject: Reply with quote

Cannot upgrade the vmware tools...
Back to top
View user's profile Send private message
gordonf



Joined: 26 Feb 2012
Posts: 89

PostPosted: Mon Jun 29, 2015 12:41 pm    Post subject: This is a hack install remember Reply with quote

Zeroshell is a LiveCD product, even when it's installed on a hard drive or flash device, so installing VMware Tools is a pain in the neck. The normal upgrade process won't work.

Besides, the only thing that the OVA template has installed is the monitoring. The ZS kernel (At least since ZS 3.2.0) already has all of the needed kernel modules compiled-in. And your hypervisor might complain that the Tools installation is out of date but monitoring and host-initiated shutdown will still work.

Eventually Fulvio is making an Open VM Tools package installable from the Package Manager, and that will replace this hack job installation.

If you want to install a current VMware Tools, it is possible to repeat the steps I did and use a current linux.iso file. The VMware Workstation, Player and Fusion ISO images for VMware Tools are also valid for ESXi.
--
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
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


Powered by phpBB © 2001, 2005 phpBB Group