[tools] mrepo, CentOS5, kickstart and PXE
Ray Van Dolson
rvandolson at esri.com
Wed May 28 18:32:00 CEST 2008
On Wed, May 28, 2008 at 09:26:24AM -0700, Filipe Brandenburger wrote:
> On Wed, May 28, 2008 at 11:27 AM, Ray Van Dolson <rvandolson at esri.com> wrote:
> > On Wed, May 28, 2008 at 08:04:23AM -0700, Filipe Brandenburger wrote:
> >> Do I have to download "isos" (instead of "os") to be able to use kickstart?
> >
> > This is how I typically do it, and to be honest I haven't tried
> > otherwise. It may be possible to pull in your comps.xml file from
> > elsewhere....
>
> Ok, so how do I download isos for CentOS5 for both i386 and x86_64? I
> saw that i386 is 6 CDs while x86_64 is 7 CDs. I saw that the examples
> say ?of6, but in my case I don't know if that would work. Or should I
> just download the DVD isos? If anyone has a working setup for CentOS5
> both i386 and x86_64, could you tell me what your config file looks
> like?
[centos5]
name = CentOS $release ($arch)
release = 5
arch = i386 x86_64
metadata = repomd repoview
iso = CentOS-$release-$arch-bin-?of?.iso
updates = http://altruistic.lbl.gov/mirrors/centos/$release/updates/$arch/RPMS/
testing = http://dev.centos.org/centos/5/testing/$arch/RPMS/
extras = http://mirror.centos.org/centos/5/extras/$arch/
Here is the pertinent part of mrepo.conf:
[main]
srcdir = /install/mrepo
wwwdir = /var/www/mrepo
So, in /install/mrepo/centos5-i386/:
-rw-rw-r-- 2 root lxadmin 655187968 Nov 24 2007 CentOS-5.1-i386-bin-1of6.iso
-rw-rw-r-- 2 root lxadmin 662300672 Nov 24 2007 CentOS-5.1-i386-bin-2of6.iso
-rw-rw-r-- 2 root lxadmin 647575552 Nov 24 2007 CentOS-5.1-i386-bin-3of6.iso
-rw-rw-r-- 2 root lxadmin 666294272 Nov 24 2007 CentOS-5.1-i386-bin-4of6.iso
-rw-rw-r-- 2 root lxadmin 661829632 Nov 24 2007 CentOS-5.1-i386-bin-5of6.iso
-rw-rw-r-- 2 root lxadmin 553809920 Nov 24 2007 CentOS-5.1-i386-bin-6of6.iso
And in /install/mrepo/centos5-x86_64/:
-rw-rw-r-- 2 root lxadmin 656214016 Nov 24 2007 CentOS-5.1-x86_64-bin-1of7.iso
-rw-rw-r-- 2 root lxadmin 668540928 Nov 24 2007 CentOS-5.1-x86_64-bin-2of7.iso
-rw-rw-r-- 2 root lxadmin 668006400 Nov 24 2007 CentOS-5.1-x86_64-bin-3of7.iso
-rw-rw-r-- 2 root lxadmin 663539712 Nov 24 2007 CentOS-5.1-x86_64-bin-4of7.iso
-rw-rw-r-- 2 root lxadmin 666425344 Nov 24 2007 CentOS-5.1-x86_64-bin-5of7.iso
-rw-rw-r-- 2 root lxadmin 663945216 Nov 24 2007 CentOS-5.1-x86_64-bin-6of7.iso
-rw-rw-r-- 2 root lxadmin 458092544 Nov 24 2007 CentOS-5.1-x86_64-bin-7of7.iso
Then you should be able to run mrepo -ugvvv centos5.
You *could* also download the DVD iso, but beware that Apache < 2.2
only supports file sizes up to 2GB (I think).
Ray
More information about the tools
mailing list