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
 |