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

FAI - Wie installiere ich den Kernel?



Hallo

Habe eben FAI (fully automatic installation for Debian) entdeckt. Wirklich eine feine Sache, zumal ich wie der Autor schon mit Solaris Jumpstart vertraut bin.

Nun, da ich da ich die Klippen PXE un DHCP erfolgreich umschifft habe, komme ich nicht mehr weiter: Das Debian kernel-image will partout nicht auf meine Clients!

SERVER:
=======

Ich habe die class KERNEL_SOFT folgendermassen geaendert:

PACKAGES install
kernel-image-`echo $kernelversion`-2-686
#kernel-source-`echo $kernelversion`
#kernel-doc-`echo $kernelversion`
kernel-package
libncurses5-dev
fakeroot
initrd-tools cloop-src cloop-utils

$kernelversion ist in DEFAULT.var definiert (2.6.8)


CLIENT:
=======

error.log:

shell.log:ls: vmlinuz-*: No such file or directory
shell.log:ls: /tmp/target/boot/vmlinuz-*: No such file or directory
shell.log:Can't match device: /dev/root
software.log:dpkg: error processing /var/cache/apt/archives/kernel-image-2.6.8-2-686_2.6.8-12_i386.deb (--unpack): software.log: subprocess pre-installation script returned error exit status 1

software.log:

Unpacking kernel-image-2.6.8-2-686 (from .../kernel-image-2.6.8-2-686_2.6.8-12_i386.deb) ...

You are attempting to install an initrd kernel image (version 2.6.8-2-686)
This will not work unless you have configured your boot loader to use
initrd. (An initrd image is a kernel image that expects to use an INITial
Ram Disk to mount a minimal root file system into RAM and use that for
booting).

   As a reminder, in order to configure LILO, you need
   to add an 'initrd=/initrd.img' to the image=/vmlinuz
   stanza of your /etc/lilo.conf

I repeat, You need to configure your boot loader -- please read your
bootloader documentation for details on how to add initrd images.

If you have already done so, and you wish to get rid of this message,
please put
  "do_initrd = Yes"
in /etc/kernel-img.conf. Note that this is optional, but if you do not,
you will continue to see this message whenever you install a kernel
image using initrd.
Do you want to stop now? [Y/n]Ok, Aborting
dpkg: error processing /var/cache/apt/archives/kernel-image-2.6.8-2-686_2.6.8-12_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1

kernel-img.conf:

do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = /sbin/update-grub
postrm_hook   = /sbin/update-grub


... offensichtlich mach initrd wieder mal Probleme, doch ich komm nicht dahinter, und die Doku ist in diesem Punkt auch nicht hilfreich...

Danke fuer alle Tipps!

Paul


--
Paul Coray
Administrator Server und Netzwerk

Oeffentliche Bibliothek der Universitaet Basel
EDV-Abteilung
Schoenbeinstrasse 18-20
CH-4056 Basel

Tel: +41 61 267 05 13
Fax: +41 61 267 31 03

mailto:paul.coray@unibas.ch
http://www.ub.unibas.ch



Reply to: