custom kernel not getting installed
pll at lanminds.com
pll at lanminds.com
Wed Aug 7 22:16:20 CEST 2002
Hi all,
Continuing to debug the rebuild of my FAI server, I've discovered
that my custom kernel is not getting installed. In DEFAULT.var,
I have:
kernelimage=kernel-image-2.4.18_10.00.Custom_i386.deb
and in /fai/files/packages I have:
ls -l /usr/local/share/fai/files/packages/
total 1104
-rw-r--r-- 1 root root 1125660 Jun 27 14:05 kernel-image-2.4.18_10.00.Custom_i386.deb
I can't seem to find anywhere in the logs where one can see what
variables are defined, or where it might be attempting to install any
custom kernel image.
I logged into 'client' after an install had comleted, but before it
had rebooted (removed 'reboot' keyword from DHCP config).
Once there, I did 'chroot /tmp/target dpkg -l | grep kernel' and
there was nothing returned. Apparently my kernel wasn't installed.
So, I went over to /fai/files/packages/ and sure enough, there's the
package. So I tried:
chroot /tmp/target dpkg -i kernel-image-2.4.18_10.00.Custom_i386.deb
dpkg: error processing /tmp/kernel-image-2.4.18_10.00.Custom_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/tmp/kernel-image-2.4.18_10.00.Custom_i386.deb
I then thought, "Well, maybe with the chroot, dpkg can't see the
actual directory I'm sitting in. So I:
cp kernel-image-2.4.18_10.00.Custom_i386.deb /tmp/target
chroot /tmp/target dpkg -i kernel-image-2.4.18_10.00.Custom_i386.deb
And that worked.
The question is, why isn't the kernel package getting installed
automatically during the install phase?
I have $kernelimage defined in DEFAULT.var, the DEFAULT class is
definged, and the kernel package in /fai/files/packages.
What else am I missing?
Thanks!
Btw, I'm trying:
dpkg --root=/tmp/target -i /fai/files/packages/kernel_img.deb
as someone described in the archives, but I don't think I should
*have* to do that, should I?
--
Seeya,
Paul
--
It may look like I'm just sitting here doing nothing,
but I'm really actively waiting for all my problems to go away.
If you're not having fun, you're not doing it right!
More information about the linux-fai
mailing list