Re: CentOS 7 cloned VM cannot boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, May 4, 2017 at 11:43 AM, Nikolaos Milas <nmilas@xxxxxx> wrote:
> On 4/5/2017 5:20 μμ, Marcelo Roccasalva wrote:
>
>> Dumb question: the file starts with a dot, doesn't show up in "ls" without
>> "-a".
>
>
> Of course, I check with ls -la.It is empty indeed.
>
>> Even dumber question: the erroring UUID exist in the origin of thecloned
>> guest? I guess you have rebuilt initramfs a few times now, so I believe it
>> is irrelevant...
>
>
> Interestingly, I see in the origin VM, the same UUID as in the cloned guest.
> See below.
>
> I don't know anything about rebuilding initramfs; the whole restore process
> is automatic. (There is a manual method too, but I have not been successful
> with it either.)

In rescue mode, you should recreate initramfs. In /lib/modules you
have directories with the installed kernel versions. I guess you shoud
take note of the name of then latest one and run:

dracut -f /boot/initramfs-<kernel_version>.img <kernel_version>

replacing <kernel_version> with the noted directory name...

-- 
Marcelo

"¿No será acaso que esta vida moderna está teniendo más de moderna que de
vida?" (Mafalda)
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux