Seems bug there and a patch can fix this.
Check the below URL if they fix it.
http://www.nabble.com/GRUB-module-query-td5820590.html#a5820590
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505517
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399882
Regards,
Tanuj Bansal
From:
xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Tamás Pisch
Sent: Thursday, July 02, 2009 6:12 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] grub boot problem
Hi,
I have a XEN installation on Debian Lenny. After a package update I rebooted,
and grub doesn't start. The update replaced my grub.cfg, but it doesn't work.
When I installed the system, I ran into that problem (grub error message "You
need to load the kernel first"). At that time I found a solution, changed
grub.cfg, and it worked. I tried that settings again, but it doesn't work! I
get the error:
error: unknown command `module'
I can boot only the unmodified kernel. Here is my grub.cfg:
#bad entry:
menuentry "Debian GNU/Linux, linux 2.6.26-2-xen-amd64" {
set root=(hd0,1)
search --fs-uuid --set 81a70335-a810-444e-9247-1255491ff0ee
kernel /xen-3.2-1-amd64.gz dom0_mem=512M
module /vmlinuz-2.6.26-2-xen-amd64 root=/dev/mapper/xen-xensys
ro
module /initrd.img-2.6.26-2-xen-amd64
## linux /vmlinuz-2.6.26-2-xen-amd64
root=/dev/mapper/xen-xensys ro
## initrd /initrd.img-2.6.26-2-xen-amd64
}
#working entry:
menuentry "Debian GNU/Linux, linux 2.6.26-2-amd64" {
set root=(hd0,1)
search --fs-uuid --set 81a70335-a810-444e-9247-1255491ff0ee
linux /vmlinuz-2.6.26-2-amd64
root=/dev/mapper/xen-xensys ro
initrd /initrd.img-2.6.26-2-amd64
}
Thanks, in advance.