LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 02-24-2007, 08:16 AM   #1
jakev383
QmailToaster Developer
 
Registered: Dec 2005
Location: Burlington, NC
Distribution: CentOS, Voyage, Debian, Fedora
Posts: 220

Rep: Reputation: 31
Creating a custom Cent kickstart CD


I'm trying to create a custom Cent installation CD that will install just the RPMs I need and run a script after a reboot to compile some source code for me.
I've been following the How-To here (http://sipx-wiki.calivia.com/index.p...ipX_on_CentOS), and everything was going great until I got to the "Create repodata using createrepo" section. It failed with this:
[root@home QMT]# createrepo -v --baseurl="media://1156364963.862322" -g /QMT/CentOS/base/comps.xml /QMT/CentOS/RPMS/
Error: groupfile /QMT/CentOS/base/comps.xml cannot be found.

And the file is there. The serial for the media is what was found in .discinfo like it suggested.
Has anyone else run into similar issues or can offer some suggestions?
Thanks in advance!
 
Old 02-25-2007, 06:37 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,310
Blog Entries: 54

Rep: Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860
And you are in the HOWTO equivalent of the "cd1" directory?
 
Old 02-25-2007, 11:20 AM   #3
jakev383
QmailToaster Developer
 
Registered: Dec 2005
Location: Burlington, NC
Distribution: CentOS, Voyage, Debian, Fedora
Posts: 220

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by unSpawn
And you are in the HOWTO equivalent of the "cd1" directory?
Tried both ways. The QMT dir is the the equivalent of the cd1 dir from the instructions.
 
Old 02-25-2007, 05:09 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,310
Blog Entries: 54

Rep: Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860
Maybe this http://lists.rpmforge.net/pipermail/...er/000461.html is a clue?
 
Old 02-25-2007, 07:25 PM   #5
jakev383
QmailToaster Developer
 
Registered: Dec 2005
Location: Burlington, NC
Distribution: CentOS, Voyage, Debian, Fedora
Posts: 220

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by unSpawn
Maybe. I'll need to dig some more and do some more in-depth testing. For the moment I have the install ISO working even though I skipped that step.
Off hand, do you know how to make the kickstart ask for the IP information during installation? I know I can supply it all in the kickstart file itself, or select DHCP, but is there a way to have it ask the user for this info like it does for the root password?
Thanks again for the link.
 
Old 02-26-2007, 07:59 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,310
Blog Entries: 54

Rep: Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860
Maybe. I'll need to dig some more and do some more in-depth testing
Well, IIRC mainly it says createrepo doesn't work with full paths and moving it to a subdir should work.


Off hand, do you know how to make the kickstart ask for the IP information during installation?
Sorry, can't help you with that.
 
Old 02-27-2007, 06:19 AM   #7
jakev383
QmailToaster Developer
 
Registered: Dec 2005
Location: Burlington, NC
Distribution: CentOS, Voyage, Debian, Fedora
Posts: 220

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by unSpawn
Maybe. I'll need to dig some more and do some more in-depth testing
Well, IIRC mainly it says createrepo doesn't work with full paths and moving it to a subdir should work.


Off hand, do you know how to make the kickstart ask for the IP information during installation?
Sorry, can't help you with that.
Thanks. I played with createrepo some more trying different things but decided that it wasn't that high of an issue for me - my install ISO is working, so I won't try and fix it
Thanks again for your help. And from what I can tell, you can either set the network interface as DHCP or static in the kickstart file. Nothing else. There used to be an --option config, but it's been depreciated and no longer functions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create custom install CD (updated rpms, kickstart, etc.)? Arodef Linux - Software 6 12-17-2007 02:11 PM
creating a read/write file system with kickstart triley Linux - General 1 12-29-2005 02:36 AM
Creating a custom process id cbutcher Linux - General 2 04-29-2005 06:59 AM
custom rpm fails in kickstart, works normally smachtmes Linux - Software 0 02-01-2005 05:07 PM
creating custom locale jinujose Linux - General 1 10-21-2003 12:50 AM


All times are GMT -5. The time now is 07:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration