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] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 errors

To: Amina Khalid <amina.khalid@xxxxxxxxx>, Xen users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 errors
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Tue, 6 Jul 2010 08:37:09 -0700
Cc:
Delivery-date: Tue, 06 Jul 2010 08:40:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=vuZIC5ny/gw9Fr52eiZRu4vUD4iUyLPYpJf0WeEofsE=; b=ZtQ7EZHkvsw8XAZkd89Xx7Eew+Nif8XDlqeQO3Eb7pxghKacbqWEQYgMyZ8jdbmfkR 0dGEJHuS5UvuQKjM+WLKITR51ixthsQC9ruDJcx5irp8nefHVti8y7bubTcWOptIfr6p o34Re0IXcb2Bhx0UonOtdNtKbxj/T7n1fOjco=
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 :content-type; b=j0atdxVEuevysItLSLedztn0ewDKY+iLmG2mq/HclPE5XcGGfmufYZ3BAekttn3PB1 Tl+awZnlyGzqTNItvxWJBM7Ya/uScog9QcWr2xUmKh/lXSwIBr5s1AYWuaRhy9eYbGGd tYnVXd/iBTBaENlvLNfGw3/0mW9+fikidcKK0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikzFx_qlqy0IhTkQkT4yv1ePcIqsAmwfvyfhoHL@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: <AANLkTiknNvDZOqtLGqaZB3mn0vJGnXLRb9ZOHMgqESzp@xxxxxxxxxxxxxx> <224339.83387.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTikeonyAoM7aJoJu3z337q-mSeP8LtCA2BkUwmiW@xxxxxxxxxxxxxx> <AANLkTikkYyTcr4B0gDqmzZeRtVtzDQPNVGK3OL1obQUH@xxxxxxxxxxxxxx> <AANLkTikNY2vFWYrBZ7FCmqvUzWggqFRHWvU6eHOp488B@xxxxxxxxxxxxxx> <AANLkTin_mtCOb_QQcGeMzcSfpMolbjhqufd7SZ7r3FMs@xxxxxxxxxxxxxx> <AANLkTikzFx_qlqy0IhTkQkT4yv1ePcIqsAmwfvyfhoHL@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Try this hacked version of /etc/grub.d/10_linux. Save your grub.cfg, then copy it onto your system and run update-grub. It works for me, but I'm using lvm partitions to the device addressing is different.
Another thought is that if you have the option to reinstall the dom0, use lvm for dom0's /. That works.

-Bruce


On Tue, Jul 6, 2010 at 7:44 AM, Amina Khalid <amina.khalid@xxxxxxxxx> wrote:
tried that as well but no luck.

On 6 July 2010 15:26, Bruce Edge <bruce.edge@xxxxxxxxx> wrote:
Try 4 instead of 5, there was a change in the 0/1 base for grub's device numbers.

-Bruce



On Tue, Jul 6, 2010 at 7:03 AM, Amina Khalid <amina.khalid@xxxxxxxxx> wrote:
still getting /dev/sda5 not found errors.

On 6 July 2010 14:39, Bruce Edge <bruce.edge@xxxxxxxxx> wrote:
Try removing the leading (hd0,5) from the multiboot/module lines.

-Bruce



On Tue, Jul 6, 2010 at 5:42 AM, Amina Khalid <amina.khalid@xxxxxxxxx> wrote:
yes I tried that as well but it didn't work for me

my grub entry is

menuentry 'Ubuntu, Linux 2.6.18.8 with pv_ops for Xen 4.0.1rc3' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
multiboot (hd0,5)/boot/xen-4.0.0.gz dummy=dummy
module    (hd0,5)/boot/vmlinuz-2.6.18.8-xen0 dummy=dummy root=/dev/sda5 nopat ro console=tty0
module    (hd0,5)/boot/initrd.img-2.6.18.8-xen0
}


in /boot/grub/grub.cfg I have the following entry for default boot with ubuntu 10.04. 

menuentry 'Ubuntu, with Linux 2.6.32-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set 98646bed-d837-44aa-b885-ac45a9042659
    linux    /boot/vmlinuz-2.6.32-23-generic root=UUID=98646bed-d837-44aa-b885-ac45a9042659 ro   quiet splash
    initrd    /boot/initrd.img-2.6.32-23-generic
}

I have tried root as UUID as well but it given me the same boot error of not finding root.

My disk partitioning is as follow

 df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5             9.2G  7.6G  1.2G  88% /
none                  496M  264K  496M   1% /dev
none                  500M  1.3M  499M   1% /dev/shm
none                  500M   92K  500M   1% /var/run
none                  500M     0  500M   0% /var/lock
none                  500M     0  500M   0% /lib/init/rw


- Amina








On 5 July 2010 21:04, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:
Could you track thread
up to the end and get final explanation been given.

Boris.


--- On Mon, 7/5/10, Amina Khalid <amina.khalid@xxxxxxxxx> wrote:

From: Amina Khalid <amina.khalid@xxxxxxxxx>
Subject: [Xen-users] installing xen 4.0.1 rc 3 on ubuntu 10.04 grub 2 errors
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Monday, July 5, 2010, 2:28 PM


Hi

I am trying to install the latest version
of xen (xen-4.0.1 rc3) on Ubuntu 10.4 and amd 64 processor. But I am
getting errors to boot dom0 kernel. I am using the steps given at

http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/



The error I am getting is also reported on the XEN mailing list below.

http://lists.xensource.com/archives/html/xen-users/2010-06/msg00759.html.


Can anyone tell me what I am doing wrong?

Thanks

-----Inline Attachment Follows-----


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



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





Attachment: 10_linux
Description: Binary data

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