[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Ricardo Tiago" <rtiago@xxxxxxxxx>
  • Date: Mon, 26 May 2008 02:02:31 +0200
  • Delivery-date: Sun, 25 May 2008 17:03:05 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.