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 commands problem with Ubuntu 10.04

To: Abhishek Dixit <abhidixit87@xxxxxxxxx>
Subject: Re: [Xen-users] grub commands problem with Ubuntu 10.04
From: "Fajar A. Nugraha" <list@xxxxxxxxx>
Date: Sun, 6 Mar 2011 21:46:47 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 06 Mar 2011 06:50:17 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikFwM4cfVG+7TttQzz6mKwRE9e1N6z75bxtRCib@xxxxxxxxxxxxxx>
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: <AANLkTikFwM4cfVG+7TttQzz6mKwRE9e1N6z75bxtRCib@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sun, Mar 6, 2011 at 7:41 PM, Abhishek Dixit <abhidixit87@xxxxxxxxx> wrote:
> Following is one grub entry
>
> menuentry "Ubuntu, Linux 2.6.32.27" {
>        insmod ntfs
>        set root='(hd0,2)'
>        search --no-floppy --fs-uuid --set 96f65c80f65c6313
>        loopback loop0 /ubuntu/disks/root.disk
>        set root=(loop0)
>        linux /boot/vmlinuz-2.6.32.27 root=/dev/sda2
> loop=/ubuntu/disks/root.disk ro   quiet splash
>        initrd /boot/initrd.img-2.6.32.27
> }
>
> the above boots into a pv-dom0 kernel
> but when I try following  which has Xen also
>
> menuentry "Xen Linux 2.6.32.27" {
>        insmod ntfs
>        set root='(hd0,2)'
>        loopback loop0 /ubuntu/disks/root.disk
>        set root=(loop0)
>        kernel (hd0,2)/boot/xen.gz
>        module (hd0,2)/boot/vmlinuz-2.6.32.27 dummy=dummy
> root=/dev/sda2 loop=/ubuntu/disks/root.disk ro console=tty0
>        module (hd0,2)/boot/initrd.img-2.6.32.27
> }
>
> then I get unknown command kernel,unknown command module
> and if I tried replacing kernel with multiboot in above then I get the
> same error
> unknown command multiboot ,unknown command module
> I am doing on Ubuntu 10.04 64 bit
> what is the problem above?

Did you modify the config file manually? If yes, you might need to add
"insmod multiboot" (or "insmod multiboot2")

-- 
Fajar

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