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: [Xen-users] Grub does not load Xen

To: Andrey Chursin <andll@xxxxxxxxxxx>
Subject: Re: [Xen-users] Grub does not load Xen
From: Mike Lovell <mike@xxxxxxxxxxxx>
Date: Wed, 17 Dec 2008 10:33:56 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 17 Dec 2008 09:34:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <bd8ddd070812061212w5d9c9764y120e4a0096d0244a@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <bd8ddd070812061212w5d9c9764y120e4a0096d0244a@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.18 (X11/20081125)
Andrey Chursin wrote:
Hello

I have installed XEN on CentOS using

yum install xen

But when in grub menu i choosing 'Centos with xen' it do not boot.
I see next screen:
http://img201.imageshack.us/my.php?image=xentroublerc9.jpg and then
nothing occurs. After some time(~30 secs) system automatically reboot

This is grub's menu.lst file:


# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
console=ttyS0,57600 console=tty0
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/sda3
console=ttyS0,57600 console=tty0
#          initrd /initrd-version.img
#boot=/dev/sda
serial --unit=0 --speed=57600

terminal --timeout=2 serial console

default=1
timeout=5

hiddenmenu
tittle CentOS (2.6.18-92.1.18.el5xen)
        root (hd0,0)
        kernel /xen.gz-2.6.18-92.1.18.el5
        module /vmlinuz-2.6.18-92.1.18.el5xen ro root=LABEL=/ acpi=off
noapic nodmraid console=ttyS0,57600 console=tty0
        module /initrd-2.6.18-92.1.18.el5xen.img
title CentOS (2.6.18-92.1.18.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-92.1.18.el5 ro root=LABEL=/ acpi=off
noapic nodmraid console=ttyS0,57600 console=tty0
        initrd /initrd-2.6.18-92.1.18.el5.img
title CentOS (2.6.18-92.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-92.el5 ro root=LABEL=/ acpi=off noapic
nodmraid console=ttyS0,57600 console=tty0
        initrd /initrd-2.6.18-92.el5.img


Choosing second option boot linux, but without xen. Choosing first
option makes screen i provided above.

Thank you for your attention.

Just out of curiosity, does the machine still boot? Do you see console output on the vga/local console? From looking at the options, it appears that you are trying to use both a serial and vga consoles. I fought with doing a serial console and xen for a while. What I was able to figure out is that defining the console settings on the line for the xen kernel and then not doing any console settings on the linux kernel works. Here is an example from one of my xen boxes.

title Xen 3.2-1-amd64 / Debian GNU/Linux, kernel 2.6.18-6-xen-amd64 serial
    root (hd0,0)
kernel /boot/xen-3.2-1-amd64.gz dom0_mem=786432 console=com2,vga com2=115200,8n1 module /boot/vmlinuz-2.6.18-6-xen-amd64 root=/dev/hda1 ro pciback.permissive pciback.hide=(00:02.1)
    module /boot/initrd.img-2.6.18-6-xen-amd64

This is for a Debian box and I also limit the size of the dom0 memory. But something similar should work for you on CentOS. The important parts for you would be the 'console=com2,vga com2=115200,8n1' and then no console definition on the linux kernel line. It looks like you are using com1 instead of com2 so change the settings to match what you want.

Hope that helps.

Mike

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

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