Sugar Creation Kit: Difference between revisions

Satellit (talk | contribs)
Sugar Clone: Build Your Own Remix
Satellit (talk | contribs)
m Build Your Own Remix: working save
Line 204: Line 204:


====Build Your Own Remix====
====Build Your Own Remix====
:''' The following is Modified from: https://fedoraproject.org/wiki/Talk:How_to_create_and_use_a_Live_CD'''
== Introduction ==
This page explains how to make a  custom-content Live CD or DVD on Fedora-based systems including derived  distributions such as RHEL, CentOS and others.
If you simply want to burn a pre-made  ISO to a disc, visit http://fedoraproject.org/en/get-fedora to download a LiveCD or LiveDVD,  then see the [http://docs.fedoraproject.org/install-guide/ install guide] or [http://docs.fedoraproject.org/readme-burning-isos/ burning how-to] for further  instructions.
See  the [[FedoraLiveCD | project wiki]] for more details. Discussion of this  project takes places at http://admin.fedoraproject.org/mailman/listinfo/livecd.
== Instructions ==
The basic workflow for creating a  remix is:
#  Create ''/ Modify'' a kickstart file that specifies the packages you want installed  on your remix, along with special settings you want to tweak.
#  Run that  kickstart file through livecd-creator, which will pull in the  packages  and compose an .iso, which you can then burn to CD.
...that's it! We will walk you through these steps  below.
=== Install the necessary software ===
To create a live image, the '''livecd-creator''' tool is used. Super user privileges are needed. The tool is more or less self-documenting, use the ''--help'' option to see options.
The '''livecd-creator''' tool is part of the <code>livecd-tools</code> package.  If it is not installed on your system, add it with:
su -c 'yum install livecd-tools spin-kickstarts'
If you are interested in localized live cd files, install also '''l10n-kickstarts'''.
su -c 'yum install l10n-kickstarts'
=== Set up your environment ===
Now we'll set up the place you'll be building your remix's image file in. We assume you're running a recent version of Fedora.
Set SELinux in permissive mode.
su -c ‘setenforce 0’
Copy the kickstart files you've Downloaded to your Desktop.
gedit /usr/share/spin-kickstarts/
save to your Desktop
Edit one of the .ks files you just copied.
=== Create''/Modify'' a kickstart file ===
# Create an empty text document in  the editor of your choice.
# Import the kickstart file you  chose above:
<code>%include  fedora-live-base.ks</code>
# Create the package manifest section  and add your favorite packages:
<code>
%packages
foo
baz
bar
%end
</code>
# Congrats -- you're done!
=== Build the image ===
The build process will take some  time, as well as space and bandwidth.
Parts of this page were based on Rahul Sundaram's article [http://www.linuxforu.com/how-to/roll-out-a-fedora-remix/ Roll Out A Fedora Remix].
.........
====References/Links====
*http://www.linuxforu.com/how-to/roll-out-a-fedora-remix/
*http://www.linuxforu.com/how-to/roll-out-a-fedora-remix/
*https://fedoraproject.org/wiki/Talk:How_to_create_and_use_a_Live_CD
*https://fedoraproject.org/wiki/Talk:How_to_create_and_use_a_Live_CD
*https://fedoraproject.org/wiki/How_to_create_and_use_a_Live_CD
*https://fedoraproject.org/wiki/How_to_create_and_use_a_Live_CD