|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] grub boot problem
Thanks for your answer. I've already known the second link, I tried it out. I installed grub-legacy, and it works now. Maybe the syntax of the grub2 confused me, because, as I see now, in my post there is a kernel command, but it is a grub1 command in a grub2 config file. I don't want to try it out now, but maybe grub2 would work for me with the replaced command. It is not a xen related problem, it's my error. The only xen related problem is that I have to use 'module' parameters in order to boot the xen kernel.
Thanks, Tamas.
2009/7/3 Tanuj Bansal <bansal.tanuj83@xxxxxxxxx>
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
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.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|