Move from Physical to Virtual with CloneZilla

Just a side note for when I forget how I fixed this…

When using CloneZilla you can capture server images and redeploy them unless there are hardware differences. To fix issues with hardware changes between physical server hardware and VMware here are my fix actions:

  • Windows 2003 Enterprise
    • Change the hard drive to IDE from SCSI. Windows will blue screen when you boot after image deployment since it cannot find the drive to boot from. You will get the error: 0x0000007b
    • After booting windows 2003 you can then install the BusLogic or LSI SCSI drivers
  • Red Hat Linux 5
    • Boot with the first CD of the install set and instead of an install, use linux rescue.
    • Once booted chroot /mnt/sysimage
    • Blank out the /etc/modprobe.conf
    • mv /boot/initrd-2.6.18-20.el5.img /boot/initrd-2.6.18-20.el5.img.orig
    • mkinitrd /boot/initrd-2.6.18-20.el5.img 2.6.18-20.el5
    • reboot
  • Windows XP
    • Change the hard drive to IDE from SCSI. Windows XP in the default install does not include the two SCSI adapters VMware supports, BusLogic or LSI Logic.
    • During the CloneZilla restore you are given a few options. The ones to select to ensure a successful MBR restore are:
      • -t1
      • -j1

These settings will allow you to move your physical clonezilla images to vmware.