1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Customizing Fedora 4

Michael Larabel

Published on 17 December 2005
Written by Michael Larabel
Page 1 of 5 - Comment On This Article

Although Red Hat sticks by a six to twelve month release cycle for its Fedora Core Project the number of FOSS advancements made in that short period is simply staggering. With the huge number of updates that roll out for Fedora is simply jaw dropping as since Fedora Core 4's release earlier this year there has been a staggering amount of updates from SELinux to ALSA. In fact right now on their FTP server alone is over 839 RPM updates for a single architecture. With the number of Fedora fresh installs we perform on a weekly basis using all sorts of hardware, and with Fedora Core 5 not being scheduled for release until at least February of 2006, we have begun to work on optimizing the FC4 build to provide for local install CDs that are up-to-date when it comes to all of the packages as well as including some Fedora extras in the stock install and Phoronix additions. Although the fundamentals for re-mastering the CD and simply changing around packages and modifying a file here and there are relatively easy, this project would not be recommended for the novice GNU/Linux user. We will keep this guide short and sweet, and not provide all of the standard steps that are needed, simply providing the guidelines for customizing the Fedora Core 4 install as they have changed slightly since previous Fedora Core revisions and even the old versions of Red Hat. For reference, the root build tree was /home/phoronix/Desktop/stage. Below are the various steps and on the following page is the package list we used for the newly created Fedora CDs. As always, proceed at your own risk, as many of these commands need to be executed as a super-user.

mount -o loop FC4-i386-disc1.iso /home/phoronix/scratch/; cd /home/phoronix/scratch/; tar -cf - * |(cd /home/phoronix/Desktop/stage/i386/; tar -xpf -); cd /home/phoronix/Desktop/stage/isos/; umount /home/phoronix/scratch/
mount -o loop FC4-i386-disc2.iso /home/phoronix/scratch/; cd /home/phoronix/scratch/; tar -cf - * |(cd /home/phoronix/Desktop/stage/i386/; tar -xpf -); cd /home/phoronix/Desktop/stage/isos/; umount /home/phoronix/scratch/
mount -o loop FC4-i386-disc3.iso /home/phoronix/scratch/; cd /home/phoronix/scratch/; tar -cf - * |(cd /home/phoronix/Desktop/stage/i386/; tar -xpf -); cd /home/phoronix/Desktop/stage/isos/; umount /home/phoronix/scratch/
mount -o loop FC4-i386-disc4.iso /home/phoronix/scratch/; cd /home/phoronix/scratch/; tar -cf - * |(cd /home/phoronix/Desktop/stage/i386/; tar -xpf -); cd /home/phoronix/Desktop/stage/isos/; umount /home/phoronix/scratch/

(APPLY RPM UPDATES INTO i386/Fedora/RPMS folder and making sure to remove the previous packages. In addition, third party RPMs can be placed here that are compatible with Fedora Core 4.)

cd /usr/lib/anaconda-runtime/
cp * /home/phoronix/Desktop/stage/
cd /usr/lib/anaconda/
cp * /home/phoronix/Desktop/stage/
cd /home/phoronix/Desktop/stage/

./genhdlist --productpath Fedora /home/phoronix/Desktop/stage/i386/

./pkgorder /home/phoronix/Desktop/stage/i386 i386 Fedora | tee /home/phoronix/Desktop/stage/pkgfile.txt

./buildinstall --comp phoronix --pkgorder /home/phoronix/Desktop/stage/pkgfile.txt --version 4 --product "Fedora" --release "Fedora Core 4" --prodpath Fedora /home/phoronix/Desktop/stage/i386/

./splittree.py --arch=i386 --total-discs=4 --bin-discs=4 --src-discs=0 --release-string="Fedora Core 4 Stentz - Phoronix Modified" --pkgorderfile=/home/phoronix/Desktop/stage/pkgfile.txt --distdir=/home/phoronix/Desktop/stage/i386 --srcdir=/home/phoronix/Desktop/stage/sr --productpath=Fedora

 

#!/bin/sh

mkisofs -R -J -T -no-emul-boot -boot-load-size 4 -boot-info-table \
-V "Fedora Core 4 (Stentz) Disk 1" \
-A "Fedora Coret 4 Modified" \
-P Phoronix \
-p Phoronix \
-b isolinux/isolinux.bin \
-c isolinux/boot.cat \
-o FC4-i386-disc1.iso \
i386-disc1

for i in 2 3 4 ; do
mkisofs -R -J -T \
-V "Fedora Core 4 (Stentz) Disk $i" \
-A "Fedora Coret 4 Modified" \
-P Phoronix \
-p Phoronix \
-o FC4-i386-disc${i}.iso \
i386-disc${i}
done

Through re-mastering the CD, additional packages can be implemented, such as those from the Fedora Extras repository, or to simply provide updated packages on the install CDs such as the latest kernel and GNOME release. In addition, many other modifications can be done as well as tweaks to Anaconda through their various Python scripts. Although our build was for i386, the same process can be applied to any architecture from x86_64 to Power PC. For reference, on the following pages is our pkgfile.txt output to see the various packages we have updated as well as changed. When it comes down to re-mastering/customizing any Linux distribution, the possibilities are simply endless.

Latest Linux Hardware Reviews
  1. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  2. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
  3. AMD Radeon R9 285 Tonga Performance On Linux
  4. Apotop Wi-Copy
Latest Linux Articles
  1. AMD Moves Forward With Unified Linux Driver Strategy, New Kernel Driver
  2. MSI: Update Your BIOS From The Linux Desktop
  3. NVIDIA vs. AMD 2D Linux Drivers: Catalyst Is Getting Quite Good At 2D
  4. 15-Way GPU Comparison With Mesa 10.3 + Linux 3.17
Latest Linux News
  1. Phoronix Test Suite 5.4 M3 Is Another Hearty Update
  2. GParted 0.20 Improves Btrfs Support
  3. EXT4 In Linux 3.18 Has Clean-ups, Bug Fixes
  4. Emacs 24.4 Has Built-In Web Browser, Improved Multi-Monitor Support
  5. NVIDIA's NVPTX Support For GCC Is Close To Being Merged
  6. KDE's KWin On Wayland Begins Using Libinput
  7. Khronos Releases OpenVX 1.0 Specification
  8. Linux Kernel Working Towards GNU11/C11 Compatibility
  9. Ubuntu 15.04 Is Codenamed After A Monkey: Vivid Vervet
  10. Following GCC, Clang Looks To Default To C11
Latest Forum Discussions
  1. Users/Developers Threatening Fork Of Debian GNU/Linux
  2. HOPE: The Ease Of Python With The Speed Of C++
  3. Updated and Optimized Ubuntu Free Graphics Drivers
  4. Bye bye BSD, Hello Linux: A Sys Admin's Story
  5. NVIDIA Presents Its Driver Plans To Support Mir/Wayland & KMS On Linux
  6. AMD Is Restructuring Again, Losing 7% Of Employees
  7. Open-Source AMD Fusion E-350 Support Takes A Dive
  8. Upgrade to Kaveri, very slow VDPAU performance