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

[Xen-users] Re: Raw Disk Image to domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Raw Disk Image to domU
From: "Ricardo Tiago" <rtiago@xxxxxxxxx>
Date: Mon, 26 May 2008 02:02:31 +0200
Delivery-date: Sun, 25 May 2008 17:03:05 -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=xMQI3gRZNfx2T5A0Pwbr979d1MaDgthVm5FKeF6RqMI=; b=Oqa1zjNAguKrFiDVM+vEPMQzP3eYmcAizMNwrc4LMd2Nrvs99CQTf4y42qoaIosUv1EmIfJkYZfKAJKyQdPWsQfcAO8ZW8aG0QU4UVxIR4ZDuVJc0YjL03Oh8nWqKPp3L1citAHblT4CTjOrU1VnlncyZhECAtP3AXD4juah5kQ=
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=e4AIpATgmab4+kbF3Qb5gr8OI4C9tVRU7dt+ZjxN7tEPYzfV6PITfjdXUhBo9uWD/dZ8Kx/lw9dlSYSS5Q3l4llHfoX6mWnUbctGtEN4KkXTbgqcbT7cfhQmT+aLXu3c99Yw78NAi7jUVMuGXcJ6Daqqqy26laacTbs6n2xpirU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <8ed7d4b30805251634md72f6dbl520b04ddffc9000@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: <8ed7d4b30805251634md72f6dbl520b04ddffc9000@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I have managed to start the domain but changing to cfg file, but it
dies with a kernel panic

Errors:
XENBUS: Device with no driver: device/vbd/51712
XENBUS: Device with no driver: device/vif/0
XENBUS: Device with no driver: device/console/0
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
(......)
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Booting has failed.
Kernel panic - not syncing: Attempted to kill init!


cfg file:

name = 'test-rawimage'
kernel = '/boot/vmlinuz-2.6.21.7-3.fc8xen' # Dom0 kernel
ramdisk = '/boot/initrd-2.6.21.7-3.fc8xen.img' # Dom0 ramdisk
memory = '256'
disk = [ 'file:/mnt/disk-lappy.img,xvda,w' ]
vif = [ '' ]
#bootloader = '/usr/bin/pygrub' #Commented
on_reboot = 'restart'
on_crash = 'restart'

I have seen this problem in the list before and there is a solution
but i don't remember..

Ricardo

On Mon, May 26, 2008 at 1:34 AM, Ricardo Tiago <rtiago@xxxxxxxxx> wrote:
> Hi,
>
> I have created a complete clone of my hard disk using dd and now i
> want to put this on a domU, is this possible?
>
> I have been reading and testing but i am still unable to make this work.
>
> This is my cfg file but something is wrong because when i try to
> create the VM it says 'Error: (2, 'Invalid kernel',
> 'xc_dom_find_loader: no loader found\n')'
>
> name = 'test-rawimage'
> memory = '256'
> disk = [ 'tap:aio:/mnt/disk-lappy.img,xvda,w' ]
> vif = [ '' ]
> bootloader = '/usr/bin/pygrub'
> on_reboot = 'restart'
> on_crash = 'restart'
>
> I have also specified the kernel and ramdisk options but i get "Error:
> Boot loader didn't return any data!"
>
> Can anyone help on this?
> I would really appreciate..
>
> Ricardo
>

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

<Prev in Thread] Current Thread [Next in Thread>