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

Re: [Xen-users] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8, 1)



Sateesh Babu wrote:
Hello,

I have seen a similar post about the "Kernel panic - not syncing: VFS:
Unable to mount root fs on unknown-block(8,1)" problem in the mailing
list, but no one has posted the solution. So, asking it agian.

I am facing problems in creating new virtual machine. I have installed
Xen3.0 using apt-get on Ubuntu (dom0) and it starts up fine.

Following is my vm config file:
------------
name="vm01"
kernel="/boot/vmlinuz-2.6.22-14-xen"
root="/dev/sda1"
memory=128
disk=['file:/vserver/images/vm01.img,sda1,w']

# network
#vif=[ '' ]
dhcp="off"
ip="192.168.0.3"
netmask="255.255.255.0"
gateway="192.168.0.1"
hostname="kavuri"

extra="3"
------------

When I try to start the virtual machine vm01, I get an error mount
error as under:

-------------
[49158.057862] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[49158.057972] io scheduler noop registered
[49158.057976] io scheduler anticipatory registered
[49158.057980] io scheduler deadline registered
[49158.057994] io scheduler cfq registered (default)
[49158.075321] Real Time Clock Driver v1.12ac
[49158.075759] RAMDISK driver initialized: 16 RAM disks of 65536K size
1024 blocksize
[49158.075918] input: Macintosh mouse button emulation as /class/input/input0
[49158.075956] xencons_init: Initializing xen vfb; pass xencons=tty to
prevent this
[49158.076010] Xen virtual console successfully installed as xvc0
[49158.076038] Event-channel device installed.
[49158.085815] netfront: Initialising virtual ethernet driver.
[49158.086075] PNP: No PS/2 controller found. Probing ports directly.
[49158.086896] i8042.c: No controller found.
[49158.086986] mice: PS/2 mouse device common for all mice
[49158.087104] TCP cubic registered
[49158.087125] NET: Registered protocol family 1
[49158.087152] Using IPI No-Shortcut mode
[49158.088922] xen-vbd: registered block device major 8
[49158.088940] blkfront: sda1: barriers enabled
[49158.184271] XENBUS: Device with no driver: device/console/0
[49158.184771] List of all partitions:
[49158.184779] 0801    1024000 sda1 driver: vbd
[49158.184783] No filesystem could mount root, tried:  cramfs
[49158.184790] Kernel panic - not syncing: VFS: Unable to mount root
fs on unknown-block(8,1)
---------------

You need to create an initramfs or initrd file and add the filesystem to it. Then add a module stanza in your menu.lst file.

Hope this helps,

Jon


_______________________________________________
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®.