Gudjon I. Gudjonsson wrote: > Hi > Has anyone installed RedHat in a Debian Chroot? That would be the > perfect solution for me since I have some commercial software that for > some !"#$%&/ reason does not follow any sensible file hierarchy > standard. If I could install RedHat Enterprise 2 and 4 on the same > Debian machine I would be very happy. The intention is to run > everything later on Debian. > I know I have to install RedHat with its installer but has anyone tried > using it with chroot? > > Thanks > Gudjon > > Ps. I got a private answer to my earlier question. Please don't spend your > time on it. I will send the solution to the list later today.
Hi Gudjon You may want to take a look at 'mock': http://packages.debian.org/search?keywords=mock&suite=all http://fedoraproject.org/wiki/Projects/Mock I've used it for building Fedora and CentOS chroots on a Debian Etch box. The chroots can then be used for either automated or manual RPM package building. I don't know if RHEL can be installed purely with yum like Fedora and CentOS can, and AFAIK this is a requirement when using mock. But I guess packages built for CentOS should work just as well for RHEL, due to their origins. After creating the chroot with mock, I use 'schroot' to set up the environment for manual builds inside the chroot. Perhaps these two links may be helpful as starting points: http://www.ginou.ca/archives/273 http://www.pseudorandom.co.uk/2007/sbuild/ I can also provide some example mock and schroot configurations if necessary. Another solution would be to use virtualization to create a complete RedHat (or whatever) installation running as a virtual machine under your Debian installation. I've used KVM and qemu for this purpose previously, but I've come to the conclusion that chroots are slightly more efficient for my purpose. Good luck! Cheers, Jonas -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]