LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   create ISO with additional files and kickstart (https://www.linuxquestions.org/questions/fedora-35/create-iso-with-additional-files-and-kickstart-615520/)

accarlson 01-22-2008 11:39 AM

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

accarlson 01-23-2008 07:00 AM

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

Regards,

Augusto

lundgren 02-12-2008 10:34 AM

Quote:

Originally Posted by accarlson (Post 3032402)
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

accarlson 02-13-2008 04:14 AM

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

udaypratapyati 02-08-2011 04:19 AM

Quote:

Originally Posted by accarlson (Post 3031521)
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.

prodev05 02-08-2011 04:25 AM

May this would be helpful to you.

accarlson 02-09-2011 05:53 AM

Quote:

Originally Posted by udaypratapyati (Post 4251674)
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


All times are GMT -5. The time now is 11:56 PM.