Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

Re: [Xen-users] kernel panic - Init problems

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] kernel panic - Init problems
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Thu, 28 Jul 2005 14:25:17 +0100
Cc: "K.C. Ramakrishna" <kcramakrishna@xxxxxxxxx>
Delivery-date: Thu, 28 Jul 2005 13:24:18 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050728121442.56399.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <20050728121442.56399.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.1
> My grub.conf is
> -------------------------------------------------------
> title Xen 2.0 / XenLinux 2.6- 1th test
>         root (hd0,1)
>         kernel /xen-2.0.6.gz dom0_mem=524288 noreboot
> init=/sbin/init
>         module /vmlinuz-2.6-xen0 root=/dev/hda2 ro
> console=tty0
> -------------------------------------------------------
>
> I have read the responses on the mailing list to this
> issue but still have not managed to get it running.


This doesn't look quite right: Grub's (hd0,1) is Linux's /dev/hda2.  You 
appear to have a separate partition for /boot with your kernels on it: this 
is not going to have /sbin/init on it, so you're probably pointing Linux at 
the wrong partition with that root= directive.

Try booting native Linux, and reviewing the output of "mount" to see what 
partition / is on, then make the root= directive point to it.

You shouldn't need to pass init= anywhere (but if you did, it would need to be 
on the "module" line, for Linux, since the error comes from Linux and not 
from Xen itself).

Cheers,
Mark

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>