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/
Home Products Support Community News


Re: [Xen-devel] PV-GRUB - Does not read partition-less disk

To: "Bastian Blank" <bastian@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] PV-GRUB - Does not read partition-less disk
From: "Marco Sinhoreli" <msinhore@xxxxxxxxx>
Date: Thu, 11 Sep 2008 22:38:51 -0300
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 11 Sep 2008 18:39:29 -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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=13fOazXebL1atzw1h4MRj/BT3z9/xX44SKnSVvByNzo=; b=W/2G7H4kTEZbHSYEdkG3JpTlEi/eLnLRhsPlMIqJE1SSxtcQDNMTJhKtLb79IGWtir 3Y1Yytvxg1EtXkfTYkQZWNnDSte9SG3siUgDcgn6qpJI8zI3hGhtjK2ohuzeYkw3OIZC 0YQJs8RvuC+pxL68mk596I/o21L2T13/TodBM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=f89LiGujGUqZ13VfzxGeAE7zSdByJA+W2mJM3YR3WDwjX9xZ9jOZM1ayBwWUMoZRzh 13Razix8oa055MgjcTC210KhXPzyvT/sgo9tyr+8VGG8kPDC2IbAeEyV6H2VdJ/IwVPb 6X3pkhPAtK8gVfJFNuVh1koG/yqYr2V7mCKME=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080911231038.GA5780@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello Bastian,

In this case, are you using the root partition for all block device or
is this partitioned? If you are using all block device (the logical
volume) to root disk, you need to set in your conffile it to 'xvda1'.
Case you are using a logical volume partitioned and the root disk is
the first partition, the right is:
| grubdom> root (hd0,0)

Best Regards,

On Thu, Sep 11, 2008 at 8:10 PM, Bastian Blank <bastian@xxxxxxxxxxxx> wrote:
> Hi folks
> PV-GRUB built from Xen 3.3.0 is not able to read from devices without a
> partition table:
> | grubdom> root (hd0)
> |  Filesystem type unknown, using whole disk
> Part of the config:
> | disk = [ "phy:vg0_sledgehammer/servext_root,xvda,w" ]
> Device:
> | # file -s /dev/vg0_sledgehammer/servext_root
> | /dev/vg0_sledgehammer/servext_root: symbolic link to 
> `/dev/mapper/vg0_sledgehammer-servext_root'
> | # file -s /dev/mapper/vg0_sledgehammer-servext_root
> | /dev/mapper/vg0_sledgehammer-servext_root: Linux rev 1.0 ext3 filesystem 
> data
> Bastian
> --
> You can't evaluate a man by logic alone.
>                -- McCoy, "I, Mudd", stardate 4513.3
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Marco Sinhoreli

Xen-devel mailing list