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

Re: [Xen-users] error starting xen guest


  • To: dinesh chandrasekaran <dinesh_chan8@xxxxxxxxxxx>
  • From: Todd Deshane <deshantm@xxxxxxxxx>
  • Date: Thu, 22 Jan 2009 15:59:02 -0500
  • Cc: xen users community <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 22 Jan 2009 12:59:49 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=R4B0KOwjTnQ5/3bREQ4WZQE4oqTPymWVNpE3LUl1HGs9aeEUjaqRYj5uQ7/aKpY0PJ ZJyVEUoV8Omd/+Si2QJq2caAQc06gdqsdp7pTjhpqm2LQ9EbSh9a3Y4OsH1YedWjHBwj 0M1JAMWid0z3puhR8Zbs5doh/I3PzS6S4E1GY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Thu, Jan 22, 2009 at 11:44 AM, dinesh chandrasekaran
<dinesh_chan8@xxxxxxxxxxx> wrote:
> Hi Friends,
>                     I just installed xen/dom0 on my amd64 quad core phenom
> processor. dom0 boot up was successfull.
> When I used 'xm create -c /home/guest.conf' to create a xen guest, the guest
> screen hanged after "Starting local".
>
> Im not getting the login prompt. Please help me solve this. Im just one step
> away from a normal guest bootup.
>
> My guest fstab, config file and dmesg are as follows:
>
> FSTAB:
> /dev/hda        /        ext3        noatime        0 1
> #/dev/SWAP        none        swap        sw        0 0
> #/dev/cdrom        /mnt/cdrom    auto        noauto,ro    0 0
>
> shm            /dev/shm    tmpfs        nodev,nosuid,noexec    0 0
>
> CONFIG FILE:
> name="Guest"
> kernel="/boot/domU-Gentoo"
> memory="64"
> disk=['file:/home/vm1.raw,hda,w']
> root="/dev/hda ro console=xvc0"
> on_poweroff = 'restart'
> on_reboot = 'restart'
> on_crash = 'restart'
>

You should be able to add:
extra="xencons=tty"

you may also want/need to move the ro console=xvc0 into the extra
so it could be that you want
root='/dev/hda'
extra='ro console="xvc" xencons=tty'

You may also need to add a getty script for your xvc0 if it is not
already in your domU.

Hope that helps.

Cheers,
Todd

-- 
Todd Deshane
http://todddeshane.net
http://runningxen.com

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