Re: CentOS 7 cloned VM cannot boot

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



On 5/5/2017 1:19 μμ, Gianluca Cecchi wrote:

Could you verify, if /dev/sda is your boot disk, with the command

fdisk -l /dev/sda
?

It's /dev/vda in my case:

# fdisk -l /dev/vda

Disk /dev/vda: 21.5 GB, 21474836480 bytes, 41943040 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: 0x942d1f03

  Device Boot    Start      End   Blocks Id System
dev/vdal   *      2048  1026047   512000 83 Linux
dev/vda2   *   1026048 41943039 20458496 8e Linux LVM

Hmm, it seems that the boot flag should be removed from /dev/vda2 partition? (How we do that?)

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

It's a hosted VPS service, and I have a virtual console to the VM.

Thanks,
Nick

_______________________________________________
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