[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] grub commands problem with Ubuntu 10.04


  • To: "Fajar A. Nugraha" <list@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.