GRUB Geom error on Red Hat Enterprise Linux 4 after imaging with Acronis into Vmware ESX

Florescu
Florescu used Ask the Experts™
on
I am trying to image a Red Hat Enterprise Linux 4 OS using Acronis and place the image on a Vmware.  I'm running into some problems.  Here's what I get after imaging to a new machine:

"loading PBR for descriptor 1... done
GRUB Geom error"

Server: Dell 2950 with SCSI RAID5 setup
OS: RHEL 4 x64

Steps I followed:
1.  Boot server from Acronis Boot CD.
2.  Take image of server
3.  Created a new Virtual machine on my Vmware ESXHost
4.  Boot VM from Acronis CD
5.  Restore the image taken earlier  (completes successfully)
6.  Boot normal.

Here's what I see in the Acronis backup window:

ext2   capacity 115.4 GB  used 1.947 GB   type ext2
/boot  capacity 102 MB    used 50.04 MB   type ext3
FAT16  capacity 31.35 MB  used 3.6 MB
None   capacity 565 GB                    type LINUX LVM

I selected all except for the LVM disk.

Here's what I see in the Acronis restore window:
ext2   -->restore to its own hard drive 115.4 GB
/boot  -->restore to its own hard drive 102 MB
MBR

I restored all of these.
-----------------------------------------------------
Info from the RHEL OS:

[root@IIH ~]# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup_ID_1007-LogVol1
                      75891808  43845792  28190864  61% /
/dev/sda3               101105     49624     46260  52% /boot
none                   4082580         0   4082580   0% /dev/shm
/dev/mapper/VolGroup_ID_1007-LogVol2
                       2064208     89732   1869620   5% /tmp
/dev/mapper/VolGroup_ID_1007-LogVol5
                     235549488   4286728 219297528   2% /usr
/dev/mapper/VolGroup_ID_1007-LogVol4
                      44026344   1419284  40370644   4% /var
/dev/mapper/VolGroup_ID_1007-LogVolHome
                     119144708    867512 112224948   1% /home
/dev/mapper/VolGroup_ID_1007-LogVol06
                      51606140   1209240  47775460   3% /u01



/boot/grub/menu.lst

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,2)
#          kernel /vmlinuz-version ro root=/dev/VolGroup_ID_1007/LogVol1
#          initrd /initrd-version.img
#boot=/dev/sda3
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux ES (2.6.9-5.ELsmp)
        root (hd0,2)
        kernel /vmlinuz-2.6.9-5.ELsmp ro root=/dev/VolGroup_ID_1007/LogVol1 rhgb quiet
        initrd /initrd-2.6.9-5.ELsmp.img
title Red Hat Enterprise Linux ES-up (2.6.9-5.EL)
        root (hd0,2)
        kernel /vmlinuz-2.6.9-5.EL ro root=/dev/VolGroup_ID_1007/LogVol1 rhgb quiet
        initrd /initrd-2.6.9-5.EL.img
-----------------------------------------------------
I also tried some other things but was also unsuccessful:

1.  I tried booting from Acronis boot disk and taking an image but I didn't see an option to take an image specifically for Vmware use.  There's no option to convert to a Vmware virtual machine.

2.  I tried importing the Acronis TIB files into Vmware but I got error messages:
Unable to load the source virtual machine or image. the file might be corrupt,
or of an unsupported format.

Source VM could not be found

3. I tried using the Vmware Converter boot CD but I get an error message saying "Unable to determine Guest OS".

The only thing i am a little concerned about is the LVM disk, not sure if I'm supposed to back that up or not.

According to Vmware, 3rd party images are supported for use with Vmware Converter.
http://www.vmware.com/products/converter/faqs.html

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Hard disk geometry has changed between your Dell Storage Controller RAID 5 setup and VMware Buslogic or LSI Logic disk.

Does the Acronis Product convert your Server to VMware hardware?

You'll need to convert the disk image, not just copy it to a VMware Machine.
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
Details of how to P2V a Linux OS to VMware

http://www.vladan.fr/how-to-p2v-linux-into-vmware-esx-server/

Author

Commented:
Thank you very much for this.  It's an awesome article.  The only thing I had to be careful of is to make sure that I used the Standalone Converter installed on my own machine.  It didn't work using the built-in VCenter converter plugin.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
to be honest with you the "embedded converter", has never worked that well, compared to Standalone! The embedded always seems to fall over with some issue.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial