[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] No filesystem could mount root



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.