Hi Todd, Thanks for the message. I got a little bit further but still no joy, its stops with the following messages. Is it better off installing Ubuntu in the image?
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 Kernel panic - not syncing: Attempted to kill init! [r...@sphere auto]# On Wed, Jan 7, 2009 at 2:58 PM, Todd Deshane <desha...@gmail.com> wrote: > On Tue, Jan 6, 2009 at 9:21 PM, Devraj Mukherjee <dev...@gmail.com> wrote: >> Hello all, >> >> I am trying to get an Ubuntu 8.04 image running on my CentOS 5.2 Dom0 >> which so far has only been running CentOS 5.2 DomUs. >> >> The image I am trying to run was fetched from jailtime.org (just so I >> didn't have to go through building an image for myself). >> >> The configuration of the DomU is based on what the guys at >> jailtime.org provided and its as follows >> >> name = "redgum" >> kernel = "/boot/vmlinuz-2.6.18-92.1.22.el5xen" >> memory = "1024" >> disk = ['file:/srv/xen/redgum.img,sda1,w'] >> root = "/dev/sda1 ro" >> vif = [ 'bridge=xenbr0', ] >> vcpus=4 >> on_reboot = 'restart' >> on_crash = 'restart' >> >> When I start the VM I get the following message >> >> VFS: Cannot open root device "sda1" or unknown-block(0,0) >> Please append a correct "root=" boot option >> Kernel panic - not syncing: VFS: Unable to mount root fs on >> unknown-block(0,0) >> >> As per my configuration I have mounted the image to sda1 and the root >> is specified for the Kernel. Any one with similar experiences or could >> point me to the right direction? >> > > adding a ramdisk= line to your domU config should help. > > Also it is a good idea to also copy /lib/modules/<xen kernel> to the > guest's /lib/modules. > > Cheers, > Todd > > -- > Todd Deshane > http://todddeshane.net > http://runningxen.com > _______________________________________________ > CentOS-virt mailing list > CentOS-virt@centos.org > http://lists.centos.org/mailman/listinfo/centos-virt > -- "I never look back darling, it distracts from the now", Edna Mode (The Incredibles) _______________________________________________ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt