Citrix XEN VM Boot Error code: INVALID_SOURCE Unable to Boot from CD/DVD Read more: http://eitwebgu

You have installed Citrix Xen Cloud Platform (XCP) and configured it (including network, templates, OS ISO’s etc.; even you have created your first VM with the help of documentation provided by Citrix but when you try to boot your VM for first time it throws following error as Citrix is not able to boot the VM from CD/DVD drives which are attached to it.

[root@xcp1-slave2 iso]# xe vm-start uuid=5ce47d4e-227c-9d1e-4710-21b7c998318e
Error code: INVALID_SOURCE
Error parameters: Unable to access a required file in the specified repository: file:///tmp/cdrom-repo-vIHKIE/ install.amd/xen/vmlinuz., ,

The problem here is the boot order for the VM is not properly set (through Template) at the time of VM creation and VMremains Halted

[root@xcp1-slave2 ~]# xe vm-list uuid=5ce47d4e-227c-9d1e-4710-21b7c998318e
uuid ( RO) : 5ce47d4e-227c-9d1e-4710-21b7c998318e
name-label ( RW): test
power-state ( RO): halted

To fix this error first we need to check the boot sequence for the VM. Use following command to check it

[root@xcp1-slave2 iso]# xe vm-param-list uuid=5ce47d4e-227c-9d1e-4710-21b7c998318e | grep HVM-boot
HVM-boot-policy ( RW):
HVM-boot-params (MRW):

The above output shows that boot order is not set (“HVM-boot-params (MRW)” is blank) for the VM. Now, execute following command to set boot sequence of the VM

[root@xcp1-slave2 iso]# xe vm-param-set uuid=5ce47d4e-227c-9d1e-4710-21b7c998318e HVM-boot-policy=”BIOS order” HVM-boot-params:order=”dc”

Verify the boot order now.

[root@xcp1-slave2 iso]# xe vm-param-list uuid=5ce47d4e-227c-9d1e-4710-21b7c998318e | grep HVM-boot
HVM-boot-policy ( RW): BIOS order
HVM-boot-params (MRW): order: dc

We can see that boot order (HVM-boot-params (MRW)) is set to “dc” i.e. CD/DVD

Thats it!!! You should able to start the VM and boot it from ISO you have mounted.

[root@xcp1-slave2 iso]# xe vm-list uuid=5ce47d4e-227c-9d1e-4710-21b7c998318e
uuid ( RO) : 5ce47d4e-227c-9d1e-4710-21b7c998318e
name-label ( RW): test
power-state ( RO): running

xen 300x184 Citrix XEN VM Boot Error code: INVALID SOURCE Unable to Boot from CD/DVD

NOTE: In this post “5ce47d4e-227c-9d1e-4710-21b7c998318e” is the UID of the VM and it will different in your case. So, make sure to change the UID before executing the commands.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值