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

Re: [Xen-users] Installing a Debian Etch DomU using debootstrap

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Installing a Debian Etch DomU using debootstrap
From: Daniel Heemann <daniel.heemann@xxxxxx>
Date: Sun, 22 Jun 2008 18:32:20 +0200
Delivery-date: Sun, 22 Jun 2008 09:32:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <55da14450806220704r45494a69g350f14782e94bd0a@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <55da14450806220704r45494a69g350f14782e94bd0a@xxxxxxxxxxxxxx>
Reply-to: daniel.heemann@xxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.9
On Sun June 22 2008, Thomas wrote:
> I wanted to install a Debian Etch DomU under Xen 3.2.1. But I
> constantly get the following error message when booting the DomU:
>
> ---
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(3,1) ---
>
> The DomU config file is:
> ---
> disk = [ 'phy:/dev/mapper/xenvg-VM1,/dev/hda1,w',
> 'phy:/dev/mapper/xenvg-VM1--swap,hda2,w' ]
> ---

I'm unsure if it's possible to specifiy the absolute dm path for the lv but 
my setups all work with the following settings using a relative path 
(to /dev) for the lv within the vg (not using the dm path), e.g.:

disk = [ 'phy:vg0/lv-rootfs-terry,hda1,w' ]

where the lv ist /dev/vg0/lv-rootfs-terry

$> ls -l /dev/vg0/lv-rootfs-terry
[...] /dev/vg0/lv-rootfs-terry -> /dev/mapper/vg0-lv--rootfs--terry

For your setup it would be
disk = [ 'phy:xenvg/VM1,hda1,w' ]

Regards
Daniel

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