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: "Bastian Blank" <bastian@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] PV-GRUB - Does not read partition-less disk
From: "Marco Sinhoreli" <msinhore@xxxxxxxxx>
Date: Fri, 12 Sep 2008 11:29:10 -0300
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 12 Sep 2008 07:29:42 -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=XBPCbzVySdnKs147AF+h2GLCqlIqnwtgYChnGWC/stQ=; b=bz8gAkx75Ogv+ueRuYtdq4MqOlKk7AwEw6g/TxWQ0mmExSFKZlcsH35h8u6UKAhW2i GS3aAc8nJt2Kae31d1sunxzKyWoltrRmMNZHoBG5ouJKn2r5WSBkt77p4TpFnt4oGinH mFS+Ry4CqW/wm8AOx5SnuLVTfyCVft34GUpsc=
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=SYDzN9oQ/oZqW4rWewnXuescdcNPq/ijGKkhVUjYsxFrqhchpjJiAMapbBWcQ2G3nd sGCj5RjdIgZsZAydNL7HCFm56rc3h1bHZtPGiJZa6TPeNbRjqJROVlZ7SsBbcdSfLBzR J4E8wdWlAWT1hqnG0vZNuhONw/zjvBqawPdF8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080912130652.GA4180@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Do you have a system installed in this disk? Are you passing the path
of menu.lst in your configuration?
extra = "(hd0,0)/boot/grub/menu.lst"

I used a Debian lenny as dom0 and domU and it is working fine to me.
To partitioning the logical volume, I used the fdisk and, to access
it, I used kpartx. After mapped the partitions in /dev/mapper/, I
formated and I installed the system using debootstrap. I needed to
edit some files like /etc/fstab, /boot/grub/menu.lst, /etc/securetty
and /etc/inittab and to copy the kernel, and  initrd.img and the
modules into virtual machine partition.

On Fri, Sep 12, 2008 at 10:06 AM, Bastian Blank <bastian@xxxxxxxxxxxx> wrote:
> On Fri, Sep 12, 2008 at 09:01:17AM -0300, Marco Sinhoreli wrote:
>> Look this example:
>> * /etc/xen/xmexample.pv-grub or xen-3.3.0/tools/examples/xmexample.pv-grub
>
> hdaX is not supported by current kernels in the disk definition. And
> this does not work either. It still sees one disk (hd0) without a
> partition table and an unknown fs.
>
> Bastian
>
> --
> Warp 7 -- It's a law we can live with.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>



-- 
Marco Sinhoreli

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