[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Re: Raw Disk Image to domU
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |