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] PV-GRUB - Does not read partition-less disk

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] PV-GRUB - Does not read partition-less disk
From: "Marco Sinhoreli" <msinhore@xxxxxxxxx>
Date: Fri, 12 Sep 2008 12:01:43 -0300
Delivery-date: Fri, 12 Sep 2008 08:02:08 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Uq0Q87rJ7TEA5kDzVLHfjBaBOyhULqxAnPWKbA7tJJ4=; b=i7BOQ42Rxd2aVAZ9gRy83PEGvQN2yUlokAhtMjHx6CdZywN51YcvSaNyBw2rnUBymZ Fv3HfowXMvC8k3Y2c1RilLXeh4R2BVAeIeI0Vlm6AsUXIrHjEBE7e3s8Y0vowjhHHn2X vWj/b5Lzoh2bqE0mHHPYJ1DOWL405LF9ZlDPc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tHTq+ZFJvkRAKfykZZU1Gqtv0MNjAH6RORU4mOYEkAQjeW+1avuvZoy6zglUm6xG1V O8N8Q8X7SMvJtl1q0hT8sHI6nJPgdCIOAhTFQHtaTNhUIqdtLl5Bj3lsp6UgHFInjLyl tgUNS2abi5cMpFOvWRHS6vQgTA/mACP7BKh9c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080912144210.GA8234@xxxxxxxxxxxxxxxxxxxxxxx>
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: <20080911231038.GA5780@xxxxxxxxxxxxxxxxxxxxxxx> <20fe3cf60809111838q370a0b66pa848ea46eaef3798@xxxxxxxxxxxxxx> <20080912062457.GA20977@xxxxxxxxxxxxxxxxxxxxxxx> <20fe3cf60809120501n29e4fc49y6f2a6075bccb8a30@xxxxxxxxxxxxxx> <20080912130652.GA4180@xxxxxxxxxxxxxxxxxxxxxxx> <20fe3cf60809120729j41c648fep56e618c0d1838d28@xxxxxxxxxxxxxx> <20080912144210.GA8234@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
My tests:

# grep '^disk' pvmtest
disk = [ 'phy:empirevg/lenny.pvm,xvda,w' ]

# xm create -c /etc/xen/pvmtest
| grubdom> root (hd0)
| Filesystem type unknown, using whole disk
|
| grubdom> root (hd0,0)
| Filesystem type is ext2fs, partition type 0x83
|
| grubdom> configfile (hd0,0)/boot/grub/menu.lst

After this the grub menu was opened.

# fdisk -l /dev/empirevg/lenny.pvm
| Disk /dev/empirevg/lenny.pvm: 10.7 GB, 10737418240 bytes
| 255 heads, 63 sectors/track, 1305 cylinders
| Units = cylinders of 16065 * 512 = 8225280 bytes
| Disk identifier: 0x50e94ad8
|
|                   Device Boot      Start         End      Blocks   Id  System
| /dev/empirevg/lenny.pvm1               1        1156     9285538+  83  Linux
| /dev/empirevg/lenny.pvm2            1157        1305     1196842+
82  Linux swap / Solaris

On Fri, Sep 12, 2008 at 11:42 AM, Bastian Blank <bastian@xxxxxxxxxxxx> wrote:
> On Fri, Sep 12, 2008 at 11:29:10AM -0300, Marco Sinhoreli wrote:
>> Do you have a system installed in this disk?
>
> Sure.
>
>>                                              Are you passing the path
>> of menu.lst in your configuration?
>> extra = "(hd0,0)/boot/grub/menu.lst"
>
> Yes. But even if not, "root (hd0)" should show that it can see the
> filesystem. And the fact that it falls back into the normal commandline
> and not the menu shows that it is not able to read the config.
>
> Bastian
>
> --
> Mind your own business, Spock.  I'm sick of your halfbreed interference.
>



-- 
Marco Sinhoreli

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