VM will not boot after exporting from ESXi in VirtualBox

General support questions
fishface
Posts: 22
Joined: 2016/08/02 15:47:42

Re: VM will not boot after exporting from ESXi in VirtualBox

Post by fishface » 2018/10/17 19:40:34

Maybe I'm missing something.

I boot the VM, I select 3.10.0-862.14.4.el7.x86_64 - this is the latest one for this VM
I then press 'e' to edit the parameters, and add systemd.unit=rescue.target parameter to the linux16 line, then Ctrl+X
It now reboots and drops to dracut just as I first posted.

tunk
Posts: 441
Joined: 2017/02/22 15:08:17

Re: VM will not boot after exporting from ESXi in VirtualBox

Post by tunk » 2018/10/17 19:43:17

In the grub menu select/boot the kernel with rescue in it's name, and then run the dracut command.

fishface
Posts: 22
Joined: 2016/08/02 15:47:42

Re: VM will not boot after exporting from ESXi in VirtualBox

Post by fishface » 2018/10/17 19:53:47

Of course, that was what I did last time, been a long day...

It ran, but has this in output

Code: Select all

Kernel version 3.10.0-862.14.4.el7.x86_64 has no module directory /lib/modules/3.10.0-862.14.4.el7.x86_64

gjaltemba
Posts: 48
Joined: 2016/11/29 15:23:25

Re: VM will not boot after exporting from ESXi in VirtualBox

Post by gjaltemba » 2018/10/19 19:48:31

Did you try selecting Enable advanced options checkbox to retain UUID, mac when exporting ovf?

User avatar
TrevorH
Forum Moderator
Posts: 23871
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: VM will not boot after exporting from ESXi in VirtualBox

Post by TrevorH » 2018/10/19 20:04:59

What is the most recent directory that you have in /lib/modules/ ? That is the version number you need to pass to dracut --kver $version
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply