CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 4 - General Support
  VMWare and CentOS 4.0 question.

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread Rated:  1 Votes
  •  rhorist
      rhorist
VMWare and CentOS 4.0 question.
#1
Newbie
Joined: 2005/6/26
From
Posts: 4
Has anyone got CentOS 4.0 to install with VMWare GSX 3.1 as a guest operating system? If so, can you please post on how you did it? Or is there anything
else I can do. Here is what I have, I have a Compaq DL580 Server that has Windows 2003 on it. I would like to run CentOS 4.0 as a Virtual Machine.

Thanks.
Posted on: 2005/6/27 13:58
Create PDF from Post Print
Top
  •  fjones
      fjones
Re: VMWare and CentOS 4.0 question.
#2
Jr Board Member
Joined: 2005/7/5
From
Posts: 32
I've installed both centos 4.0 and 4.1 as guests under GSX 3.1 running on Win2003 Server as the host. I selected "Other 2.6 based kernel" for the OS/Linux type and chose the LSI scsi controller instead of the buslogic.

I've noticed that the clock has MAJOR issues and while the recommendation to set clock=pit in the lilo/grub config and have the vmware tools sync the time to the host has been helpful it can still get out of sync by over a minute in under 10 minutes, then it "syncs" and gets out of sync all over again. I've not tried the kernel changes as of yet since they require a recompile and while I don't have any problems recompiling I'm trying to keep the machines as "pure" as possible.

If I don't make the above changes it can get out of sync by over an hour in under a 12 hour period.
Posted on: 2005/7/5 6:14
Create PDF from Post Print
Top
  •  Tony
      Tony
Re: VMWare and CentOS 4.0 question.
#3
Peeking in the Member Window
Joined: 2005/5/24
From
Posts: 16
I've not had much luck with it either - as I cant get CENTOS 4.0 I386 on CD to install on vmware workstation 4.

It says it cant find any hard drives.
_________________
CentOS 4.1 x86_x64 - Dual 2.8ghz Xeon, Apache 2.0 - PHP 5.1.6
Posted on: 2005/7/5 15:59
Create PDF from Post Print
Top
  •  fjones
      fjones
Re: VMWare and CentOS 4.0 question.
#4
Jr Board Member
Joined: 2005/7/5
From
Posts: 32
Try creating the machine as "custom", select Linux, do the normal stuff but when you get to "Select disk file" click the advanced option and select IDE instead of SCSI.

I think VMWare workstation defaults to a Buslogic controller and I don't think CentOS has a driver for it. On GSX I have to select LSI controller instead of Buslogic or I get a "no disk found" error. If you choose IDE for your drive type CentOS should install.
Posted on: 2005/7/5 19:15
Create PDF from Post Print
Top
  •  rhorist
      rhorist
Re: VMWare and CentOS 4.0 question.
#5
Newbie
Joined: 2005/6/26
From
Posts: 4
Has anyone figured out the Clock issue? I have tried VMWare Tools, clock=pit, clock=pmtmr and my clock is still running fast. I have not recompiled the kernel yet. I can not believe this should be that hard. Or does anyone else have a suggestion of running something else beside VMWare?

Thanks....
Posted on: 2005/10/10 14:27
Create PDF from Post Print
Top
  •  vgjunkie
      vgjunkie
Re: VMWare and CentOS 4.0 question.
#6
Newbie
Joined: 2006/1/3
From
Posts: 2
There was talk of putting a patch in the 2.6.13+ kernel to make the Hertz configurable at boot time. Does anybody know if this ever made it in to the current kernel version? If so, how can you enable 100hz?
Posted on: 2006/1/3 16:21
Create PDF from Post Print
Top
  •  fjones
      fjones
Re: VMWare and CentOS 4.0 question.
#7
Jr Board Member
Joined: 2005/7/5
From
Posts: 32
From what I read modifying the code to make it a boot time options was alot of work.

I have been testing with CentOS 4.x under VMWare GSX and Workstation. On a AMD 64bix X2 3800 and a AMD 64bit 3200 processor based systems the clock seem to stay sync'ed with clock=pit and the VMWare tools set to sync time. I've only tested for a few hours but results look good. The exact same configuration on two different Athlon 2400 based systems yeild 10-50 seconds of drift per minute depending on how busy the host processor is. If the host is at 100% cpu the drift can be 50 seconds or more in one minute. Though the ASUS based system seems to drift a bit more than the SOYO. Annoying.

I try to stay with prepackaged RPM's for maintance and lazyness facotrs... But I'm afraid that on the 2400 based systems I will need to recompile the kernel. I'll try and do it this week. If a recompiled kernel with hertz=100 keeps time on a 100% cpu loaded host I'll get the kernel packaged and available for d/l from my site in both src rpm and binary.

fj
Posted on: 2006/1/7 19:27
Create PDF from Post Print
Top
  •  PyRoAcIdK
      PyRoAcIdK
Re: VMWare and CentOS 4.0 question.
#8
Newbie
Joined: 2005/3/12
From
Posts: 3
Hey,

THIS IS ONLY A TEMP FIX:

login as root.
crontab -e
and add an entry for ntpdate time.windows.com and set it for every 5 minutes.

It's about the best you can do.

BELIEVE ME, I HAVE TRIED :(
Posted on: 2006/1/13 3:29
Create PDF from Post Print
Top
  •  osde-info
      osde-info
Re: VMWare and CentOS 4.0 question.
#9
Regular Board Member
Joined: 2005/2/8
From LGW UK
Posts: 108
FYI

We're running CentOS 3 & 4 (LSI SCSI) guests on CentOS 4 host VMware Workstation and CentOS 4 host VMware Player (FREE)
as well as CentOS 3 (LSI SCSI) guests on Red Hat 7.2 VMware ESX 2.5

PS Can't wait for ESX 3 so we can run CentOS 4 guests
_________________
Regards
Clive
Posted on: 2006/1/18 9:50
Create PDF from Post Print
Top
  •  dgoodma
      dgoodma
Re: VMWare and CentOS 4.0 question.
#10
Peeking in the Member Window
Joined: 2005/11/8
From
Posts: 21
I was running VM WARE Player, and the Browser Appiance until I got the kernel upgrade; now VM WARE Player will not launch.
Posted on: 2006/1/18 20:42
Create PDF from Post Print
Top
  •  osde-info
      osde-info
Re: VMWare and CentOS 4.0 question.
#11
Regular Board Member
Joined: 2005/2/8
From LGW UK
Posts: 108
unfortunately yum up2date breaks vmware see http://www.centos.org/modules/newbb/viewtopic.php?forum=27&topic_id=2804 for instructions on how to go back to your old kernel
_________________
Regards
Clive
Posted on: 2006/1/19 18:13
Create PDF from Post Print
Top
  •  fjones
      fjones
Re: VMWare and CentOS 4.0 question.
#12
Jr Board Member
Joined: 2005/7/5
From
Posts: 32
I've compiled the latest Centos Kernel with a fully updated CentOS 4.2 box used only for kernel compiles.

Only changes made to the CentOS source is: (patch kernel to fix clock drift)
=======================================================
--- linux-2.6.9/include/asm-i386/param.h
+++ linux-2.6.9/include/asm-i386/param.h
@@ -2,7 +2,7 @@
#define _ASMi386_PARAM_H

#ifdef __KERNEL__
-# define HZ 1000 /* Internal kernel timer frequency */
+# define HZ 100 /* Internal kernel timer frequency */
# define USER_HZ 100 /* .. some user interfaces are in "ticks" */
# define CLOCKS_PER_SEC (USER_HZ) /* like times() */
#endif
=======================================================

and modified the spec file to apply the above patch.

Compiled kernel, spec file, and patch can be found at: http://www.fjc.net/linux

I've got this kernel running at 2 sites, but there is no warranty expressed or implied so use at your own risk. As usual, make a backup first, test on a devel box, etc.

I'm can try and setup a page and keep it updated if there is nterest as I've got clients running VMWare GSX and CentOS 4.x

Any feedback would be appreciated as this is the first time I've packaged anything for anyone else's use.

Regards,

fj
Posted on: 2006/1/19 22:02
Create PDF from Post Print
Top
  •  sdornan
      sdornan
Re: VMWare and CentOS 4.0 question.
#13
Newbie
Joined: 2006/2/4
From
Posts: 1
I had major issues with this as well. What I ended up doing was creating a new virtual machine and starting it with an ISO image of another operating system such as Windows Vista (Beta 2) and using diskpart to create the parition and format it, then us shut down the vm, repointed it to start with the CentOS iso and was able to go from there. Was a bit of a hack but it got me whree I needed to go
Posted on: 2006/2/4 16:33
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com