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

Re: [Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx, Jan Muhammad <janmuhd@xxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Fri, 19 Mar 2010 08:16:28 -0700 (PDT)
  • Cc:
  • Delivery-date: Fri, 19 Mar 2010 08:17:53 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=PSeECf5noyE8seX6198R66pz1dsJyRDpRn9Eg6YaDte9PpYV7HRsvZ4vNYp+KPmjF9JnueXOmzoQUh/imMQWy21iD/aZ1a3hpUsJiPmuXBaEiE+YimPCOyI6fpHST6jH7b+5R6aH4Nme6oM4o0wxY5KxKvK18s8S9JKXRJPQ/OY=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Fixing errors :-

# cat fedora.11.x86.xen3.cfg
kernel = "/boot/vmlinuz-2.6.26-1-xen-686"
ramdisk ="/boot/initrd-2.6.26-1-xen-686.img ( or whatever has been created
as  "initrd" for vmlinuz-2.6.26-1-xen-686 )
memory = 512
name = "fedora.11.x86.img"
vif = [ 'bridge=eth?' ]  ( per "brtcl show")
disk = ['file:/home/xen-testimages/fedora.11.x86.img,xvdb,w']
root = "/dev/sda2 ro"
extra = "fastboot"

# xm create -c fedora.11.x86.xen3.cfg
---------------------------------------------------
2. fedora.11.x86.xen3.pygrub.cfg

bootloader = "/usr/bin/pygrub"
memory = 512
name = "fedora.11.x86.img"
vif = [ 'bridge=eth?' ]
disk = ['file:/home/xen-testimages/fedora.11.x86.img,xvdb,w']
root = "/dev/sda2 ro"
extra = "fastboot"

xm create -c fedora.11.x86.xen3.pygrub.cfg

I am wondering would screen output start up ?
One more issue might be raised up :
# root="/dev/sda2 ro"
extra="root=/dev/sda2 ro console=tty0"

View
better:-

This technique would work for Debian Dom0 as well :-

http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/

If you would read it you would understand what you are doing

Boris.

--- On Fri, 3/19/10, Jan Muhammad <janmuhd@xxxxxxxxx> wrote:

From: Jan Muhammad <janmuhd@xxxxxxxxx>
Subject: Re: [Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0?
To: xen-users@xxxxxxxxxxxxxxxxxxx
Cc: bderzhavets@xxxxxxxxx
Date: Friday, March 19, 2010, 10:06 AM

Hi  Boris,
Below are the contents of the two files:

1. fedora.11.x86.xen3.cfg

# /home/xen-testimages
# cat fedora.11.x86.xen3.cfg

kernel = "/boot/vmlinuz-2.6.26-1-xen-686"
#kernel = "/boot/vmlinuz-2.6-xen"
memory = 256
name = "fedora.11.x86.img"
vif = [ '' ]
disk = ['file:/home/xen-testimages/fedora.11.x86.img,xvdb,w']
root = "/dev/sda2 ro"
extra = "fastboot"
---------------------------------------------------
2. fedora.11.x86.xen3.pygrub.cfg

bootloader = "/boot/vmlinuz-2.6.26-1-xen-686"
#bootloader = "/usr/bin/pygrub"
memory = 256
name = "fedora.11.x86.img"
vif = [ '' ]
disk = ['file:/home/xen-testimages/fedora.11.x86.img,xvdb,w']
root = "/dev/sda2 ro"
extra = "fastboot"

==================================

--- On Fri, 19/3/10, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0?
To: xen-users@xxxxxxxxxxxxxxxxxxx, "Jan Muhammad" <janmuhd@xxxxxxxxx>
Cc: costas.drogos@xxxxxxxxx
Date: Friday, 19 March, 2010, 18:49

Post content of

fedora.11.x86.xen3.cfg
fedora.11.x86.xen3.pygrub.cfg

Boris.

--- On Fri, 3/19/10, Jan Muhammad <janmuhd@xxxxxxxxx> wrote:

From: Jan Muhammad <janmuhd@xxxxxxxxx>
Subject: [Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0?
To: xen-users@xxxxxxxxxxxxxxxxxxx
Cc: costas.drogos@xxxxxxxxx
Date: Friday, March 19, 2010, 8:25 AM

Hi,

Sorry for the incomplete command; I do use the # xm console fedora11; but my problem is that I can't find the newly created VM; as I'm in the current directory (/home/xen-testimages) where I have 3 files:



I run the command (#xm create /home/xen-testimages/fedora.11.x86.xen3.cfg).
My problem is, I don't know where the domain fedora11 is being created? I know when I create similar Debian-image(domU); the location goes to /home/xen/domains; but in this Fedora(domU) case where I downloaded the image not created it myself from Xen-create command.
I even created a directory manually on the same location as of Debian domUs but still I'm getting the Error: Domain '/home/xen-testimages/fedora.11.x86.xen3' does not exist."

Thanks for help!

-Jan Muhammad


--- On Fri, 19/3/10, Costas Drogos <costas.drogos@xxxxxxxxx> wrote:

From: Costas Drogos <costas.drogos@xxxxxxxxx>
Subject: Re: [Xen-users] Re: How to create a Fedora 11 domU under Debian 5 dom0?
To: "Jan Muhammad" <janmuhd@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, kesha@xxxxxxxxxxxxx
Date: Friday, 19 March, 2010, 16:57



On Fri, Mar 19, 2010 at 13:47, Jan Muhammad <janmuhd@xxxxxxxxx> wrote:
Hi All,

I have downloaded a Fedora 11 Xen image from (http://stacklet.com/downloads/images/lister/Fedora); after un-tar in a directory and changing kernel boot and disk location to look for kernel and image; I created an image with file and I can see the output of the command:
 
#xm create /home/xen-testimages/fedora.11.x86.xen3.cfg

 "Using config file "/home/xen-testimages/fedora.11.x86.xen3.cfg".
Started domain fedora.11.x86.img"

But when I try to login into the newly created VM with
# xm console /home/xen-testimages/fedora.11.x86.xen3.cfg

The error message says:

Error: Domain '/home/xen-testimages/fedora.11.x86.xen3.cfg' does not exist."

Even copying those Xen cf and image files to the location where my other VMs reside doesn't solve my problem and I get the same error as above.

Any ideas how I can login into the newly created VM? Or what step I'm missing?

PS:
My other xen VMs (based on Debian) are located at some other directory and I can easily login to those.
 

Hello there,

For xm console, you use the hostname, not the config name.
e.g  xm console node1 , not xm console node1.cfg



--
Costas Drogos


-----Inline Attachment Follows-----

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



-----Inline Attachment Follows-----

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

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