[CentOS] CentOS 7 cloned VM cannot boot

Marcelo Roccasalva marcelo-centos at irrigacion.gov.ar
Thu May 4 23:22:33 UTC 2017


On Thu, May 4, 2017 at 1:12 PM, Nikolaos Milas <nmilas at noa.gr> wrote:
> On 4/5/2017 5:56 μμ, Marcelo Roccasalva wrote:
>
>> dracut -f /boot/initramfs-<kernel_version>.img <kernel_version>
>
>
> I did:
>
> # dracut -f /boot/initramfs-3.10.0-514.10.2.el7.x86_64.img
> 3.10.0-514.10.2.el7.x86_64

when you boot via supergrub2, you get this kernel version (uname -r)?
every kernel has it own initramfs where some binaries, libraries,
modules and configuration files get copied from the running VM, so you
need to boot from a newly created initramfs (which you find in
grub2.conf)

-- 
Marcelo

"¿No será acaso que esta vida moderna está teniendo más de moderna que de
vida?" (Mafalda)



More information about the CentOS mailing list