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: Todd Deshane <todd.deshane@xxxxxxx>
Date: Mon, 7 Mar 2011 04:03:57 +0000
Cc: Abhishek Dixit <abhidixit87@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 06 Mar 2011 20:05:51 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=lT82At2iyC3Sqh1mw8pu0ja07Ahs+F38MP/bb1eppeE=; b=BPKDjQc+T94ukFOEnFHhbv1mm2E9yU+sQPdTxqWDVXM0oZrOWfIEPNScdVTi3+deZ2 WOlKICpjxdqlrfDFUTFPKNFphHE/Rk498WDD9fZZKvqWigZEphxioOC14HY8/FtMn/dm wKb7SVIBbb5SW0+iON15bzkUtKf9EM5qloStU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=VJJ0iPwMx6cXNz1ic1LDz1SHGNmP85fanRDwErxKqUPMJPFEzbeBEYX78D8j8pm9Qq mVulnNJDZdRF0zf86eL3+FuaM6GINXOz2knTZLzDlASthf8XUehdzXFyTNJDj+O+RUvc vnkGIPHj76s8xiH9d4HKDFyz80WKkPWE8zgf4=
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 2:46 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")

Added this hint to the wiki page for this question.

Thanks!
Todd

-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html

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