tgds.net

WARNING:Our responsability cannot be engaged if you proceed with these instructions. A finished product will be available for end users at a later date.

epiaix

A Fedora Core 4 based live CD with a multimedia bias

In the beginning was the download...

First of all we need Fedora Core 4. I did a clean install from my copy of the CD-ROM ISOs downloaded via FTP. Make sure you install anaconda and anaconda-runtime and then do a yum update. 10 hours later (20 Mb aDSL...) Fedora Core 4 is up to date with a shiney new kernel. I copied all the new RPMs from /var/cache/yum/updates-released to my FC4 Kadischi repository (/media/FC4).

Next we need a Unichrome aware X.org. Apparently the next version of X.org will have the latest Unichrome drivers. For now we download and install Xavier's RPMs. They are copied to /media/FC4 too.

The long and difficult part - remove old copies of everything from your RPM directory. To do this I used mc (Midnight commander) and scrolled down the list of files removing versions no longer needed.

Grab kadischi from Fedora Core CVS and install it. It requires a patch to anaconda (read the instructions!) and once you have done that run genhdlist.

Our first bit of code:
genhdlist --productpath=Fedora /media/FC4 <- (put your path to your local FC4 repository here).
This updates the list of files for anaconda. If it complains, read the error message and fix the problem now. I had left some old RPMs so it said there were two versions of xxx, for example. I also had a corrupt RPM from download, as it was an Italien kde library I just trashed it. Run genhdlist again and make sure it returns no errors befor going any further.

Now we need a kickstart file for Kadischi. Run a test using the sample supplied in the Kadischi /usr/local/share/kadischi/ks_examples folder. As root run (all on one line):
kadischi -T /media/FC4 /tmp/fedora-live.iso --kickstart=/usr/lcal/share/kadischi/ks_examples/minimal-livecd.cfg -C
with the paths set to reflect your particular FC4 repository. If all goes well you will have a fedora-live.iso in tmp that when written will boot into a console!

Now that we know it works we need X.org and some multimedia applications. To do this you need another kickstart config file. My test file looks like this:

# Kickstart file

install
lang fr_FR.UTF-8
langsupport --default=fr_FR.UTF-8 fr_FR.UTF-8 fr_FR fr fr_FR.UTF-8 fr_FR fr fr_FR.UTF-8 fr_FR fr
keyboard fr
xconfig --card "S3 UniChrome" --resolution 800x600 --depth 16
network --device eth0 --onboot yes --bootproto dhcp --hostname epiaix.livecd
#network --device sit0 --onboot no --bootproto dhcp --hostname epiaix.livecd
rootpw epiaix
firewall --enabled
selinux --disabled
authconfig --enableshadow --enablemd5
timezone Europe/Paris
bootloader --location=none
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --linux

%packages --excludedocs --resolvedeps
@ X Window System
@ GNOME Desktop Environment
@ French Support
@ Sound and Video
@ Graphical Internet

%post
/usr/sbin/useradd epiaix
/usr/bin/chfn -f "utilisateur epiaix" epiaix
/usr/sbin/usermod -p '' epiaix

it is set for running in French, so you will need to set the language properties and timezone back to your version of English (or whatever language you want to use in your system). WARNING: the root password is not encrypted and the epiaix user does not have a password set.

The above gives you a working Gnome desktop system with internet and stock multimedia applications that is around 560 Mb in size. You can stop here if that is all you need. It is looking for an S3 Unichrome graphics card so we are on the way to an Epia specific version of Fedora Core 4.

But we want more than that so next, a little personalisation...

Go to: [top] :: [home] :: [page 1] :: [page 2] :: [page 3] :: [page 4]

24-octobre-2005 © tgds 2005 | tgrant@tgds.net | Privacy | Conditions de vente