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-devel

Re: [Xen-devel] Xen installation problem

To: "Ketan Pandya" <kpandya@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xen installation problem
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Sun, 12 Sep 2004 07:51:14 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Sun, 12 Sep 2004 07:53:35 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Fri, 10 Sep 2004 11:11:13 EDT." <9CD190F4AD92EC499A9397F49C8B0E4E012918D4@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> Hello,
> 
> I tried to install Xen as per instructions from README.CD of Xen demo cd, but 
> am unable to boot Xen and get message "Kernel panic : No init found.  Try 
> passing init= option to kernel".  Any help will be appreciated..

First off, you need to let us know what version of Xen you're
using. 

Is your root file system actually on /dev/hda1? 
Does the kernel appear to be mounting it OK before failing to 
find /sbin/init ?

 
> My steps were following
> 
> 1) Installed Red Hat Enterprise AS 3.0 Update 2(RH)
> 2) Copied xen.gz and xenolinux.gz from demo cd/boot to /boot of RH 
> 3) Modified grub.conf and added following lines.  Note that the path is 
> relative to /boot

The only additional thing you may need to do is to edit
/etc/fstab to replace LABEL= lines with the actual /dev/XXX
device.

Ian

> title Xen
>         kernel /xen.gz dom0_mem=131072 ser_baud=115200 noht noreboot
>         module /xenolinux.gz root=/dev/hda1 ro console=tty0
> 
> 4) Rebooted the machine and selected Xen from the Grub menu.  At this point 
> the machine seems to go through some sequence and eventually a message is 
> displayed "Kernel panic : No init found.  Try passing init= option to 
> kernel".  From this point nothing else happens and Xen does not boot.

 -=- MIME -=- 
This is a multi-part message in MIME format.

------_=_NextPart_001_01C49748.6961ECA2
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

I tried to install Xen as per instructions from README.CD of Xen demo =
cd, but am unable to boot Xen and get message "Kernel panic : No init =
found.  Try passing init=3D option to kernel".  Any help will be =
appreciated..

My steps were following

1) Installed Red Hat Enterprise AS 3.0 Update 2(RH)
2) Copied xen.gz and xenolinux.gz from demo cd/boot to /boot of RH=20
3) Modified grub.conf and added following lines.  Note that the path is =
relative to /boot

title Xen
        kernel /xen.gz dom0_mem=3D131072 ser_baud=3D115200 noht noreboot
        module /xenolinux.gz root=3D/dev/hda1 ro console=3Dtty0

4) Rebooted the machine and selected Xen from the Grub menu.  At this =
point the machine seems to go through some sequence and eventually a =
message is displayed "Kernel panic : No init found.  Try passing init=3D =
option to kernel".  From this point nothing else happens and Xen does =
not boot.

I also downloaded binary build from nightly snapshots ( =
xeno-1.2-install.tgz    ) and then used xen.gz and xenolinux.gz from the =
download, but no luck.

As I am not experienced with kernel etc., not sure if I'm missing =
something or I must build from the source.  Right now I am just trying =
to get feel about Xen and so rather avoid building source.  Any help =
will be greatly appreciated.

/Ketan A. Pandya

------_=_NextPart_001_01C49748.6961ECA2
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6396.0">
<TITLE>Xen installation problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">Hello,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I tried to install Xen as per =
instructions from README.CD of Xen demo cd, but am unable to boot Xen =
and get message &quot;Kernel panic : No init found.&nbsp; Try passing =
init=3D option to kernel&quot;.&nbsp; Any help will be =
appreciated..</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">My steps were following</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">1) Installed Red Hat Enterprise AS 3.0 =
Update 2(RH)</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">2) Copied xen.gz and xenolinux.gz from =
demo cd/boot to /boot of RH </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">3) Modified grub.conf and added =
following lines.&nbsp; Note that the path is relative to /boot</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">title Xen</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kernel /xen.gz =
dom0_mem=3D131072 ser_baud=3D115200 noht noreboot</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; module =
/xenolinux.gz root=3D/dev/hda1 ro console=3Dtty0</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">4) Rebooted the machine and selected =
Xen from the Grub menu.&nbsp; At this point the machine seems to go =
through some sequence and eventually a message is displayed &quot;Kernel =
panic : No init found.&nbsp; Try passing init=3D option to =
kernel&quot;.&nbsp; From this point nothing else happens and Xen does =
not boot.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I also downloaded binary build from =
nightly snapshots (<U></U></FONT><U></U><U> <FONT COLOR=3D"#0000FF" =
FACE=3D"Times New Roman">xeno-1.2-install.tgz&nbsp;</FONT></U> <FONT =
COLOR=3D"#0000FF" FACE=3D"Times New Roman">&nbsp; )</FONT> <FONT =
FACE=3D"Times New Roman">and then used xen.gz and xenolinux.gz from the =
download, but no luck.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">As I am not experienced with kernel =
etc., not sure if I'm missing something or I must build from the =
source.&nbsp; Right now I am just trying to get feel about Xen and so =
rather avoid building source.&nbsp; Any help will be greatly =
appreciated.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">/Ketan A. Pandya</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C49748.6961ECA2--


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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