VMware Cloud Community
Fraschizzato
Contributor
Contributor
Jump to solution

GRUB after vmware conversion of Ubuntu 18.04 with lvm2

I'm stuck on that physical machine conversion (ubuntu 18.04 LTS) to VMware (Version 8). I get the conversion failed at 97% for the well known GrubInstall error

FAILED: An error occurred during the conversion: 'GrubInstaller::InstallGrub: /usr/lib/vmware-converter/installGrub.sh failed with return code: 127, and message: FATAL: kernel too old Error running vmware-updateGrub.sh through chroot into /mnt/p2v-src-root Command: chroot "/mnt/p2v-src-root" /vmware-updateGrub.sh "GRUB2" "(hd0)" "(hd0,1)" /vmware-device.map "grub2-install" '

Now I'm trying to follow some guides about Grub-reinstall but i'm stuck at partitions, the original machine has:

 

PHY.PNG

The converted one (accessed via recovery iso)

VM.PNG

I think that's the main problem about grub-install fails (on /dev/sda and /dev/sda1). Any suggestion? Or some hints to re-do the conversion?

1 Solution

Accepted Solutions
Fraschizzato
Contributor
Contributor
Jump to solution

The hdd splitting was done by VMWare converter, the old kernel message was not really realevant.

Solved with a workaround and not using the converter:

- Created an image of the entire Physical system with Clonezilla

- Restored the image on an empty VM 

- Done some adjustment to the boot settings of the new-machine.

Thanks

View solution in original post

3 Replies
continuum
Immortal
Immortal
Jump to solution

> FATAL: kernel too old
Wonder why you split the disk sda into sda and sdb
I would use
dd if=/dev/sda bs=1M conv=notrunc of=/somewhere/flat.vmdk
Whats wrong with the kernel too old message - what do you do to deal with that ?

Ulli

 


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
Fraschizzato
Contributor
Contributor
Jump to solution

The hdd splitting was done by VMWare converter, the old kernel message was not really realevant.

Solved with a workaround and not using the converter:

- Created an image of the entire Physical system with Clonezilla

- Restored the image on an empty VM 

- Done some adjustment to the boot settings of the new-machine.

Thanks

michadar55
Contributor
Contributor
Jump to solution

Can someone known when beta version will support ubuntu 18.04? 

For me betta is the same like old version What are differences?

Reply
0 Kudos