Custom Linux bootable CD
From WBITT's Cooker!
This article is in relation to the article CENTOS Server CD project , and is "heavily" based on http://people.redhat.com/rkeech/custom-distro.txt .
So here it goes. First, the setup.
I have a directory /data/cdimages, which looks like the following:
[root@kworkhorse cdimages]# pwd /data/cdimages [root@kworkhorse cdimages]# tree -d . ├── CentOS-5.4-x86_64 │ ├── CentOS │ ├── images │ │ ├── pxeboot │ │ └── xen │ ├── isolinux │ ├── NOTES │ └── repodata └── CentOS-5.4-x86_64-core [root@kworkhorse cdimages]#
As you can see, I have created a directory /data/cdimages/CentOS-5.4-x86_64-core just now, which will be the custom install tree, and referred to as $RHROOT.
Before you continue, it is required that you install the following packages on your base OS. ( I am using Fedora 11 64 bit as build host.)
yum -y install anaconda anaconda-runtime mkisofs cdrecord