[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Problems with pyGRUB



Hi,

I am running Xen 3.3.1 built from Source with Debian Lenny as the dom0.
Everything works fine so far except pyGRUB. So, what I did was install
CentOS (latest version ... 5.3 or something) using qemu to a LVM logical
volume and from within CentOS I installed the Xen Kernel. Now pyGRUB shows
me 3 grub entries:

1) CentOS (2.6.18-128.1.10.el5xen)    <= xen hypervisor
2) CentOS (2.6.18-128.el5)    <= normal kernel
3) CentOS (2.6.18-128) XEN domU    <= domU kernel

Booting entry 1 shows 
--------------------------------------------------------------------------------------------------
(2, 'Invalid kernel', "elf_xen_note_check: ERROR: Not a Xen-ELF image: No
ELF notes or '__xen_guest' section found.\n")
--------------------------------------------------------------------------------------------------

Booting entry 2 shows 
--------------------------------------------------------------------------------------------------
Error: (2, 'Invalid kernel', 'xc_dom_parse_elf_kernel: ELF image has no
shstrtab\n')
--------------------------------------------------------------------------------------------------

And entry 3 shows 
--------------------------------------------------------------------------------------------------
rtc: IRQ 8 is not free.i8042.c: No controller found. Kernel panic - not
syncing: Attempted to kill init!
--------------------------------------------------------------------------------------------------

This is my cfg file:
--------------------------------------------------------------------------------------------------
xenhost:/etc/xen# cat /etc/xen/CentOS-pyGrub.cfg | grep -v "#" | egrep -v
"^\s*$"
builder='linux'
bootloader='/usr/bin/pygrub'
memory = 256
name = "CentOS-pygrub"
vif = [ 'bridge=eth1' ]
disk = [
        'phy:Storage1/CentOS-disk,sda,w'
]
vfb = [ 'type=vnc,vnclisten=0.0.0.0,vncunused=1' ]
root = "/dev/sda2 ro"
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'
xenhost:/etc/xen#
--------------------------------------------------------------------------------------------------

Any help is appreciated!

cu
mathias
-- 
View this message in context: 
http://www.nabble.com/Problems-with-pyGRUB-tp23709733p23709733.html
Sent from the Xen - User mailing list archive at Nabble.com.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.