WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] No filesystem could mount root

To: XEN-Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] No filesystem could mount root
From: jonas kellens <jonas.kellens@xxxxxxxxxx>
Date: Thu, 10 Dec 2009 20:36:32 +0100
Delivery-date: Thu, 10 Dec 2009 11:39:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
This is my configuration file for my vm :

[root@xen ~]# cat /etc/xen/endian.cfg
import os, re
arch = os.uname()[4]

kernel = "/boot/vmlinuz-2.6.18-164.6.1.el5xen"

memory = 512
shadow_memory = 8
name = "endian"
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'file:/var/vm/endian/endian.img,sda,w', 'phy:/dev/cdrom,xvdc:cdrom,r' ]
device_model = '/usr/lib/xen-default/bin/qemu-dm'
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="dc"

sdl=0
vnc=1
vnclisten="0.0.0.0"
vncconsole=1
vncpasswd='endian'
stdvga=0
serial='pty'
usbdevice='tablet'


on_reboot   = 'restart'
on_crash    = 'restart'

When starting the vm I am able to take a quick look into the terminal through virt-manager (the reason why I installed it) and I added the screenshot.

It mentions :

"No filesystem could mount root, tried : ext2 iso9660
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)"

When following what happens through my ssh-session on the xen-server :

[root@xen ~]# xm create endian.cfg
Using config file "/etc/xen/endian.cfg".
Started domain endian
[root@xen ~]# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0     3465     2 r-----     79.3
endian                                     7      512     1 -b----      0.2
[root@xen ~]# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0     3465     2 r-----     80.2
endian                                     8      512     1 --p---      0.0
[root@xen ~]# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0     3465     2 r-----     80.7
endian                                     8      512     1 -b----      0.1
[root@xen ~]# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0     3465     2 r-----     80.8
endian                                     8      512     1 -b----      0.2
[root@xen ~]# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0     3465     2 r-----     81.4





Changing
disk = [ 'file:/var/vm/endian/endian.img,sda,w', 'phy:/dev/cdrom,xvdc:cdrom,r' ]
to
disk = [ 'file:/var/vm/endian/endian.img,sda,w', 'file:/tmp/endian/endian.iso,hdc:cdrom,r' ]
does not help

(if it has anything to do with the installation media)

Help with this steep learning curve is appreciated.


KInd regards,

Jonas.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>