Fedora Linux Support Community & Resources Center
  #1  
Old 22nd February 2012, 05:29 PM
ericl42 Offline
Registered User
 
Join Date: May 2008
Posts: 11
windows_7firefox
Help Creating Spin - Need Additional Customization

I would like to create a custom Fedora ISO. I have looked into using a few tools such as revisor, clonesys, etc. but haven't had much luck yet. Below are the general steps I've used when using bootcdwrite on Debian and was hoping their is a similar process for Fedora.

1. Install Fedora
2. Install new packages, change some files, modify iptables, etc.
3. Run a program to copy the running image into a bootable ISO.
4. Be able to boot the new ISO and act like it's a new setup (ask for DHCP info, password info, etc.) but once that is done, it will have all of my custom files and configurations.

Everything I've read as far as spins goes, you can only really customize what packages are installed. I want to take this level of customization a little higher but I'm not sure how to do this. Any help would be greatly appreciated.
Reply With Quote
  #2  
Old 22nd February 2012, 07:22 PM
Colors Offline
Registered User
 
Join Date: Dec 2011
Location: Urziceni, Romania
Posts: 101
linuxfirefox
Re: Help Creating Spin - Need Additional Customization

I'm not sure if that is what you've asked but here is what you need:

1. Install livecd-tools
# yum install livecd-tools

2. Create a kickstart configuration file i.e. f16.cfg. You can do that with system-config-kickstart
# yum install system-config-kickstart

3. Create the image
# livecd-creator --config /home/your_name/f16.cfg --cache=/home/your_name/16/i686/ --fslabel=f16

The iso image will be in /root.

4. Write iso image on DVD or USB Stick
(use DVD ReWritable)
# growisofs -dvd-compat -Z /dev/dvd=f16.iso

or

# livecd-iso-to-disk --format --reset-mbr --noverify --overlay-size-mb 512 --unencrypted-home --home-size-mb 2160 f16.iso /dev/sdb

This from above is an example

For USB you CAN have a persistent /home/your_name and customised settings. In the example 512 MB will be used for system (critical update, install new packages) and the rest is for your home. Check the letter of your usb stick.

5. Boot from DVD (USB Stick), enter into your /home/your_name/Desktop and run the installation script.
Reply With Quote
  #3  
Old 22nd February 2012, 08:01 PM
ericl42 Offline
Registered User
 
Join Date: May 2008
Posts: 11
windows_7firefox
Re: Help Creating Spin - Need Additional Customization

Thank you for that information. So basically with "--cache=/home/your_name/16/i686/" portion of the command your saying to copy that section of the current running machine to the ISO?


What would I do if I wanted some of the following files?

- /etc/sysconfig/iptables
- /etc/rsyslog.conf
- /etc/rc.local
- Specific applications to start on run time, etc
Reply With Quote
  #4  
Old 22nd February 2012, 10:33 PM
sea's Avatar
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,600
linuxfirefox
Re: Help Creating Spin - Need Additional Customization

You could also do an install onto any usb-stick that allows an OS to be installed (size).
Just ignore the boot menu entries, as only the first one will boot onto the usb.

As another theoretical idea, i know there are filemanagers that alow to edit iso files.
Have no idea what their names might be, edit the iso file and replace existing files with modified ones, previous to burning them on cd/dvd.
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Reply With Quote
  #5  
Old 23rd February 2012, 07:36 AM
Colors Offline
Registered User
 
Join Date: Dec 2011
Location: Urziceni, Romania
Posts: 101
linuxfirefox
Re: Help Creating Spin - Need Additional Customization

Quote:
Originally Posted by ericl42 View Post
I would like to create a custom Fedora ISO. I have looked into using a few tools such as revisor, clonesys, etc. but haven't had much luck yet. Below are the general steps I've used when using bootcdwrite on Debian and was hoping their is a similar process for Fedora.

1. Install Fedora
2. Install new packages, change some files, modify iptables, etc.
3. Run a program to copy the running image into a bootable ISO.
4. Be able to boot the new ISO and act like it's a new setup (ask for DHCP info, password info, etc.) but once that is done, it will have all of my custom files and configurations.

Everything I've read as far as spins goes, you can only really customize what packages are installed. I want to take this level of customization a little higher but I'm not sure how to do this. Any help would be greatly appreciated.
This is not the same way i wrote especially to this point: "3. Run a program to copy the running image into a bootable ISO."

For 2. respective 3. demads you must configure the kickstart configuration file (read manpages).

livecd-creator will download and create iso according with your kickstart configuration file. The --cache switch is for saving the downloaded packages to your home directory thus you will save time and internet band to fine tune your kickstart configration file.

If you manage to create a live and stable iso image then you can run a live session or install from it to hard drive.
Reply With Quote
Reply

Tags
additional, creating, customization, spin

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with creating fedora spin , Cannot retrieve repository metadata (repomd.xml) sijothakadiyel Fedora Spins & Remixes 0 10th December 2011 05:10 AM
Live upgrade F13 to F14 Spin to Spin tparker Installation and Live Media 4 11th February 2011 06:30 PM
Errors while creating fedora spin. sayantandas Fedora Spins & Remixes 7 11th September 2010 06:36 PM
Additional Network card, or additional IP? bghayad Servers & Networking 0 20th January 2010 05:59 PM
Creating a custom spin eXDee Using Fedora 0 8th June 2008 12:57 AM


Current GMT-time: 11:26 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat