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] Problem adding entry to grub on ubuntu

To: Krist van Besien <krist.vanbesien@xxxxxxxxx>
Subject: Re: [Xen-users] Problem adding entry to grub on ubuntu
From: listmail <listmail@xxxxxxxxxxxx>
Date: Tue, 18 May 2010 09:33:33 -0400
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 18 May 2010 06:37:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BF28C6D.1040908@xxxxxxxxxxxx>
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: <AANLkTimeWMwp0O0d230gTR9gBEJwLsKWSTyuspmhS8iV@xxxxxxxxxxxxxx> <4BF1939A.5060800@xxxxxxxxxxxx> <AANLkTik6-2Us0waCFB0sUuTwCR5ofAlIS0-Fj2ezbt2r@xxxxxxxxxxxxxx> <4BF28C6D.1040908@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)
Here is my current dom0 40_custom entry:

menuentry "Xen 4.0 / Ubuntu 10.4 kernel 2.6.32.10-xen7 pvops" {
 insmod raid
 insmod mdraid
 insmod lvm
 insmod ext2
 set root='(dom0lvm-xenserver-root)'
 search --no-floppy --fs-uuid --set 53920e10-f9e4-47c8-ba0f-a5a1e3fef975
 multiboot /boot/xen-4.0.gz dummy=dummy iommu=0 dom0_mem=1024M
module /boot/vmlinuz-2.6.32.10-xen7 dummy=dummy root=/dev/mapper/dom0lvm-xenserver--root ro
 module /boot/initrd.img-2.6.32.10-xen7
}

And yours:

menuentry 'Xen 4 Ubuntu 2.6.31.6-xen1'{
   insmod raid
   insmod mdraid
   insmod ext2
   set root='(md0)'
   multiboot (md0)/xen-4.0.0.gz dummy=dummy dom0_mem=1024M
module (md0)/vmlinuz-2.6.31.13xen-kvb-1 dummy=dummy root=/dev/mapper/thunersee_root-root ro
   module (md0)/initrd.img-2.6.31.13xen-kvb-1
}


Richie wrote:
I was confirming that those steps are all you normaly have to do and that the config file should be grub.cfg not grub.conf. Please also check that you have +x (executable) permission on 40_custom otherwise it will not be ran.

If you continue to have problems, show output for dpkg -l "grub*"

Krist van Besien wrote:
On Mon, May 17, 2010 at 9:06 PM, listmail <listmail@xxxxxxxxxxxx> wrote:
after modifying /etc/grub.d/40_custom run `update-grub` which repopulates
/boot/grub/grub.cfg

I did just that, as I mentioned in my mail. May problem is not that
the entry is not added, it is, my problem is that the entry is ignored
for some reason.
I've tested this by copying another menuentry from grub.conf in to
40:_custom, running update-grub and this entry was displayed upon
boot.
So there is something with my menuentry syntax that causes grub to
ignore it. However I am not given any clues as to whay grub is
ignoring this entry, nor do I find any information on the web.

So what am I missing here?



Krist



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


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

<Prev in Thread] Current Thread [Next in Thread>