Nick Couchman
2008-Dec-03 13:25 UTC
Re: [Xen-users] Can Xen boot a Linux OS already installed in a realpartition
Well, you have two options: 1) If your hardware supports VT, you can boot this in a Xen HVM domU (fully virtualized). To do this, you need to make sure that the initrd images in the Linux partition are set up correctly to support the PIIX IDE/ATA chipset and that your root and fstab entries use the correct device. 2) If you can install a Xen domU kernel into the Linux partition install, you can boot the installs in a PV domU with the PV kernel. RH9 may take some work to get going - not sure what the latest status of RH9 domU support is. This will get you better performance on the domUs, but requires a little more effort in getting the correct kernels installed. -Nick>>> <zhoujun@lzu.edu.cn> 2008/12/02 19:24 >>>I have two Linux Operation Systems installed on my computer,a RHEL and a RH9. The two linux are installed in real partitions . The problem is: If I install Xen in RHEL, can I make RH9 a Guest DomainU and boot it using Xen? How? Thank you ! This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2008-Dec-03 14:58 UTC
Re: Re: [Xen-users] Can Xen boot a Linux OS already installed inarealpartition
Yes, you need to install the domU kernel into RHEL9, first, then you can boot with Xen. -Nick>>> <zhoujun@lzu.edu.cn> 2008/12/03 06:58 >>>Hi, Nick: Do you mean I have to install a Xen DomU kernel in RH9 firstly, and then I boot RH9 in RHEL by Xen?> -----原始邮件----- > 发件人:"Nick Couchman" <Nick.Couchman@seakr.com> > 发送时间:2008年12月3日 星期三 > 收件人:"Xen MailList" <xen-users@lists.xensource.com>,zhoujun@lzu.edu.cn> 抄送: > 主题:Re: [Xen-users] Can Xen boot a Linux OS already installed inarealpartition> > > Well, you have two options: > 1) If your hardware supports VT, you can boot this in a Xen HVM domU(fully virtualized). To do this, you need to make sure that the initrd images in the Linux partition are set up correctly to support the PIIX IDE/ATA chipset and that your root and fstab entries use the correct device.> 2) If you can install a Xen domU kernel into the Linux partitioninstall, you can boot the installs in a PV domU with the PV kernel. RH9 may take some work to get going - not sure what the latest status of RH9 domU support is. This will get you better performance on the domUs, but requires a little more effort in getting the correct kernels installed.> > -Nick > > >>> <zhoujun@lzu.edu.cn> 2008/12/02 19:24 >>> > I have two Linux Operation Systems installed on my computer,a RHELand a RH9. The two linux are installed in real partitions .> The problem is: > If I install Xen in RHEL, can I make RH9 a Guest DomainU and boot itusing Xen? How?> > Thank you ! > > > > > > > > This e-mail may contain confidential and privileged material for thesole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. -- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi all. This is my first time using this list, and I could really use your help. What I have: CentOS 5.2, 32-bit 4 processors, 24 gig ram What I have been unable to do: Find and install a PAE version of the Xen kernel. Before I installed Xen (via Yum) I had a perfectly working PAE kernel which saw all my memory. Now, I have the following kernel installed: 2.6.18-92.1.18.el5xen Right now, I really don''t want to install by source. Thank you all very much for any help, Jeff _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Dec 3, 2008 at 5:16 PM, Jeff Harr <jharr@telematch.com> wrote:> Hi all. This is my first time using this list, and I could really use your > help. > > What I have: > CentOS 5.2, 32-bit > 4 processors, 24 gig ram > > What I have been unable to do: > Find and install a PAE version of the Xen kernel. > > Before I installed Xen (via Yum) I had a perfectly working PAE kernel which > saw all my memory. Now, I have the following kernel installed: > 2.6.18-92.1.18.el5xen > > Right now, I really don''t want to install by source. > > Thank you all very much for any help, > Jeff > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >If I''m not mistaken, the new XEN kernels have PAE built-in already. How do you know your memory isn''t reporting correctly? How much RAM does dmesg, top & xm top show respectively? I know there was a problem with grub, which needed to be recompiled if you added more RAM, or changed the kernel before it would see more than 3GB RAM. Maybe this is what you need todo? I don''t know if this bug is still a problem, Take a look at this: http://blog.softdux.com/everything-todo-with-linux/help-centos-51-xen-kernel-doesnt-see-all-the-ram-in-my-pc.html It might help? -- Kind Regards Rudi Ahlers _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks Rudi, xm top shows me that I see about 14g. From dom0, ''free'' shows me about 14g. Also dmesg and ''cat /proc/meminfo''. When I try to start a vm with more than about 7G of ram, it errors out saying that the resource is busy. I''ll look into the link you provided as well - thank you very much. Jeff ----- Original Message ----- From: "Rudi Ahlers" <rudiahlers@gmail.com> To: "Jeff Harr" <jharr@telematch.com> Cc: "XEN Mailing List" <xen-users@lists.xensource.com> Sent: Wednesday, December 03, 2008 10:50 AM Subject: Re: [Xen-users] Help with PAE xen kernel install> On Wed, Dec 3, 2008 at 5:16 PM, Jeff Harr <jharr@telematch.com> wrote: >> Hi all. This is my first time using this list, and I could really use >> your >> help. >> >> What I have: >> CentOS 5.2, 32-bit >> 4 processors, 24 gig ram >> >> What I have been unable to do: >> Find and install a PAE version of the Xen kernel. >> >> Before I installed Xen (via Yum) I had a perfectly working PAE kernel >> which >> saw all my memory. Now, I have the following kernel installed: >> 2.6.18-92.1.18.el5xen >> >> Right now, I really don''t want to install by source. >> >> Thank you all very much for any help, >> Jeff >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > If I''m not mistaken, the new XEN kernels have PAE built-in already. > > How do you know your memory isn''t reporting correctly? How much RAM > does dmesg, top & xm top show respectively? > > I know there was a problem with grub, which needed to be recompiled if > you added more RAM, or changed the kernel before it would see more > than 3GB RAM. Maybe this is what you need todo? > > I don''t know if this bug is still a problem, > > Take a look at this: > http://blog.softdux.com/everything-todo-with-linux/help-centos-51-xen-kernel-doesnt-see-all-the-ram-in-my-pc.html > > It might help? > > > -- > > Kind Regards > Rudi Ahlers_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ok, I went to link, and it showed that, on the surface, my version of grub was the buggy one: grub-0.97-13. It recommended that I install the -14 one, but it linked to the 64bit version. I''m on a 32 bit machine, but I went and found/installed a 32 bit version of grub-0.97-14 (and then grub-instsalled it on /dev/sda, my boot disk). On reboot, I still see only 14g of my 24g. I really appreciate the help, anything else you can suggest (or anyone else) would be great. Btw, here''s my grub configuration: default=0 timeout=5 splashimage=(hd0,0)/boot/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-92.1.18.el5xen) root (hd0,0) kernel /boot/xen.gz-3.2 module /boot/vmlinuz-2.6.18-92.1.18.el5xen ro root=LABEL=/ rhgb quiet module /boot/initrd-2.6.18-92.1.18.el5xen.img title CentOS (2.6.18-92.1.17.el5PAE) root (hd0,0) kernel /boot/vmlinuz-2.6.18-92.1.17.el5PAE ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.18-92.1.17.el5PAE.img title CentOS (2.6.18-92.el5PAE) root (hd0,0) kernel /boot/vmlinuz-2.6.18-92.el5PAE ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.18-92.el5PAE.img Thanks, Jeff ----- Original Message ----- From: "Jeff Harr" <jharr@telematch.com> To: "Rudi Ahlers" <rudiahlers@gmail.com> Cc: "XEN Mailing List" <xen-users@lists.xensource.com> Sent: Wednesday, December 03, 2008 10:51 AM Subject: Re: [Xen-users] Help with PAE xen kernel install> Thanks Rudi, > > xm top shows me that I see about 14g. From dom0, ''free'' shows me about > 14g. Also dmesg and ''cat /proc/meminfo''. When I try to start a vm with > more than about 7G of ram, it errors out saying that the resource is busy. > > I''ll look into the link you provided as well - thank you very much. > > Jeff > > ----- Original Message ----- > From: "Rudi Ahlers" <rudiahlers@gmail.com> > To: "Jeff Harr" <jharr@telematch.com> > Cc: "XEN Mailing List" <xen-users@lists.xensource.com> > Sent: Wednesday, December 03, 2008 10:50 AM > Subject: Re: [Xen-users] Help with PAE xen kernel install > > >> On Wed, Dec 3, 2008 at 5:16 PM, Jeff Harr <jharr@telematch.com> wrote: >>> Hi all. This is my first time using this list, and I could really use >>> your >>> help. >>> >>> What I have: >>> CentOS 5.2, 32-bit >>> 4 processors, 24 gig ram >>> >>> What I have been unable to do: >>> Find and install a PAE version of the Xen kernel. >>> >>> Before I installed Xen (via Yum) I had a perfectly working PAE kernel >>> which >>> saw all my memory. Now, I have the following kernel installed: >>> 2.6.18-92.1.18.el5xen >>> >>> Right now, I really don''t want to install by source. >>> >>> Thank you all very much for any help, >>> Jeff >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> >> If I''m not mistaken, the new XEN kernels have PAE built-in already. >> >> How do you know your memory isn''t reporting correctly? How much RAM >> does dmesg, top & xm top show respectively? >> >> I know there was a problem with grub, which needed to be recompiled if >> you added more RAM, or changed the kernel before it would see more >> than 3GB RAM. Maybe this is what you need todo? >> >> I don''t know if this bug is still a problem, >> >> Take a look at this: >> http://blog.softdux.com/everything-todo-with-linux/help-centos-51-xen-kernel-doesnt-see-all-the-ram-in-my-pc.html >> >> It might help? >> >> >> -- >> >> Kind Regards >> Rudi Ahlers > > > _______________________________________________ > 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