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

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




Julien TOUCHE wrote:

> i boot xen dom0 with the following in grub menu.lst
>
> title           Xen 2.0
> root            (hd0,1)
> kernel          /xen.gz dom0_mem=65536 noacpi max_loop=32 com1=19200,8n1
> module          /xen-linux-2.6.11-ocxen0 root=/dev/hda1 ro
> console=ttyS0,19200 console=tty0
> module          /initrd.img-2.6.11-ocxen0
>
> ===
>   Booting 'Xen 2.0'
>
> root            (hd0,1)
>  Filesystem type is ext2fs, partition type 0x83
> kernel          /xen.gz dom0_mem=65536 noacpi max_loop=32 com1=19200,8n1
>    [Multiboot-elf, <0x100000:0x3f070:0x35f90>, shtab=0x175078,
> entry=0x100000]
> module          /xen-linux-2.6.11-ocxen0 root=/dev/hda5 ro
> console=ttyS0,19200
> console=tty0

[snip]

> Kernel command line: root=/dev/hda5 ro console=ttyS0,19200 console=tty0



I'm not sure if this is the answer, but your dmesg suggests that the
kernel is
trying to find a rootfs on /dev/hda5.
I think you should add a root=/dev/hda1 to your kernel stanza in menu.lst.

Mine is like this:
title           Xen 2 - Kernel 2.6
root            (hd0,0)
kernel          /xen.gz dom0_mem=131072 root=/dev/hda3 ro console=tty0
module          /vmlinuz-2.6-xen0 root=/dev/hda3 ro console=tty0
savedefault
boot

I don't understand the logic of repeating the root and console directives,
but it works! :)

Marcus.

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