LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-22-2008, 11:39 AM   #1
accarlson
LQ Newbie
 
Registered: Aug 2007
Posts: 19

Rep: Reputation: 0
Smile create ISO with additional files and kickstart


Hi!

I'm trying to create a CD including kickstart scripts and other files (Fedora 8).

The image I have created boots, but at one point it says that the CD Media is not a "Fedora 8 CD". If the image is create without additional files I can install the system.

What I did:
1)- Get an image and mounted with mount -o loop isofile.iso /mnt
2)- cp -r /mnt/* /tmp/cd/
3)- added the kickstart files to the /tmp/cd/isolinux/ directory and a folder called extra in the CD root dir (/tmp/cd/extras) with additional files (RPMS and scripts).
4)- create the image file with in the CD root directory: mkisofs -o ../cd.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T .

Any idea?

Thanks in advance.

Regards,

Augusto
 
Old 01-23-2008, 07:00 AM   #2
accarlson
LQ Newbie
 
Registered: Aug 2007
Posts: 19

Original Poster
Rep: Reputation: 0
Smile Solved

The files .discinfo and .treeinfo were missing in my new image.

Regards,

Augusto
 
Old 02-12-2008, 10:34 AM   #3
lundgren
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
Question

Quote:
Originally Posted by accarlson View Post
The files .discinfo and .treeinfo were missing in my new image.

Regards,

Augusto
I think I am trying to do the same thing, but with CentOS. At this point, I am just trying to build a touchless install disk with CentOS 5. Once that is working, I will try to add more to it.

You seem to have gotten yours to work. Can you provide some more information?

I put a ks.cfg file in the isolinux directory and built the iso image as you indicated. The disk comes up to the boot prompt, I didn't put in a any args, just pressed return hoping it would detect the ks.cfg file and use it. Unfortunately it did not. The machine continued into the standard boot screen. How do you get it to detect and use the ks file? Do I need to specify ks on the boot line?

Thanks!

--
Andrew
 
Old 02-13-2008, 04:14 AM   #4
accarlson
LQ Newbie
 
Registered: Aug 2007
Posts: 19

Original Poster
Rep: Reputation: 0
Add the ks.cfg in the isolinux dir did not work for me. The correct place to put is in the root directory of the CD/DVD. To be able to access from the boot menu, you have to type a parameter to the boot:

ks=cdrom:/ks.cfg

or you can add it to the isolinux.cfg file. In my isolinux.cfg file I have another label:

label linux
menu label ^Install from kickstart
kernel vmlinuz
append initrd=initrd.img ks=cdrom:/ks.cfg

Let me know if t worked!

Regards,

Augusto
 
Old 02-08-2011, 04:19 AM   #5
udaypratapyati
LQ Newbie
 
Registered: Feb 2011
Posts: 17

Rep: Reputation: 0
Quote:
Originally Posted by accarlson View Post
Hi!

I'm trying to create a CD including kickstart scripts and other files (Fedora 8).

The image I have created boots, but at one point it says that the CD Media is not a "Fedora 8 CD". If the image is create without additional files I can install the system.

What I did:
1)- Get an image and mounted with mount -o loop isofile.iso /mnt
2)- cp -r /mnt/* /tmp/cd/
3)- added the kickstart files to the /tmp/cd/isolinux/ directory and a folder called extra in the CD root dir (/tmp/cd/extras) with additional files (RPMS and scripts).
4)- create the image file with in the CD root directory: mkisofs -o ../cd.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T .

Any idea?

Thanks in advance.

Regards,

Augusto
Hi can u pls let me know how u created the CD in detail.
 
Old 02-08-2011, 04:25 AM   #6
prodev05
Member
 
Registered: Jul 2009
Location: Planet Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
May this would be helpful to you.
 
Old 02-09-2011, 05:53 AM   #7
accarlson
LQ Newbie
 
Registered: Aug 2007
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by udaypratapyati View Post
Hi can u pls let me know how u created the CD in detail.
I do not really remember the steps. I used kickstart once and never more. Probably they have some new features and also the GUI interface is improved. Take a look at the official docs (http://fedoraproject.org/wiki/Anaconda/Kickstart). Hope this help. Sorry to no be able to give detailed information.

Best regards,

Augusto
 
  


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
Can't create additional partition using diskdruid.... chickenjoy Linux - Newbie 3 09-17-2007 08:55 AM
Create ISO files from audio, data and video cds Bateman Linux - General 4 06-19-2005 03:02 AM
create your own ISO image files biotek1 Linux - General 4 10-27-2003 01:59 PM
trying to create additional partitions rmuhammad Linux - Hardware 2 05-16-2003 09:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:35 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration