Reply
 
Thread Tools Display Modes
  #1  
Old 10-20-08, 02:05 PM
mcbsys mcbsys is offline
Guru
 
Join Date: Oct 2008
Posts: 55
How to remove CentOS VMWare kernel?
Hi,

I've been testing/running PiaF under VMWare. I followed the instructions at the bottom of this page "to install a special version of the CentOS/Linux kernel that has been tuned for VMware." After doing that, I found the following info about my setup:

Build Operating System: 2.6.18-53.1.14.el5
Current Operating System: 2.6.18-92.1.6.el5

Now I want to switch to Microsoft Virtual PC/Server. I converted the VM using vmToolkit's VMDKConvert and PiaF is now running under VPC.

The question is, should I now uninstall the VMWare version of CentOS, and if so, how do I do it?

I tried running these commands:

cd /root
rpm -ev kernel-vm*.rpm


but I get error messages telling me that the two .rpms are not installed.

Thanks,
Mark
Reply With Quote
  #2  
Old 10-28-08, 02:46 PM
markosjal markosjal is offline
Junior Member
 
Join Date: Oct 2008
Posts: 3
If you were "running" the VMware lernel, it would show VM in the name and it does not. You may have it installed and need to select it at start up. So what you are "running" appears to be non - VMware kernel

I looked at this thread because I installed the wrong VMware kernel on a Virtual Machine, and I was hoping to figure out how to remove it.
Reply With Quote
  #3  
Old 10-28-08, 07:37 PM
mcbsys mcbsys is offline
Guru
 
Join Date: Oct 2008
Posts: 55
Thanks for the info. For your uninstall, did you try running the -ev option that I mentioned? (Back up first!)

I decided to do an install from scratch in Virtual PC. The trick on that is to type "text" to do the install so that it CentOS installs in text mode. VPC can't handle the default 24-bit graphics of the CentOS installer.
Reply With Quote
  #4  
Old 10-29-08, 03:12 AM
jroper jroper is offline
Guru
 
Join Date: Oct 2007
Posts: 3,333
Quote:
The trick on that is to type "text" to do the install...
typing ksalt at the command prompt would install in text mode, and remove the overhead of the LVM file system.

Joe
Reply With Quote
  #5  
Old 10-30-08, 11:28 AM
mcbsys mcbsys is offline
Guru
 
Join Date: Oct 2008
Posts: 55
I realized that another problem might be that the standard install gave me CentOS 2.6.18-92.1.6.e15, whereas the instructions at http://pbxinaflash.com/vm/ still reference 2.6.18-53.1.4.e15. The same repository does have the -92.1.6 VM kernel available.

Mark
Reply With Quote
  #6  
Old 10-30-08, 11:35 AM
mcbsys mcbsys is offline
Guru
 
Join Date: Oct 2008
Posts: 55
Thanks Joe. I tried ksalt last night. One unexpected result: with the "text" install, the .vhd file was 2.3GB after the install. With the "ksalt" install, the .vhd file was 3.0GB after the install. Any reason there should be that much difference? Does the LVM system do a better job of managing unused space?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:00 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2007-2008, Ward Mundy & Associates