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-devel

Re: [Xen-devel] [PATCH, PV-GRUB DOC] Add details to PV-GRUB documentatio

To: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH, PV-GRUB DOC] Add details to PV-GRUB documentation
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Wed, 03 Mar 2010 14:48:47 -0800
Cc:
Delivery-date: Wed, 03 Mar 2010 14:49:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100303194507.GA5920@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20100303194507.GA5920@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100225 Fedora/3.0.2-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.2
On 03/03/2010 11:45 AM, Samuel Thibault wrote:
Add a couple of documentation details about PV-GRUB support

- the menu.lst content can be passed as a ramdisk.
- virtual partitions are not supported.

BTW, I had a problem with pvgrub with an ext4 /boot, where it hung indefinitely after starting. It seemed to be spinning in a readdir loop on a zero-length directory entry. The directory in question was a single extent.

Does pvgrub support ext4 /boot?

Thanks,
    J

Signed-off-by: Samuel Thibault<samuel.thibault@xxxxxxxxxxxx>

diff -r b8d2a4134a68 stubdom/README
--- a/stubdom/README    Wed Mar 03 17:41:58 2010 +0000
+++ b/stubdom/README    Wed Mar 03 20:42:53 2010 +0100
@@ -52,11 +52,17 @@

  extra = "(hd0,0)/boot/grub/menu.lst"

-you can also use a tftp path (dhcp will be automatically performed):
+or you can provide the content of a menu.lst stored in dom0 by passing it as a
+ramdisk:
+
+ramdisk = "/boot/domU-1-menu.lst"
+
+or you can also use a tftp path (dhcp will be automatically performed):

  extra = "(nd)/somepath/menu.lst"

-or you can set it in option 150 of your dhcp server and leave extra empty
+or you can set it in option 150 of your dhcp server and leave extra and ramdisk
+empty (dhcp will be automatically performed)

  Limitations
  ===========
@@ -69,6 +75,13 @@
  - bootsplash is supported, but the ioemu backend does not yet support restart
  for use by the booted kernel.

+- PV-GRUB doesn't support virtualized partitions. For instance:
+
+disk = [ 'phy:hda7,hda7,w' ]
+
+will be seen by PV-GRUB as (hd0), not (hd0,6), since GRUB will not see any
+partition table.
+

                                  Your own stubdom
                                  ================

_______________________________________________
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