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

Re: [Xen-devel] pygrub: further improve grub2 support


  • To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Fri, 26 Mar 2010 05:06:30 -0700 (PDT)
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 26 Mar 2010 05:07:14 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=uuipS9sKyuM1TbHiqlcicR2O7cBwvY0KTO2/OrVbg56WAM2PyHxVLk4a2OUdeCJkan6mnJtbDL3h2yT0PfzD0jKt5mC0KpSUReCF/hP0WEGtl67zIw9AUvEIhDGSS4fY1pwTO5kKv8PbFBw+ZJMzBcrDpt4dGjV7xwFHFw/zoW0=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

That's all i was able to get for now :-

root@Ubuntu10:/boot/grub# ls -l d*

-rw-r--r-- 1 root root 1916 2010-03-26 00:18 datehook.mod
-rw-r--r-- 1 root root 2404 2010-03-26 00:18 date.mod
-rw-r--r-- 1 root root 1333 2010-03-26 00:18 datetime.mod
-rw-r--r-- 1 root root  512 2010-03-26 00:18 diskboot.img
-rw-r--r-- 1 root root 1952 2010-03-26 00:18 dm_nv.mod
-rw-r--r-- 1 root root 5616 2010-03-26 00:18 drivemap.mod

root@Ubuntu10:/boot/grub# file drivemap.mod
drivemap.mod: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped

Boris.
P.S. I was installing Ubuntu Desktop on 10.04 HVM to get common exchange
buffer.

--- On Fri, 3/26/10, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-devel] pygrub: further improve grub2 support
To: "Ian Campbell" <Ian.Campbell@xxxxxxxxxx>
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Friday, March 26, 2010, 6:57 AM

I've tried to PV domU with ready HVM domU via profile:-

memory = 2048
name = "UbuntuLynx"
bootloader="/usr/local/bin/pygrub"
vcpus = 2
vif = [ 'bridge=eth0' ]
disk = [ 'phy:/dev/sda8,xvda,w']
vfb= ['type=vnc,vncunused=1']

> Do you know how grub2 tries to interpret this, perhaps using a
> device.map type file in /boot/grub? Or perhaps it is simply a bug in
> 10.04 beta?

In meantime i don't know. I will take a look at device.map a bit latter.
But , it doesn't look to myself  as "beta"  issue

Boris.

--- On Fri, 3/26/10, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:

From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] pygrub: further improve grub2 support
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Friday, March 26, 2010, 6:49 AM

On Fri, 2010-03-26 at 10:41 +0000, Boris Derzhavets wrote:
> In Ubuntu 10.04 beta grub entry root looks like :
>
>   set root='(/dev/sda,1)'  vs  set  root=(hd0,1) in 9.10

So grub in Ubuntu 10.04 uses _Linux_ device naming in the bootloader
configuration? That seems like an awfully big break with tradition.

Do you know how grub2 tries to interpret this, perhaps using a
device.map type file in /boot/grub? Or perhaps it is simply a bug in
10.04 beta?

sda isn't really a valid name for a modern PV domU kernel anyway. It
should be xvda. Looks like you need to do some additional tailoring to
convert your HVM Ubuntu domain into a PV one.

Ian.



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

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

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

 


Rackspace

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