[CentOS] CentOS 7 cloned VM cannot boot

Fri May 5 10:19:55 UTC 2017
Gianluca Cecchi <gianluca.cecchi at gmail.com>

On Fri, May 5, 2017 at 11:54 AM, Nikolaos Milas <nmilas at noa.gr> wrote:

> On 5/5/2017 5:11 πμ, Barry Brimer wrote:
>
> Are the correct volumes referenced in your /etc/default/grub file?
>>
>
> Thanks Barry for your feedback.
>
> Here is the output:
>
> http://iweb.noa.gr/files/centos7/scratchvm-data-20170505-01.png
>
> What can you tell from that?
>
> Cheers,
>
> Nick
> _______________________________________________
>

Just a guess, as you already tested many things
I remember in the past I had problems when the boot partition was not
marked as active.
I don't know if still relevant.
Could you verify, if /dev/sda is your boot disk, with the command

fdisk -l /dev/sda
?

Something like this with the star in the "Boot" column:

[root at ractorshe ~]# fdisk -l /dev/vda

Disk /dev/vda: 10.7 GB, 10737418240 bytes, 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000cb2a3

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *        2048    20971519    10484736   83  Linux
[root at ractorshe ~]#

BTW: are you using virt-manager to configure/run your VMs? Or direct virsh
commans or what?

HIH,
Gianluca