Citrix XenServer: Error code: INVALID_SOURCE Unable to Boot from CD/DVD
2014-03-18 17:36
369 查看
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 VM remains 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): haltedTo 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: dcWe can see that boot order (HVM-boot-params (MRW)) is set to “dc” i.e. CD/DVDThats 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
![](http://i1.wp.com/eitwebguru.com/wp-content/uploads/2011/11/xen.png?resize=300%2C184)
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.
Read more: http://eitwebguru.com/citrix-xen-vm-boot-error-code-invalid_source-unable-to-boot-from-cddvd/#ixzz2wJ03cQqv
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 VM remains 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): haltedTo 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: dcWe can see that boot order (HVM-boot-params (MRW)) is set to “dc” i.e. CD/DVDThats 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
![](http://i1.wp.com/eitwebguru.com/wp-content/uploads/2011/11/xen.png?resize=300%2C184)
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.
Read more: http://eitwebguru.com/citrix-xen-vm-boot-error-code-invalid_source-unable-to-boot-from-cddvd/#ixzz2wJ03cQqv
相关文章推荐
- Unable to create envelope from given source:
- Spring boot bootstrap.yml文件使用遇见的坑Failed to load property source from location 'classpath:/bootstrap.
- React-Native_学习笔记1: Unable to resolve module Dimensions from “...js” Invalid directory /Users/node_m
- boot from cd/dvd问题解决
- Five ways to eject a stuck CD or DVD from the optical drive
- Unable to mount the CD/DVD image on the machine Sandbox
- Maven使用package打包Spring Boot时出现:Unable to find a single main class from the following candidates的问题解决
- Create an ISO Image from a source CD or DVD on ubuntu
- Springboot repackage failed: Unable to find a single main class from the following candidates
- Unable to mount the CD/DVD image virtualbox解决方法
- SpringBoot学习之一 Unable to find a single main class from the following candidates
- Unable to boot from TFTP - AM335x Starter Kit
- Mac OS X: Best Way to Make an ISO from a CD or DVD
- Unable to load the mojo 'add-source' from the plugin 'org.codehaus.mojo:build-helper-maven-plugin:1.
- How To Compile Httpd From Source
- U盘安装Ubuntu 12.04 Server版提示“Faild to copy file from CD-ROM”的解决办法
- From Zero to Boot: Porting Android to your ARM platform
- Unable to build: the file dx.jar was not loaded from the SDK folder! 问题的缺失文件
- ADS转RVDS invalid call from '~PRES8' function to 'REQ8' function
- Unable to read from device 解决办法