Luis Alberto Reyna
2005-Dec-20 16:10 UTC
[Xen-users] Install and execute from CD of installation
I have Xen runnig fine under Fedora Core 4. But I need execute under Xen a virtual machine with Red Hat 5.2 (an older version). Because the old version of Informix need the old kernel 2.0.36 and glibc 2.0.7. This version of informix fails in the last versions of Linux. My question is: ¿How can i install RedHat 5.2 on DomU from a iso image (or CD)? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Bill Church
2005-Dec-20 18:07 UTC
Re: [Xen-users] Install and execute from CD of installation
Luis, That''s a tough one. I think your best bet may be to install on another machine, tar up the installation, then put it in Xen. Don''t forget, of course, to copy over your DomU kernel modules. There are probably other issues you''ll run into as well, 2.6 kernel will probably be too much for it, I''ve never installed a newer kernel on a distro that old. If I recall correctly that was Kernel 2.0? or did they have a 2.2 kernel for it? It''s been a while since I was on 5.2 but I don''t think they had any concept of LVM, ext3 so I don''t think you would be successful in installing it on the Xen machine outside of Xen on a LVM LV or anything. Let me see if I can dig up a copy and look at the installer, it wasn''t that sophisticated back then, it may be a matter of just installing some packages with RPM and copying over the DomU kernel modules. **after much searching** Okay, can''t find 5.2 anywhere in my CD collection ( I did have it ), It doesn''t look like it''s on the net anywhere either. If someone can find it, I''m sure I can script an install from Dom0 into an LVM LV or something, shouldn''t be too tough. I won''t need the CD, just an FTP site somewhere. I''m sure someone is still mirroring that? -Bill On Tue, 2005-12-20 at 13:10 -0300, Luis Alberto Reyna wrote:> I have Xen runnig fine under Fedora Core 4. > But I need execute under Xen a virtual machine with Red Hat 5.2 (an older > version). > Because the old version of Informix need the old kernel 2.0.36 and glibc > 2.0.7. > This version of informix fails in the last versions of Linux. > My question is: > ¿How can i install RedHat 5.2 on DomU from a iso image (or CD)? > > > > _______________________________________________ > 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
René Pfeiffer
2005-Dec-21 10:52 UTC
Re: [Xen-users] Install and execute from CD of installation
On Dec 20, 2005 at 1307 -0500, Bill Church appeared and said:> [...] > That''s a tough one. I think your best bet may be to install on another > machine, tar up the installation, then put it in Xen. Don''t forget, of > course, to copy over your DomU kernel modules. There are probably other > issues you''ll run into as well, 2.6 kernel will probably be too much for > it, I''ve never installed a newer kernel on a distro that old. If I > recall correctly that was Kernel 2.0? or did they have a 2.2 kernel for > it?RH 5.2 runs on kernel 2.0.x. I had two legacy servers running this distro. You can run older distros with a newer kernel, if you are lucky and you don''t have any software that relies on older features (i.e. bugs ;). I''d try to make a backup of the server with tar and copy it to your Xen system. The DomU kernels don''t need that much modules or features. You can even build a monolithic kernel without modules since the Dom0 is dealing with the drivers. This saves you from upgrading the mod-utils package.> It''s been a while since I was on 5.2 but I don''t think they had any > concept of LVM, ext3 so I don''t think you would be successful in > installing it on the Xen machine outside of Xen on a LVM LV or > anything.You can always run the DomU without ext3 or LVM if you use the partition or file backend. Best, Lynx. -- "From the delicate strands, between minds we weave our mesh: a blanket to warm the soul." --- Lady Deirdre Skye (SMAC) --- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Bill Church
2005-Dec-21 14:26 UTC
Re: [Xen-users] Install and execute from CD of installation
Whoops, meant reply to all :> On Wed, 2005-12-21 at 11:52 +0100, René Pfeiffer wrote: > > On Dec 20, 2005 at 1307 -0500, Bill Church appeared and said: > > > [...] > > > That''s a tough one. I think your best bet may be to install on another > > > machine, tar up the installation, then put it in Xen. Don''t forget, of > > > course, to copy over your DomU kernel modules. There are probably other > > > issues you''ll run into as well, 2.6 kernel will probably be too much for > > > it, I''ve never installed a newer kernel on a distro that old. If I > > > recall correctly that was Kernel 2.0? or did they have a 2.2 kernel for > > > it? > > > > RH 5.2 runs on kernel 2.0.x. I had two legacy servers running this > > distro. You can run older distros with a newer kernel, if you are lucky > > and you don''t have any software that relies on older features (i.e. bugs > > ;). I''d try to make a backup of the server with tar and copy it to your > > Xen system. The DomU kernels don''t need that much modules or features. > > You can even build a monolithic kernel without modules since the Dom0 is > > dealing with the drivers. This saves you from upgrading the mod-utils > > package. > > Yep, this was my thinking however I always try to keep my DomUs as > compatible to the distro as possible but obviously that''s not always > possible. > > > > It''s been a while since I was on 5.2 but I don''t think they had any > > > concept of LVM, ext3 so I don''t think you would be successful in > > > installing it on the Xen machine outside of Xen on a LVM LV or > > > anything. > > > > You can always run the DomU without ext3 or LVM if you use the partition > > or file backend. > > What I meant by that was, on your Xen host boot to the CD and install > Red Hat 5.2 on another partition or LVM. This is how I would normally do > it for a distro that I couldn''t bootstrap with yum or rpm. Then boot > back into Xen and run it as a DomU. Since most everyone here seems to > run LVM that probably wouldn''t work out so well. :) However, once it''s > installed in an LVM LV as like ext2 the DomU doesn''t care because you''re > exporting that LV as /dev/hda? etc... > > -Bill_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users