kernel installieren

Welches Modul/Treiber für welche Hardware, Kernel compilieren...
Antworten
Schpock
Beiträge: 20
Registriert: 22.12.2003 12:24:20

kernel installieren

Beitrag von Schpock » 27.12.2003 13:22:21

hab woody auf sarge upgradet und nun wollt ich nen aktuelleren kernel installieren .
also apt-get install kernel-image-2.4.22-1-k7


You are attempting to install an initrd kernel image (version 2.4.22-1-k7)
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'll continue to see this message whenever you install a kernel
image using initrd.
Do you want to stop now? [Y/n]

was nun ?? was muß ich antworten und was muß ich danach tun ?? Hab das schon paar mal versucht und jedesmal hatte ich dann nach nem reboot kernelpanik und mußte die scheiße neu installieren ...

Schpock
Beiträge: 20
Registriert: 22.12.2003 12:24:20

Beitrag von Schpock » 27.12.2003 14:57:06

hat sich erledigt

Benutzeravatar
Coach
Beiträge: 89
Registriert: 17.08.2002 18:44:43
Wohnort: Würzburg
Kontaktdaten:

Beitrag von Coach » 02.01.2004 20:58:33

hi,

könntest du mal posten was du getan hast? weil ich hab im moment das selbe problem.

thx

Schpock
Beiträge: 20
Registriert: 22.12.2003 12:24:20

Beitrag von Schpock » 02.01.2004 21:42:15

also nachdem ich den kernel installiert und die fragen beantwortet habe habe ich folgendes gemacht :

in /etc die lilo.conf bearbeitet , da muß ein eintrag vorgenommen werden :

initrd=/initrd.img muß unter image=/vmlinuz
label=Linux eingetragen werden also so :

Code: Alles auswählen

image=/vmlinuz
label=Linux
initrd=/initrd.img
read-only
# restricted
# alias=1
danach noch in /etc kernel-img.conf bearbeiten und zwar den eintrag do_initrd = yes hinzufügen das die Datei nachher so aussieht :

Code: Alles auswählen

# Do not create symbolic links in /
do_symlinks = Yes
do_initrd = yes
jetzt noch lilo ausführen als root : # lilo

und nun kannst die kiste rebooten mit shutdown -r now

der neue kernel wird nun gebootet und es könnte sein das dein Netzwerk erstmal tot ist , machst einfach modprobe 8139too <-- für realtek Netzwerkkarten. für andere mußt halt das entsprechende modul laden.

Antworten