Devraj Mukherjee
2009-Jan-07 02:21 UTC
[CentOS-virt] Ubuntu 8.04 DomU image from jailtime.org on CentOS 5.2 Dom0
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? Thanks. -- "I never look back darling, it distracts from the now", Edna Mode (The Incredibles)
Todd Deshane
2009-Jan-07 03:58 UTC
[CentOS-virt] Ubuntu 8.04 DomU image from jailtime.org on CentOS 5.2 Dom0
On Tue, Jan 6, 2009 at 9:21 PM, Devraj Mukherjee <devraj at 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
Seemingly Similar Threads
- Help getting my jailtime centos 5.1 network going on my dom0 ubuntu feisty with domU centos5.1
- Domain0 with Kernel 2.6.18-92.1.22.el5xen fails to boot Guests with Kernel 2.6.18-164.el5xen
- PHP 4.3.10 on CentOS 4 or CentOS 5
- Asterisk desktop tools for OS X
- PgSQL development libraries?