[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Help requested in customizing a fedora install



Hi Keven,

Keven Ring wrote:

I am attempting to remaster/customize an FC3 install. While there tends to be some significant documentation on this subject, it all seems to revolve around adding packages, or updating existing packages (including http://rau.homedns.org/twiki/bin/view/Anaconda/AnacondaDocumentationProject, which has been referenced in this list a couple of times). What I am trying to do is "simply" remove quite a few packages from the stock distribution, and add a couple of additional packages.

Here is an outline of the steps that I have taken:
1) Performed an install of FC3, selecting a relatively minimal set of groups to install.
2) Taken the /root/install.log file as a listing of the packages that were installed as a basis for the custom "distribution"
3) Added a couple of packages (along with their dependancies) to the list.
4) Created a basic directory structure mimicking the Disk 1, ie:
/
Fedora/
base/
RPMS/
images/
isolinux/


The RPMS listed in the install.log, along with the additional packages were placed in the RPMS dir. The isolinux, images, and base directories are copies of the original FC3 disc 1. In addition, all of the top level files (README*, eula.txt, GPL, RELEASE*, RPM-GPG-KEY*, etc) were copied into the top level temporary directory.

5) Based on the content at http://bipolar.longbros.com/?p=10, I performed the following commands:
genhdlist --productpath=Fedora /tmp/fedora/i386


pkgorder /tmp/fedora/i386 i386 Fedora > /tmp/fedora/pkgfile

buildinstall --pkgorder /tmp/fedora/pkgfile ....

splittree.py ....

genhdlist --productpath=Fedora --withnumbers --fileorder /tmp/fedora/pkgfile /tmp/fedora/i386-disc[1234]

6) Using mkisofs, created an iso image, and then burned that onto CD.

Unfortunately, this is where things go wrong...

The CD boots, as expected. The initial ram disk is loaded, and the installer begins, and asks if I want to test the media. I specify "skip", at which point I get the following:
Running Anaconda, the Fedora Core Installer. Please Wait.
exec of /usr/bin/anaconda failed: no such file or directory


at which point, it unmounts everything, and indicates that it is ready to reboot.

I have also copied the stage2.img from the stock FC3 disc1 into the Fedora/base directory after performing the buildinstall. The CD that is created with that file prompts for install language and keyboard layout, followed by a prompt indicating No Fedora Core CD was located that matched the boot media.

So, at this point, I'm stumpted. I haven't modified anaconda, and I don't have a clue which file or directory it can't locate. Any thoughts/pointers would be greatly appreciated. If it helps, I can provide the complete list of RPMS that are being packaged. Note, I am trying to make this fit on a single CD, along with several kickstart configurations.

I hit against this problem myself. I built my own list based on a previous install. I Then
reworked the comps.xml and made a kickstart file to install what was mentioned in
my comps.xml. When the cd started the install gave the same error. I tried just copying
the anaconda, anaconda-dev, etc rpms in after customising but this didn't work.


My solution was a bit of a hack. I did a bit of digging in code and eventually
found my way to the file "/usr/lib/anaconda-runtime/upd-instroot". It has a variable
in it called PACKAGES which list a series of rpms. I copied every one mentioned
here into my rpms dir after customising it and rebuilt. The problem went away
and the install worked.


I started to slowly try to reduce the rpms from this list, but its was very tedious and I didn't
in the end have enough time. I was able to produce my single disk install successfully. It
had well over 100MB of free space for me to play with.


The real problem here is that there isn't a working program that lists all the dependencies
you need and the ones you don't. I found this whole process to be complete trial an error,
if you doing anything outside building the standard distro. I'm looking at trying to make
a program to do this, but the docs for the python rpm handling modules are non-existent.
It might be a while.


I've attached my "upd-instroot-files.txt". This might help in trying to fix this problem
for you. If you manage to reduce the rpms listed here further I'd be interested in getting
a copy.


All the best,

om

--
Oisin Mulvihill
Engines Of Creation Ltd.

Mobile:	+44-(0)-7891538345
Email:	oisin enginesofcreation ie
Web:	http://www.enginesofcreation.ie
Email:	oisin enginesofcreationsoftware com
Web:	http://www.enginesofcreationsoftware.com

glibc-2.3.3-74.i686.rpm
glibc-2.3.3-74.i386.rpm
glibc-common-2.3.3-74.i386.rpm
glibc-devel-2.3.3-74.i386.rpm
glibc-headers-2.3.3-74.i386.rpm
glibc-kernheaders-2.4-9.1.87.i386.rpm
glibc-profile-2.3.3-74.i386.rpm
glibc-utils-2.3.3-74.i386.rpm
glibc-common-2.3.3-74.i386.rpm
setuptool-1.17-2.i386.rpm
setup-2.5.36-1.noarch.rpm
openssl-0.9.7a-40.i686.rpm
openssl-0.9.7a-40.i386.rpm
openssl096b-0.9.6b-19.i386.rpm
openssl-devel-0.9.7a-40.i386.rpm
openssl-perl-0.9.7a-40.i386.rpm
python-2.3.4-11.i386.rpm
python-devel-2.3.4-11.i386.rpm
python-ldap-2.0.1-2.i386.rpm
python-docs-2.3.4-11.i386.rpm
python-tools-2.3.4-11.i386.rpm
newt-0.51.6-5.i386.rpm
newt-perl-1.08-7.i386.rpm
newt-devel-0.51.6-5.i386.rpm
slang-1.4.9-6.i386.rpm
slang-devel-1.4.9-6.i386.rpm
libselinux-1.17.14-1.i386.rpm
libselinux-devel-1.17.14-1.i386.rpm
libsepol-1.1.1-2.i386.rpm
libsepol-devel-1.1.1-2.i386.rpm
libtermcap-2.0.8-39.i386.rpm
libtermcap-devel-2.0.8-39.i386.rpm
zlib-1.2.1.2-1.i386.rpm
zlib-devel-1.2.1.2-1.i386.rpm
ash-0.3.8-20.i386.rpm
e2fsprogs-1.35-11.2.i386.rpm
e2fsprogs-devel-1.35-11.2.i386.rpm
util-linux-2.12a-16.i386.rpm
popt-1.9.1-21.i386.rpm
mdadm-1.6.0-2.i386.rpm
procps-3.2.3-5.i386.rpm
rpm-4.3.2-21.i386.rpm
rpm-libs-4.3.2-21.i386.rpm
rpm-python-4.3.2-21.i386.rpm
rpm-build-4.3.2-21.i386.rpm
rpm-devel-4.3.2-21.i386.rpm
rpmdb-fedora-3-0.20041103.i386.rpm
rpm-libs-4.3.2-21.i386.rpm
anaconda-10.1.0.2-1.i386.rpm
anaconda-runtime-10.1.0.2-1.i386.rpm
anaconda-help-10.1.0-1.noarch.rpm
tzdata-2004e-2.noarch.rpm
anaconda-runtime-10.1.0.2-1.i386.rpm
kudzu-1.1.95-1.i386.rpm
kudzu-devel-1.1.95-1.i386.rpm
hwdata-0.145-1.noarch.rpm
bzip2-1.0.2-13.i386.rpm
bzip2-libs-1.0.2-13.i386.rpm
bzip2-devel-1.0.2-13.i386.rpm
beecrypt-3.1.0-6.i386.rpm
beecrypt-python-3.1.0-6.i386.rpm
beecrypt-devel-3.1.0-6.i386.rpm
bzip2-libs-1.0.2-13.i386.rpm
dosfstools-2.8-15.i386.rpm
pciutils-2.1.99.test8-3.i386.rpm
pciutils-devel-2.1.99.test8-3.i386.rpm
reiserfs-utils-3.6.18-1.i386.rpm
parted-1.6.15-5.i386.rpm
parted-devel-1.6.15-5.i386.rpm
sed-4.1.2-4.i386.rpm
busybox-anaconda-1.00.rc1-5.i386.rpm
rpm-python-4.3.2-21.i386.rpm
booty-0.44-1.i386.rpm
hdparm-5.7-2.i386.rpm
lvm2-2.00.25-1.01.i386.rpm
beecrypt-3.1.0-6.i386.rpm
beecrypt-python-3.1.0-6.i386.rpm
beecrypt-devel-3.1.0-6.i386.rpm
device-mapper-1.00.19-2.i386.rpm
rhpl-0.148-1.i386.rpm
pyxf86config-0.3.19-1.i386.rpm
libxml2-python-2.6.14-2.i386.rpm
libxml2-2.6.14-2.i386.rpm
libxml2-devel-2.6.14-2.i386.rpm
libxml2-python-2.6.14-2.i386.rpm
glib2-2.4.7-1.i386.rpm
glib2-devel-2.4.7-1.i386.rpm
elfutils-libelf-0.96-1.i386.rpm
elfutils-libelf-devel-0.96-1.i386.rpm
bogl-bterm-0.1.18-4.i386.rpm
bogl-0.1.18-4.i386.rpm
bogl-bterm-0.1.18-4.i386.rpm
bogl-devel-0.1.18-4.i386.rpm
krb5-libs-1.3.4-7.i386.rpm
jfsutils-1.1.7-1.i386.rpm
xfsprogs-devel-2.6.13-2.i386.rpm
xfsprogs-2.6.13-2.i386.rpm
libacl-2.2.23-5.i386.rpm
libacl-devel-2.2.23-5.i386.rpm
libattr-2.4.16-3.i386.rpm
libattr-devel-2.4.16-3.i386.rpm
attr-2.4.16-3.i386.rpm
acl-2.2.23-5.i386.rpm
policycoreutils-1.17.6-2.i386.rpm
policycoreutils-1.17.6-2.i386.rpm
pyparted-1.6.8-2.i386.rpm
xorg-x11-twm-6.8.1-12.i386.rpm
xorg-x11-Mesa-libGLU-6.8.1-12.i386.rpm
xorg-x11-xauth-6.8.1-12.i386.rpm
xorg-x11-xfs-6.8.1-12.i386.rpm
xorg-x11-font-utils-6.8.1-12.i386.rpm
xorg-x11-Mesa-libGL-6.8.1-12.i386.rpm
xorg-x11-libs-6.8.1-12.i386.rpm
xorg-x11-Xvfb-6.8.1-12.i386.rpm
xorg-x11-Xnest-6.8.1-12.i386.rpm
xorg-x11-doc-6.8.1-12.i386.rpm
xorg-x11-xdm-6.8.1-12.i386.rpm
xorg-x11-deprecated-libs-6.8.1-12.i386.rpm
xorg-x11-tools-6.8.1-12.i386.rpm
xorg-x11-6.8.1-12.i386.rpm
xorg-x11-deprecated-libs-devel-6.8.1-12.i386.rpm
xorg-x11-devel-6.8.1-12.i386.rpm
xorg-x11-sdk-6.8.1-12.i386.rpm
xorg-x11-Xdmx-6.8.1-12.i386.rpm
selinux-policy-targeted-1.17.30-2.19.noarch.rpm
selinux-policy-targeted-sources-1.17.30-2.19.noarch.rpm

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]