Xen Project Q&A Forum: First Line Help for Simple Questions

This is your chance to ask questions and provide answers about basic use of the Xen Project software. For debugging problems and for more complex issues, consider using the xen-users mailing list instead. You can find information about xen-users under "HELP | Mailing Lists" in the navigation bar above.

Technical

cannot start vm, getting error in pygrub

posted in New Users
Wednesday, January 04 2017, 10:51 AM
Sergey
Sergey
Offline
0
When i'm executing
xl create /etc/xen/config_vyos.cfg

to start vm i'm getting an error:
Parsing config from /etc/xen/config_vyos.cfg
libxl: error: libxl_bootloader.c:637:bootloader_finished: bootloader failed - consult logfile /var/log/xen/bootloader.14.log
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [4148] exited with error status 1
libxl: error: libxl_create.c:1144:domcreate_rebuild_done: cannot (re-)build domain: -3
libxl: error: libxl.c:1610:libxl__destroy_domid: non-existant domain 14
libxl: error: libxl.c:1568:domain_destroy_callback: unable to destroy guest with domid 14
libxl: error: libxl.c:1495:domain_destroy_cb: destruction of domain 14 failed

/var/log/xen/bootloader.14.log file:
Traceback (most recent call last):
  File "/usr/lib/xen-4.6/bin/pygrub", line 874, in 
    raise RuntimeError, "Unable to find partition containing kernel"
RuntimeError: Unable to find partition containing kernel


my config file:
name="pvvyos"
vcpus=1

memory=2048

disk=['file:/home/my/vyos-1.1.7-i586-virt.iso,hda1,w',
      'phy:/dev/mapper/xen--srv-vyos,hda2,w']

vif=['bridge=xenbr0']
extra="console=hvc0"

on_poweroff='destroy'
on_crash='restart'
on_reboot='restart'

bootloader="pygrub"


Am i doing something wrong?
What i need to do to get my vm working?
Any suggestions?
Responses (0)
  • There are no replies here yet.
Your Reply