Description of problem: Kadischi performs all steps to create the LIVE Installation but fails then when it tries to create the initrd image after performed install.There is also a "can t find file/folder" error in regards to the tmpfs when the installation is done. package. Version-Release number of selected component (if applicable): -> Linux DENETY5NB10L961.EM.AVNET.EU 2.6.13-1.1526_FC4 #1 Wed Sep 28 19:15:10 EDT 2005 i686 i686 i386 GNU/Linux Older Kernels (2.6.11, 2.6.12) failed as well -> FC4 Source DVD copied to hdd -> kadischi.py 0.01 command kadischi --kickstart=/usr/local/share/kadischi/ks_examples/minimal-livecd.cfg /home/sources/FC4 /tmp/test.iso <- How reproducible: Every time i try to create a live cd the same error occours Steps to Reproduce: 1. Install Kadischi and patch all neccessary files (like given in the readme) 2. Start Kadischi to create a Live System (doesn matter if kickstart or manual) 4. Installation Process works fine, system finishes virtual Installation 3. After creation of the Live System and befor creating the images it failes. Actual results: > making initrd image > /tmp/livecd-build_no11/system/lib/modules/None is not a directory. > Installation exits abnormal Expected results: A image for usage as a Live System Additional info:
What happens is that no kernel ends up getting installed. I'm not sure why anaconda would skip it, but it seems that it is.
You know, I'm not experiencing this behaviour from my setup. I am inclined to ask, here that someone see if this might be the problem here in the file /usr/lib/anaconda/hdrlist.py Have a look below: ------------------------------------------------------------------------------ hdrlist.py file changes made due a suggestion on a anaconda list. def preordered(self): preordered = 1 for h in self.pkgs.values(): if h.isSelected() and not h[1000003]: preordered = 0 return preordered #def preordered(self): # preordered = 1 # for h in self.pkgs.values(): # if h.isSelected() and h[1000003] == None: # preordered = 0 # if h.isSelected() and not 1000003 in h.hdr.keys(): # preordered = 0 # return preordered ------------------------------------------------------------------------------- Excuse for the messiness. What you see above is code commented out that is otherwise not right (so the anaconda-devel-list said). If one of you guys knows pythin, perhaps you can confirm or deny this would have anything to do with your situation here. Hope this helps.
I encounter the same problem. > /tmp/livecd-build_no5/system/lib/modules/None is not a directory. It doesn't seem to have anything to do with /usr/lib/anaconda/hdrlist.py. I changed the code but the problem persists. Is there any debug information I may provide?
I suspect that the problem in with the anaconda installer. Despite reporting that it installed the kernel, the ../kadischi/functions.py(get_kernal_version) cannot find the installed kernel. I added debug messages in this module. Here is the output of anaconda: ... Installing mkinitrd-4.2.15-1... Installing... Done [100/269] Installing kernel-2.6.11-1.1369_FC4... Installing... Done [101/269] Installing hal-0.5.2-2... Installing... Done [102/269] ... Here is the debugging put into functions.py: 64a65 > flc_log ("--> get_kernel_version rootdir[%s]" % rootdir) #debug# 67a69,73 > > hdr = ts.dbMatch() #debug# > for h in hdr: #debug# > print "%s-%s-%s" % (h['name'], h['version'], h['release']) #debug# > 70a77 > flc_log ("<-- get_kernel_version kernel_version[%s]" % kernel_version) #debug#
I have been fighting with this for a while too. Darko suggested that I hard code the kernel version in livecd-mkinitrd.sh line 105 This allowed the make process to complete but the resulting CD won't boot because there is no vmlinuz etc.
Gday, From what I see, the kernel version is not being resolved, because the kernel is not being installed. Check out /boot/ , in the install environment that I am in, the kernel is not being installed, even though the anaconda log file states that it is. Solve the kernel installation problem, and the rest of the CD builds properly. I force installed it with rpm --root=/myrootdir kernel-version.rpm this fails with initscripts initscripts >= 5.83 is needed by kernel-version.i686 however this installs fine rpm --root=/myrootdir initscripts.rpm So, it seems that anaconda is failing to install the initscripts.. for some reason.
I have just successfully built a minimal LiveCD, I used minimal to just test the mkinitrd problem. I am suspicious sort of, if you guys are using all stock packages, or are trying to get your own user compiled or Fedora Core updated kernels installed.. please specify. Here is all I did: Got kadischi CVS, ./autogen.sh && make && make install Edit /etc/kadischi/build.conf to reflect /pub/LIVE for Build Directory. Patched anaconda.py and flags.py Transferred all stock Fedora Core 4 files to /pub/Fedora Ran kadischi Finished, no problems. If you are trying to deviate from this basic instructions here, I would suggest users look into genhdlist and pkgorder. You must reflect the changes needed to Anaconda, else he won't know to or not to install a kernel. [root@SMP-NODE-1 pub]# pwd /pub [root@SMP-NODE-1 pub]# ls -l FC4-i386-LIVECD.ISO -rw-r--r-- 1 root root 247513088 Jan 8 19:40 FC4-i386-LIVECD.ISO [root@SMP-NODE-1 pub]# ?
If you guys could patch functions.py with the patch included in: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=178623 see if that resolves the issue for you.
I'm seeing this problem too. This is with a standard FC4 repository on a local FTP server. According to the install.log file everything is fine until initscripts comes to be installed. Then we get: Installing initscripts-8.11.1-1.i386. error: %pre(initscripts-8.11.1-1.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping initscripts-8.11.1-1 Installing cyrus-sasl-2.1.20-5.i386. error: %post(cyrus-sasl-2.1.20-5.i386) scriptlet failed, exit status 255 Installing cyrus-sasl-md5-2.1.20-5.i386. Installing lvm2-2.01.08-2.1.i386. Installing mkinitrd-4.2.15-1.i386. Installing kernel-2.6.11-1.1369_FC4.i686. error: %pre(kernel-2.6.11-1.1369_FC4.i686) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping kernel-2.6.11-1.1369_FC4 So, no initscripts and no kernel. I'm at a loss to understand why the %pre scriptlets for initscripts and the kernel should fail.
fixed and cvs version updated: https://www.redhat.com/archives/fedora-livecd-list/2006-March/msg00066.html