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

Re: Spam:*, [Xen-users] Kernel panic - not syncing: VFS: Unable to mount

Subject: Re: Spam:*, [Xen-users] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3, 1)
From: Marcus Brown <marcusbrutus@xxxxxxxxxxxxxxxx>
Date: Tue, 05 Jul 2005 11:40:54 +1000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 05 Jul 2005 01:39:47 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42C984E6.5060207@xxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <42C984E6.5060207@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0.2 (X11/20050602)

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