|
CentOS Linux Server Installation , FAQ, Tips and Tricks |
CentOS Linux, Red Hat Linux and Virtualization |
|||||||||||
Solving Kernel Panic issues, No Operating system found after VMWare Consolidation for old Redhat Server
We are migrating an old Redhat 7.2 system into out VMware VSphere 4.x recently (using hot clone). The process of consolidating is a bit tricky. Please take note that we cannot import the RedHat7.2 into the VMware Esx4.1 directly, the migration stuck at 1% forever. Thus, we downgraded our ESX 4.1 to 4.0 and perform the migration from VMware Stand Alone convertor one version earlier.
Please find the process as below:-
Machine OS: Redhat 7.2 Hard disk information
Step1: Consolidate the physical machine to virtual machine using SCSI Bus Logic disk controller driverThere is some problem that I faced when I used default SCSI LSI Logic disk controller driver. The drive is would be recognized and no drive could be booted or found. Also be sure to put VMWare Helper IP under Helper VMware configuration.
Step 2: Change SCSI Disk Controller TypeAfter P2V virtualization. Login to your VSphere. Change the Disk Controller from BusLogic Parallel to LSI Logic Parallel. Else you will faced the Operating Not found issue or you cannot find any Linux partition using fdisk -l command under system rescue.
Step 3: Boot from Linux rescue CDBoot from any Linux rescue CD. I am using CentOS Linux to perform the rescue function. Once the CD boot type in "linux rescue". Follow all the process. Skip the network setup process.
Step4: Mount the virtual machine file system
Step5: Edit the /etc/modules.confAdd in the following line so that our BusLogic can be booted
Step6: Edit the /etc/fstabChange the fstab table so that the swap partition table can be mounted
Step7: Reinitialize the kernel images and modulesCreates an initial image used by the kernel for preloading the block device modules
Step8: Edit the /etc/grub.confBasically,we need to change the boot, splashimage root line. This is to ensure the grub can be booted correctly
Step9: Reinstall Grub
Step 10: Shutdown the Vmware machineWe had completed all the necessary task, next we need to shutdown the machine for SCSI bus configuration
Step 11: Change the controller typeWe need to change the controller type back to Bus Logic again
Step 11: Run kudzu to reinitialize the new hardware install
Step 12: Install vmware tools
Note: I unable to mount my cdrom at this moment..still finding a solution to workout.
|
|||||||||||
|
|
|||||||||||
|
All trademarks are the property of their respective owners. |