VMware - No volume groups found

I recently P2V’d several RHEL and RHAS servers which failed to boot when powered on. They would begin booting and then report “No volume groups found” and “Kernel panic – not syncing: Attempted to kill init!”. After a lot of searching, I found the following link with the key information: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1002402

Resolution steps:

  1. Boot the VM with a rescue CD
  2. Type chroot /mnt/sysimage
  3. Make sure there are no references to /dev/hda in the following files
    • /etc/fstab
    • /boot/grub/grub.conf
    • /boot/grub/device.map
  4. Type grub-install –recheck /dev/sda
  5. Delete any files from /etc/modules.conf
  6. Edit /etc/modprobe.conf
    • change alias ethx <module> to alias ethx pcnet32
    • change alias scsi_hostadapterx <module> to alias scsi_hostadapterx mptscsih
    • change alias scsi_hostadapter <module> to alias scsi_hostadapter mptbase
  7. Type mkinitrd -v -f /boot/initrd-2.6.9-55.ELsmp.img 2.6.9-55.ELsmp (repeat for each initrd file)
  8. Reboot

Comments