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

[Xen-users] Problem adding entry to grub on ubuntu

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem adding entry to grub on ubuntu
From: Krist van Besien <krist.vanbesien@xxxxxxxxx>
Date: Mon, 17 May 2010 20:49:43 +0200
Cc:
Delivery-date: Mon, 17 May 2010 11:51:08 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=gMiY5sLm07W71J8K9JXEGg6pgl3il798WIetia8MDkw=; b=s1tNC/Rv+pSauu9XVy7BSde5KXFSUZCwNvoPR3WQ4UTFJ3IcFSyIpvDKX+bmJyibz6 W4XZNGuOgcMMcOLwruItRhdoQzHSoELMRX1CJaG1yJWrbzutViFtVKOFHTn/Mk9wjOZK DHt3CfhljOs2HsccGxk+6a4zW8CPm9a5vkWQY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=FJnwtrSdw8nukYvnVKbX+eLfIw3e/IMPMnLcPnEj4DXvuNVvrpZuTZxfwDa7w4fh0M L6DefwMuJcIzerGLBIbnzeApMoLuE+u5WpSzrw40mTaWVRZhIGHVCwBisqGfHkPbe6hZ 4dMLI9lWZcn/Zs95gPuWSCMqPfD5AU/odXiyc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

System is unbuntu 10.4 LTS, running on a single proc 4 core XEON.
I compiled and installed XEN 4.0.0 following the recipes found here:


http://virtually-a-machine.blogspot.com/2009/12/experimental-xen-and-ubuntu-part-1.html
http://virtually-a-machine.blogspot.com/2009/12/experimental-xen-and-ubuntu-part-2.html
(using a xen 4.0.0 tarball though).

Now this site instructs me to add an entry to /etc/grub.d/ so that it
gets included in grub.conf when I run update-grub

The exact example given on the site above didn't work, so I googled a
bit in order to find out how I was supposed to do this. I settled on
adding a 40_custom file to /etc/grub.d, with the following content:

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
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
}


My problem is that this does get added to grub.conf, but does not
appear in the boot menu. When I add a copy of an existing entry to
40_config it does get added as a boot option, so it must be something
with the content/syntax of my menuentry. However I have no idea. The
grub site doesn't even mention what the correct syntax for menuentry
is.
Does anybody have an idea what is wrong? What I should change so that
I can actually boot xen?

Thanks in advance,

Krist

-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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

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