fp-wiki>ImportUser (Imported from MoinMoin) |
m (1 revision(s)) |
||
(No difference)
|
Latest revision as of 16:33, 24 May 2008
As in Fedora 7 the official live images for the KDE spin are lacking support for different languages than english. This is due to the limited space available on the version for i686. This Howto will help you to create your own localized version in the same way the official one is created.
What do you need?
- Fedora 8 already installed
- livecd-tools (available in the official repository)
- at least 4 gigs of free space at /var/tmp (or a different location)
- a fast internet connection will reduce the time to spin
- a fast cpu will also reduce the time to spin
Preparations
First you have to install the livecd-tools via yum or pirut:
The next step will be to prepare a additional kickstart file with your language settings. A template is available here: File:SebastianVahl F8(2d)KDE(2d)localized_livecd-fedora-kde-language-template.ks livecd-fedora-kde-language-template.ks]
The template itself has to be placed as root in /usr/share/livecd-tools/ .
Changing the language settings
The first step is to change to globally used language on the live images. A list of all available languages is shown by this command:
Pick the locale you want to use and replace it in the kickstart.
lang it_IT.utf8
Changing the keyboard type
The second step is to change the used keyboard type globally. A list of all available keyboard types is provided by this command (as root):
Pick the keyboard type you want to and replace it in the kickstart, eg:
keyboard dk-latin1
Changing the timezone
The last step for changing the default configuration will be to change the timezone. If you're unsure what the exact term for your timezone is, have a look in the subdirectories of /usr/share/zoneinfo/ . You probably have to use the name including the directory where it is located. Examples:
- Berlin:
timezone Europe/Berlin
- Paris:
timezone Europe/Paris
- Tokyo:
timezone Asia/Tokyo
Changing the package set
The easiest way to include all the needed packages for your language is to use include the specifig group:
- German:
@german-support
- French
@french-support
- Brazilian:
@brazilian-support
All available languages groups are listed in the template. Just remove the # in front of your language to include it.
If you want to create a Live CD for i686 you also need to remove some packages to free some space. The official image is around 698 megs. So your additional language packages wouldn't fit on one CD. If you want to create an image for x86_64 you don't need this and could proceed with the next step. The removal is defined with a starting - followed by the name of the package or group. To find the right packages is a bit tricky and you may need more than one attempt for this. The following list is only a proposal, you have to decide this on your own:
-baekmuk-ttf-fonts-* -cjkunifonts-uming -jomolhari-fonts -kacst-fonts -lohit-fonts-* -paktype-fonts -sazanami-fonts-gothic -krusader -koffice-krita
Creating your localized spin
The last step would be to create you localized spin. You have to be root to perform this:
It's obvious to replace <language> with your language (e.g. spanish) and <arch> with the architectur of your image (e.g. i686).
If you don't have enough free space in /var/tmp you could use the switch --tmpdir to define an alternate directory. Remember: You will also need about 4 gigs of free space on this partition:
Now you will see all the magic of livecd-creator. After some time the completed iso image will be available at your current directory with the fslabel you've choosed.