Unfortunately all the mechanisms seem to insist on rewriting the initrd and changing the boot sequence
Message appears during execution of vmware-config-tools.pl with --preserve option: Creating a new initrd boot image for the kernel.
The problem comes in the init script. (I'm leaving out the VMware-related device driver modules which seem to load without a problem)
The original is:
echo Scanning and configuring dmraid supported devices
echo Scanning logical volumes
lvm vgscan --ignorelockingfailure
echo Activating logical volumes
lvm vgchange -ay --ignorelockingfailure LearningSpace0
resume LABEL=Swap00
echo Creating root device.
mkrootdev -t ext3 -o defaults,ro /dev/LearningSpace0/RootB
echo Mounting root filesystem.
mount /sysroot
echo Setting up other filesystems.
setuproot
echo Switching to new root and running init.
switchroot
This gets changed by the VMware tool script to:
echo Scanning and configuring dmraid supported devices
resume LABEL=Swap00
echo Creating root device.
mkrootdev -t ext3 -o defaults,ro /dev/root
echo Mounting root filesystem.
mount /sysroot
echo Setting up other filesystems.
setuproot
echo Switching to new root and running init.
switchroot
and, on next restart of the system, I end up with a failed boot and a kernel panic.
In case it is helfpul/relevant, grub.conf is:
title CentOS (2.6.18-371.1.2.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-371.1.2.el5 ro root=/dev/LearningSpace0/RootB
initrd /initrd-2.6.18-371.1.2.el5.img
-
Tim