PDA

View Full Version : How to create your own Fedora Spin ?


CD-RW
3rd July 2011, 08:38 PM
Is there a guide on how to make your own Fedora spins please?

What do I need to create a bootable Fedora DVD spin?

TIA

cymbaline42
3rd July 2011, 08:56 PM
See https://fedoraproject.org/wiki/Spins_Process#Creating_a_Spin

CD-RW
3rd July 2011, 09:19 PM

OK. Thanks for that link Cym :)

beaker_
3rd July 2011, 09:21 PM
Umm just a guess but I think you're looking for this first:
http://fedoraproject.org/wiki/How_to_create_and_use_a_Live_CD

CD-RW
3rd July 2011, 09:27 PM
Perhaps a Fedora Remix would be more appropriate for my needs !

Any sugs on that please?

---------- Post added at 09:27 PM ---------- Previous post was at 09:23 PM ----------

Umm just a guess but I think you're looking for this first:
http://fedoraproject.org/wiki/How_to_create_and_use_a_Live_CD

Yes, that's what I want to do. Make my own Fedora bootable DVD with my prefered applications on it.

Thanks for that link Beaker :)

unreachable24
15th August 2011, 07:33 AM
hey
i m a newbie to fedora.. installed fedora 15 on my laptop and want to create a spin for myself so as not to install all softwares again after fresh install..

but when using this link

http://fedoraproject.org/wiki/How_to_create_and_use_a_Live_CD

i m getting below output..
wats the problem cn u help..



[root@harsh Downloads]# livecd-creator --config=/usr/share/doc/livecd-tools-15.7/livecd-fedora-desktop.ks --fslabel=Fedora-LiveCD --cache=/var/cache/live
Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 187, in <module>
sys.exit(main())
File "/usr/bin/livecd-creator", line 145, in main
ks = imgcreate.read_kickstart(options.kscfg)
File "/usr/lib/python2.7/site-packages/imgcreate/kickstart.py", line 60, in read_kickstart
e.args[0]))
imgcreate.errors.KickstartError: Failed to read kickstart file '/usr/share/doc/livecd-tools-15.7/livecd-fedora-desktop.ks' : Local file does not exist: /usr/share/doc/livecd-tools-15.7/livecd-fedora-desktop.ks

any other GUI softwares like remastersys.. (Other then revisor its not working on my system.)

leigh123linux
15th August 2011, 07:46 AM
Try

livecd-creator --config=/usr/share/spin-kickstarts/fedora-livecd-desktop.ks --fslabel=Fedora-LiveCD --cache=/var/cache/live

unreachable24
15th August 2011, 01:13 PM
[root@harsh harsh]# livecd-creator --config=/usr/share/spin-kickstarts/fedora-livecd-desktop.ks --fslabel=Fedora-LiveCD --cache=/var/cache/live
/usr/lib/python2.7/site-packages/pykickstart/commands/partition.py:251: UserWarning: A partition with the mountpoint / has already been defined.
warnings.warn(_("A partition with the mountpoint %s has already been defined.") % pd.mountpoint)


this was the output when i tried

livecd-creator --config=/usr/share/spin-kickstarts/fedora-livecd-desktop.ks --fslabel=Fedora-LiveCD --cache=/var/cache/live

ryptyde
15th August 2011, 01:39 PM
I have had the same the same message and left with a blinking cursor and no activity showing. If you open System Monitor and under Resources>Network History you will see that livecd-creator is working and downloading packages for the build. I'm assuming you are using F15 as F14 and earlier would show the build process in the terminal whereas F15 just shows a blinking cursor until the packages are d'loaded and then shows activity as it builds the iso.

You may have to wait a while for the build to complete depending on your connection speed, could take an hour or more. Another way to check if the packages are being d'loaded is to check "var/cache/live/fedora/packages" and see if it is being populated. :)

phil

unreachable24
15th August 2011, 02:29 PM
yup!
thanks for quick reply..
i got it
after posting u this i again went to terminal and found it active...
now i will check it by using it on live-usb

one more question... cn we install it on a new (some other PC or laptop) system??

thanks leigh123linux and ryptyde..

---------- Post added at 06:59 PM ---------- Previous post was at 06:21 PM ----------

I tried the livecd created by above command but this didn't created a live cd for my system (spin)
it just created the simple fedora live cd without any additional packages which i installed

i want to have all my packages on my livecd

ryptyde
15th August 2011, 03:11 PM
You are right the livecd that is created is the same as the release livecd except that it would have newer packages installed as of the time of its creation. If you want to create a livecd with added packages you will have to edit the .ks file that is used to create the livecd to add additional packages eg: tuxpaint, rawstudio, xaos, etc. If you plan on using third party packages from lets say rpmfusion-nonfree then you will have to add that repo to the list in the .ks file. :)

phil

EDIT: the livecd can be used on other computers of the same architecture. You can use a 32bit spin on a 64bit but not vice versa.

unreachable24
15th August 2011, 05:01 PM
ok..
i will give it a try..
may be tomorrow..

anyway thanks phil

ryptyde
17th August 2011, 04:47 PM
ok..
i will give it a try..
may be tomorrow..

anyway thanks phil

To find the packages that are installed you can open a terminal and enter:
"yum list installed" but first open your terminal go to "Edit" then "Scrolling"
then place a check mark in the "Unlimited" box. Exit the the terminal then do
the "yum list installed". Then you can select, copy and paste the output to your
text editor to view at any time.

Now a good way to edit your .ks files would be to copy them to your Home directory.
The files are located in /usr/share/spin-kickstarts just copy the whole "spin-kickstarts"
to your home directory, that way the originals stay intact in case of a editing error.
You can add the extra packages in "fedora-live-base.ks" and the url of the third party
repos eg: rpmfusion. :)

phil

unreachable24
18th August 2011, 06:49 PM
I just want to install all plugins for movie players which i downloaded , gimp and virtualbox (with all extra packages).
which packages i have to include in my .ks file..

---------- Post added at 11:19 PM ---------- Previous post was at 09:52 PM ----------

what does fedora-install-fedora.ks file in /usr/share/spin-kickstarts consists of..??
i think there are many packages there.. bt i cant get y @,# are used in front of some of them..??