Mailing List Archive

Pygrub crash when trying to edit kernel commandline
Hi
When I try to edit kernel command line of domU, pygrub crashes

bcv@bcvibmb1:~$ sudo xl create -c /etc/xen/utils.cfg
Parsing config from /etc/xen/utils.cfg
Using <class 'grub.GrubConf.GrubConfigFile'> to parse /boot/grub/menu.lst

pyGRUB version 0.6
??????????????????????????????????????????????????????????????????????????
? root (hd0,0) ?
? kernel /boot/vmlinuz-4.19.0-17-amd64 root=/dev/xvda2 ro elev> ?
? initrd /boot/initrd.img-4.19.0-17-amd64 ?
? ?
? ?
? ?
? ?
? ?
??????????????????????????????????????????????????????????????????????????
Use the ? and ? keys to select which entry is highlighted.
Press 'b' to boot, 'e' to edit the selected command in the
boot sequence, 'c' for a command-line, 'o' to open a new line
after ('O' for before) the selected line, 'd' to remove the
selected line, or escape to go back to the main menu.


Traceback (most recent call last):
File "/usr/lib/xen-4.14/bin/pygrub",
line 884, in <module>

raise RuntimeError("Unable to find partition
containing kernel")
RuntimeError: Unable to find partition containing kernel
libxl:
error: libxl_bootloader.c:648:bootloader_finished: Domain 4:bootloader
failed - consult logfile /var/log/xen/bootloader.4.log
libxl: error:
libxl_exec.c:117:libxl_report_child_exitstatus: bootloader [1316] exited
with error status 1
libxl: error: libxl_create.c:1576:domcreate_rebuild_done: Domain
4:cannot (re-)build domain: -3

libxl: error:
libxl_domain.c:1182:libxl__destroy_domid: Domain 4:Non-existant domain
libxl: error: libxl_domain.c:1136:domain_destroy_callback: Domain 4:Unable
to destroy guest
libxl: error: libxl_domain.c:1063:domain_destroy_cb: Domain 4:Destruction
of domain failed
bcv@bcvibmb1:~$


Attached is the log
Am I doing something wrong ? or is this a known issue ?

Thanks
Bhasker C V