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.
On Tue, Jan 6, 2009 at 9:21 PM, Devraj Mukherjee devraj@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
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! [root@sphere auto]#
On Wed, Jan 7, 2009 at 2:58 PM, Todd Deshane deshantm@gmail.com wrote:
On Tue, Jan 6, 2009 at 9:21 PM, Devraj Mukherjee devraj@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
On Wed, Jan 7, 2009 at 12:41 AM, Devraj Mukherjee devraj@gmail.com wrote:
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?
Boris has a bunch of howtos on this sort of thing...
Here is one for Ubuntu on CentOS 5.2: http://bderzhavets.wordpress.com/2008/10/28/install-ubuntu-intrepid-server-p...
I am pretty sure that problem below is still fixable, but the hour is late, so I remember the solution... Google and/or xen.markmail.org may have some hints for you...
Best of Luck.
Todd
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! [root@sphere auto]#
Hi Todd / all,
Thanks again for responding to me. Interestingly the screen dump of virt-install on that howto is different from mine. Mine actually doesn't ask about fully virtualized guests.
How can I start virt-install to boot from an ISO?
Thanks.
On Wed, Jan 7, 2009 at 4:52 PM, Todd Deshane deshantm@gmail.com wrote:
On Wed, Jan 7, 2009 at 12:41 AM, Devraj Mukherjee devraj@gmail.com wrote:
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?
Boris has a bunch of howtos on this sort of thing...
Here is one for Ubuntu on CentOS 5.2: http://bderzhavets.wordpress.com/2008/10/28/install-ubuntu-intrepid-server-p...
I am pretty sure that problem below is still fixable, but the hour is late, so I remember the solution... Google and/or xen.markmail.org may have some hints for you...
Best of Luck.
Todd
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! [root@sphere auto]#
-- Todd Deshane http://todddeshane.net http://runningxen.com
Further thought to my own issue, the processor in use isn't on the Xen Wiki for HVM compatible processors.
That might be my issue
Thanks.
On Wed, Jan 7, 2009 at 6:55 PM, Devraj Mukherjee devraj@gmail.com wrote:
Hi Todd / all,
Thanks again for responding to me. Interestingly the screen dump of virt-install on that howto is different from mine. Mine actually doesn't ask about fully virtualized guests.
How can I start virt-install to boot from an ISO?
Thanks.
On Wed, Jan 7, 2009 at 4:52 PM, Todd Deshane deshantm@gmail.com wrote:
On Wed, Jan 7, 2009 at 12:41 AM, Devraj Mukherjee devraj@gmail.com wrote:
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?
Boris has a bunch of howtos on this sort of thing...
Here is one for Ubuntu on CentOS 5.2: http://bderzhavets.wordpress.com/2008/10/28/install-ubuntu-intrepid-server-p...
I am pretty sure that problem below is still fixable, but the hour is late, so I remember the solution... Google and/or xen.markmail.org may have some hints for you...
Best of Luck.
Todd
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! [root@sphere auto]#
-- Todd Deshane http://todddeshane.net http://runningxen.com
-- "I never look back darling, it distracts from the now", Edna Mode (The Incredibles)