Jan Muhammad
2010-Mar-19 11:47 UTC
[Xen-users] Re: How to create a Fedora 11 domU under Debian 5 dom0?
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. -Jan Muhammad --- On Fri, 19/3/10, Igor S. Pelykh <kesha@freenet.lg.ua> wrote: From: Igor S. Pelykh <kesha@freenet.lg.ua> Subject: Re: [Xen-users] How to create a Fedora domU under Debian 5 dom0? To: "Jan Muhammad" <janmuhd@yahoo.com> Date: Friday, 19 March, 2010, 2:57 In mail from Thu, 18 Мар 2010, 22:15 Jan Muhammad wrote:> Hi All, > > I''m a newbie to Xen......sorry for asking such a basic question.. > > I have a debian 5 dom0 with 1 domU (also debian based) running. Now trying > to create a domU having Fedora Core 10 or 11═ from dom0, wondering how to > do it? > Do I need to change any configuration file? > > Thanks in advance for help! > > -Jan Muhammad >The easiest way - to get a ready image. Like from this: http://stacklet.com/downloads/images/lister/Fedora The configuration file would you like for task. --- With best regards Igor S. Pelykh _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Costas Drogos
2010-Mar-19 11:57 UTC
Re: [Xen-users] Re: How to create a Fedora 11 domU under Debian 5 dom0?
On Fri, Mar 19, 2010 at 13:47, Jan Muhammad <janmuhd@yahoo.com> 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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jan Muhammad
2010-Mar-19 12:25 UTC
[Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0?
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: fedora.11.x86.xen3.cfg fedora.11.x86.img fedora.11.x86.xen3.pygrub.cfg 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@gmail.com> wrote: From: Costas Drogos <costas.drogos@gmail.com> Subject: Re: [Xen-users] Re: How to create a Fedora 11 domU under Debian 5 dom0? To: "Jan Muhammad" <janmuhd@yahoo.com> Cc: xen-users@lists.xensource.com, kesha@freenet.lg.ua Date: Friday, 19 March, 2010, 16:57 On Fri, Mar 19, 2010 at 13:47, Jan Muhammad <janmuhd@yahoo.com> 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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Costas Drogos
2010-Mar-19 13:22 UTC
[Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0?
# xm list -> find the domain you are looking for # xm console <hostname> -> attach domU''s console -- Costas Drogos _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Mar-19 13:49 UTC
Re: [Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0?
Post content of fedora.11.x86.xen3.cfg fedora.11.x86.xen3.pygrub.cfg Boris. --- On Fri, 3/19/10, Jan Muhammad <janmuhd@yahoo.com> wrote: From: Jan Muhammad <janmuhd@yahoo.com> Subject: [Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0? To: xen-users@lists.xensource.com Cc: costas.drogos@gmail.com 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@gmail.com> wrote: From: Costas Drogos <costas.drogos@gmail.com> Subject: Re: [Xen-users] Re: How to create a Fedora 11 domU under Debian 5 dom0? To: "Jan Muhammad" <janmuhd@yahoo.com> Cc: xen-users@lists.xensource.com, kesha@freenet.lg.ua Date: Friday, 19 March, 2010, 16:57 On Fri, Mar 19, 2010 at 13:47, Jan Muhammad <janmuhd@yahoo.com> 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jan Muhammad
2010-Mar-19 14:06 UTC
Re: [Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0?
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@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0? To: xen-users@lists.xensource.com, "Jan Muhammad" <janmuhd@yahoo.com> Cc: costas.drogos@gmail.com 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@yahoo.com> wrote: From: Jan Muhammad <janmuhd@yahoo.com> Subject: [Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0? To: xen-users@lists.xensource.com Cc: costas.drogos@gmail.com 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@gmail.com> wrote: From: Costas Drogos <costas.drogos@gmail.com> Subject: Re: [Xen-users] Re: How to create a Fedora 11 domU under Debian 5 dom0? To: "Jan Muhammad" <janmuhd@yahoo.com> Cc: xen-users@lists.xensource.com, kesha@freenet.lg.ua Date: Friday, 19 March, 2010, 16:57 On Fri, Mar 19, 2010 at 13:47, Jan Muhammad <janmuhd@yahoo.com> 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Mar-19 15:16 UTC
Re: [Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0?
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@yahoo.com> wrote: From: Jan Muhammad <janmuhd@yahoo.com> Subject: Re: [Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0? To: xen-users@lists.xensource.com Cc: bderzhavets@yahoo.com 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@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0? To: xen-users@lists.xensource.com, "Jan Muhammad" <janmuhd@yahoo.com> Cc: costas.drogos@gmail.com 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@yahoo.com> wrote: From: Jan Muhammad <janmuhd@yahoo.com> Subject: [Xen-users] Re: How to Login to Fedora 11 domU under Debian 5 dom0? To: xen-users@lists.xensource.com Cc: costas.drogos@gmail.com 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@gmail.com> wrote: From: Costas Drogos <costas.drogos@gmail.com> Subject: Re: [Xen-users] Re: How to create a Fedora 11 domU under Debian 5 dom0? To: "Jan Muhammad" <janmuhd@yahoo.com> Cc: xen-users@lists.xensource.com, kesha@freenet.lg.ua Date: Friday, 19 March, 2010, 16:57 On Fri, Mar 19, 2010 at 13:47, Jan Muhammad <janmuhd@yahoo.com> 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@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users