WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] grub boot problem

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] grub boot problem
From: Tamás Pisch <pischta@xxxxxxxxx>
Date: Fri, 3 Jul 2009 08:54:36 +0200
Delivery-date: Thu, 02 Jul 2009 23:55:43 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=/nAAp6EqBef4KIf72zupqaolxqU28nQD1WdHFKvZ0Zg=; b=M6IIiXK6PFrd09+8E1/xYaSbSmG78Z0hwZN3SeY1fCiPz49SxDdysTzkCRyV1KdppE OIPfN4ZW5+Wznj7pZB5HMFt5fJpBIH6q6A2SnHK8sbhrHpP7PP3kITDemURVj8apyqUv 57OXL20sptZspz4U59Sf3sg62MNJTraUqp3yY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=ZW0fG9ezkBEWCeWA20jw5KW/HqHmw5Iznzs7JF+AqdwZz4CGYFa1ErAQNmeHrTmNGX 9VfId6eSz05VTbFHfH2bu28XhZdQ5wyJuttbOqE4AHrVvBV7gnmyMROfEduRBKuJ60rh ZNY9pXo8Cy1NGbc7dPh6a74lSmsOiokiPSU0Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4a4d7f91.1ed7720a.4d79.395b@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <b12d11d0907020542v6918f2aew849fdc0c33563b59@xxxxxxxxxxxxxx> <4a4d7f91.1ed7720a.4d79.395b@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

 

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.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>