List Info

Thread: Re: please help, CentOS 5.1 kickstart installation looking for stuff from CD2???




Re: please help, CentOS 5.1 kickstart installation looking for stuff from CD2???
country flaguser name
South Africa
2008-03-30 05:44:14
Pablo Iranzo Gómez wrote:
> 	Rudi,
>
> On Sat, 29 Mar 2008, Rudi Ahlers wrote:
>   
>> Yes, I just copied cd.iso to a folder and removed a
few things I didn't
>> want. Later on I'm going to add a few rpm's which I
want to the
>> kickstart to copy to the installed system.
>> I currently have all the files on a SME 7.3 server
(which runs on a
>> very  modified version of CentOS 4.6) so I don't
know if the createrepo
>> command will work, or actually do what it's
supposed todo.
>>     
>
> 	You'll need  createrepo
updates files in repodata/ that are used
> during installation.
>   
Would this still work if the only other machine I have to my
disposal to 
setup the ISO (where I'm currently creating the kickstart
file & ISO 
file) is on a different OS & architecture?
For example, I'm writing & testing a kickstart for
CentOS 5.1 x64, and I 
only have 1 64bit PC at this stage. But our LAN server, as I
said, runs 
on SME 7.3, which is CentOS 4.6 i386 - will this make any
difference?
>   
>> Is there any way of sorting this out manually? I'm
happy to edit the
>> files for the CD
>>     
>
> 	What I would do personally, if I were at your
situation would be
> to use reposync (in yum-utils) to take care of syncing
needed packages,
> for example:
>
> 	I would need joe, mc, screen, ssh, so I would ask
reposync to sync
> from a CentOS mirror those packages (and reposync will
also download all
> needed dependencies). In order to have a more real
setup, I will install a
> system with just:
>
> 	%packages --nobase to have the minimal files that Core
needs,
> then will rpm -qa to know which ones are needed and add
them to my
> personal preference list in order to reposync to get
the rest.
>
> 	At the end, reposync will have setup for me a copy of
that repo
> with just what I need and it's dependencies and run
createrepo on them...
> 	(That's what cobbler does ;) )
>
> 	Regards
> 	Pablo
>   
Well, this is the thing. I already use "%packages
--nobase " in my 
kickstart file, which worked fine previously, without
wanting to install 
this particular rpm, but now it's looking for it on CD2.
odd

-- 

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com
for Linux or other technical stuff, or visit http://www.WebHosting
Talk.co.za for Web Hosting stuff



_______________________________________________
Kickstart-list mailing list
Kickstart-listredhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list


Re: please help, CentOS 5.1 kickstart installation looking for stuff from CD2???
user name
2008-03-30 06:21:21
Rudi Ahlers wrote:
> Pablo Iranzo G�mez wrote:
>>     Rudi,
>>
>> On Sat, 29 Mar 2008, Rudi Ahlers wrote:
>>  
>>> Yes, I just copied cd.iso to a folder and
removed a few things I didn't
>>> want. Later on I'm going to add a few rpm's
which I want to the
>>> kickstart to copy to the installed system.
>>> I currently have all the files on a SME 7.3
server (which runs on a
>>> very  modified version of CentOS 4.6) so I
don't know if the createrepo
>>> command will work, or actually do what it's
supposed todo.
>>>     
>>
>>     You'll need  createrepo
updates files in repodata/ that are used
>> during installation.
>>   
> Would this still work if the only other machine I have
to my disposal to 
> setup the ISO (where I'm currently creating the
kickstart file & ISO 
> file) is on a different OS & architecture?

Er. Windows?

> For example, I'm writing & testing a kickstart for
CentOS 5.1 x64, and I 
> only have 1 64bit PC at this stage. But our LAN server,
as I said, runs 
> on SME 7.3, which is CentOS 4.6 i386 - will this make
any difference?

Probably AFAIk C4
repos work with C5.

I don't believe the architecture is important, but the
version of 
createrepo probably is. createrepo is noarch, so it can be
installed 
anywhere you like, assuming you have the tools (and on SME I
expect you 
have)
rpm2cpio <createrepo....rpm | cpip --extract -d

You could use that technique to put createrepo into an area
within your 
local mirror and so, if needs be, have several different
versions for 
several different repos.




Failing all else, a C5 Live CD (or FC6 Live CD) should have
all you need 
to createrepo; simply export rw from the SME system, mount
on the livecd 
and have at it.




-- 

Cheers
John

-- spambait
1aaaaaaacoco.merseine.nu  Z1aaaaaaacoco.merseine.nu
-- Advice
http://webfoo
t.com/advice/email.top.php
ht
tp://www.catb.org/~esr/faqs/smart-questions.html
http://support
.microsoft.com/kb/555375

You cannot reply off-list

_______________________________________________
Kickstart-list mailing list
Kickstart-listredhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )