I've got a KVM image running on CentOS that I'm trying to get running on a Proxmox (5.20) Hypervisor. The current VM (I think it may have been a p-v at some point) has the following options in the vm definition:
<os>
<type arch='x86_64' machine='rhel6.5.0'>hvm</type>
<kernel>/srv/vm/boot/vmlinuz-2.6.18-371.9.1.el5</kernel>
<initrd>/srv/vm/boot/initrd-2.6.18-371.9.1.el5.img</initrd>
<bootmenu enable='no'/>
</os>
If I just copy the main disk image the VM won't boot (hangs at GRUB) I guess because that image doesn't include the boot partition.
Is there a way to either specify the kernel/initrd in Proxmox, or rebuild the original image to include those? Or some other option I'm missing entirely?
<os>
<type arch='x86_64' machine='rhel6.5.0'>hvm</type>
<kernel>/srv/vm/boot/vmlinuz-2.6.18-371.9.1.el5</kernel>
<initrd>/srv/vm/boot/initrd-2.6.18-371.9.1.el5.img</initrd>
<bootmenu enable='no'/>
</os>
If I just copy the main disk image the VM won't boot (hangs at GRUB) I guess because that image doesn't include the boot partition.
Is there a way to either specify the kernel/initrd in Proxmox, or rebuild the original image to include those? Or some other option I'm missing entirely?