VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
10 Replies Last post: May 11, 2009 2:49 AM by czutra  

P2V of old Red Hat machine posted: May 11, 2009 1:03 AM

Click to view czutra's profile Novice 6 posts since
May 11, 2009

I have an old Gateway PC that runs RedHat 7.3 (Kernel 2.4.20-28.7). I was able to use the P2V bootable CD and moved it to an ESX server. When I start the new guest there is a linux kernel error. I read some article about it, and the reason is that the source machine had an IDE disk while the virtual one is on SCSI. So I ran mkinitrd, changed the grub.conf so that it will use sda instead of hda. Still, same problem - cant boot.

anyone with similar experience? any ideas how to resolve this?

Thanks

Chovav

Re: P2V of old Red Hat machine

1. May 11, 2009 1:22 AM in response to: czutra
Click to view AndreTheGiant's profile Guru 5,916 posts since
Aug 28, 2008
You have to change the /etc/fstab too. Also check the modules list and ensure that the SCSI module is configured.

Andrea
**if you found this or any other answer useful please consider allocating points for helpful or correct answers

Re: P2V of old Red Hat machine

3. May 11, 2009 1:39 AM in response to: czutra
Click to view AndreTheGiant's profile Guru 5,916 posts since
Aug 28, 2008
Check the /etc/modules.conf file.
If you start from CD in rescue mode you can boot the VM and mount the disk?
I ask you because the distro is very old, and I'm not sure that is working fine in VM. (for example, there was several issue on old RedHat and clock shift)

Andrea
**if you found this or any other answer useful please consider allocating points for helpful or correct answers

Re: P2V of old Red Hat machine

5. May 11, 2009 2:11 AM in response to: czutra
Click to view AndreTheGiant's profile Guru 5,916 posts since
Aug 28, 2008
There isn't the SCSI controller.
I suggest you to do a minimal installation in a second VM, then copy the corrent /etc/modules.conf row.

Andrea
**if you found this or any other answer useful please consider allocating points for helpful or correct answers

Re: P2V of old Red Hat machine

7. May 11, 2009 2:30 AM in response to: czutra
Click to view wila's profile Virtuoso 3,266 posts since
Jun 27, 2006
Hi,
If you still have the old physical setup running as well,then have a look at this thread: How to convert a phycial Red Hat Linux 7.1 to a virual machine - not supported by VMWare converter?


--
Wil
_____________________________________________________
Visit the VMware developers wiki at http://www.vi-toolkit.com

Re: P2V of old Red Hat machine

9. May 11, 2009 2:46 AM in response to: czutra
Click to view AndreTheGiant's profile Guru 5,916 posts since
Aug 28, 2008
In /etc/fstab try to use the real name of the device instead of the label.


Andrea
**if you found this or any other answer useful please consider allocating points for helpful or correct answers

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities