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: "Fajar A. Nugraha" <list@xxxxxxxxx>
Subject: Re: [Xen-users] grub commands problem with Ubuntu 10.04
From: Abhishek Dixit <abhidixit87@xxxxxxxxx>
Date: Tue, 8 Mar 2011 15:02:43 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 08 Mar 2011 01:34:10 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=GJrx5GIuVjJ/yx61tRcmfqza+yMAM+Y2QApaxA4xoCc=; b=wx62dK4OZsY94yO2kCXz5hF+LYRExjncygSlhEHHdLJpEdN7On2XeorMJVBKprRRri 0ycOO83+JbaX1D6P9tD4gJ5Vlx9GpJXT9OePVrXuG8BDcT5OJAm7bP2epIbiBg8x8ZFO RWcCSitOpd4UPJCPtQbSccKvcMyRoSYK41ajU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WR2IjqK9J4OBOoOGTG9gO5pvAJgmbonGe35Pe9fUkZzSDoaJljkVx/IyrviwmKH9v9 1FauowIFCaII6rUbvb94q9X7kyCq+tJRmvta/XcJu12MIX2GhWx5uowBbx8NMF+8yI3O jo5lZ0Ef510Sdgzga9WW/+xyziCno378pPfYw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikHSuqkmwZggy=z8tuJeXmw7AjhTAtyoVQX-GXa@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> <AANLkTikHSuqkmwZggy=z8tuJeXmw7AjhTAtyoVQX-GXa@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sun, Mar 6, 2011 at 8:16 PM, Fajar A. Nugraha <list@xxxxxxxxx> wrote:
> 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")
>



I had installed Ubuntu on a machine which has Windows7 using Wubi
where Ubuntu is running inside a folder in C drive which is an NTFS
partition

these are my grub entries

menuentry "Xen Linux 2.6.32.27" {
        insmod multiboot2
        set root='(hd0,2)'
        set root=(loop0)
        kernel (hd0,2)/boot/xen.gz dummy=dummy
        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
}

I also tried  insmod multiboot  each time I got

error file not found
error unknown command 'kernel'
error unknown command 'module'
error unknown command 'module'

Any thing else which I can try?

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