[CentOS] pygrub cannot find kernel

Fong Vang

sudoyang at gmail.com
Mon May 21 18:26:02 UTC 2007


I just installed a CentOs 5 domU system on a CentOS 5 dom0 system following
the instructions detailed here:
http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU.

The installation went through successfully.  After installation, however,
pygrub can't find a kernel.

This is the xen cfg file I'm using:

bootloader="/usr/bin/pygrub"
name = "testsrv"
memory = "2048"
disk = [ 'tap:aio:/root/testsrv.img,xvda,w', ]
vif = [ 'bridge=xenbr0', ]
vcpus=2
on_reboot = 'destroy'
on_crash = 'destroy'


this is the error:

Traceback (most recent call last):
  File "/usr/bin/pygrub", line 499, in ?
    curses.wrapper(run_main)
  File "/usr/lib/python2.4/curses/wrapper.py", line 44, in wrapper
    return func(stdscr, *args, **kwds)
  File "/usr/bin/pygrub", line 455, in run_main
    sel = g.run()
  File "/usr/bin/pygrub", line 358, in run
    self.run_main(timeout)
  File "/usr/bin/pygrub", line 381, in run_main
    draw()
  File "/usr/bin/pygrub", line 366, in draw
    self.draw_main_windows()
  File "/usr/bin/pygrub", line 159, in draw_main_windows
    curses.use_default_colors()
_curses.error: use_default_colors() returned ERR
No handlers could be found for logger "xend"
Error: Boot loader didn't return any data!
Usage: xm create <ConfigFile> [options] [vars]

Create a domain based on <ConfigFile>.

Options:


Anything I'm missing?  Thanks for any help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070521/60e607fa/attachment.html>


More information about the CentOS mailing list