Kernelupdate
Kernelupdate
HI, suchfunktion geht im moment nicht..
Hab unter Debian apt-get install kernel-image-2.4.18-k7 ausgeführt, aber nach einem reboot, wird nicht der neue kernel übernommen.
Muss ich noch etwas spezielles in die lilo.conf eintragen?
Im moment sieht die so aus:
boot=/dev/hda2
root=/dev/hda2
compact
install=/boot/boot.b
map=/boot/map
vga=normal
delay=20
image=/vmlinuz
label = Linux
read-only
initrd=/initrd.img
Thx 4 help, Guinness
Hab unter Debian apt-get install kernel-image-2.4.18-k7 ausgeführt, aber nach einem reboot, wird nicht der neue kernel übernommen.
Muss ich noch etwas spezielles in die lilo.conf eintragen?
Im moment sieht die so aus:
boot=/dev/hda2
root=/dev/hda2
compact
install=/boot/boot.b
map=/boot/map
vga=normal
delay=20
image=/vmlinuz
label = Linux
read-only
initrd=/initrd.img
Thx 4 help, Guinness
-
captaincrunch
- Userprojekt

- Posts: 7066
- Joined: 2002-10-09 14:30
- Location: Dorsten
- Contact:
Re: Kernelupdate
Im Normalfall läuft alles automatisch. Gab's Fehlermeldungen ?
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
Re: Kernelupdate
Normal läuft das nicht automatisch (wenn man vorher den bf2.4 hat), da man dann erstmal die Ramdisk anlegen und lilo aufrufen muss. Aber das sagt einem das Installskript.
Poste mal:
Zeigen die Links auf den richtigen Kernel? lilo schonmal aufgerufen?
Poste mal:
Code: Select all
ls -l /vmlinuz /initrd.imgRe: Kernelupdate
lrwxrwxrwx 1 root root 26 May 19 13:04 /initrd.img -> /boot/initrd.img-2.4.18-k7
lrwxrwxrwx 1 root root 22 May 19 13:04 /vmlinuz -> boot/vmlinuz-2.4.18-k7
lrwxrwxrwx 1 root root 22 May 19 13:04 /vmlinuz -> boot/vmlinuz-2.4.18-k7
Re: Kernelupdate
War das jetzt ein Tippfehler, oder fehlt vor dem zweiten boot der Slash?
Existieren beide Dateien? lilo aufgerufen?
Existieren beide Dateien? lilo aufgerufen?
Code: Select all
lilo -vRe: Kernelupdate
lilo -v
LILO version 22.2, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2001 John Coffman
Released 05-Feb-2002 and compiled at 20:57:26 on Apr 13 2002.
MAX_IMAGES = 27
Duplicate entry 'delay' at or above line 90 in file /etc/lilo.conf
nein, da fehlt kein /
LILO version 22.2, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2001 John Coffman
Released 05-Feb-2002 and compiled at 20:57:26 on Apr 13 2002.
MAX_IMAGES = 27
Duplicate entry 'delay' at or above line 90 in file /etc/lilo.conf
nein, da fehlt kein /
-
captaincrunch
- Userprojekt

- Posts: 7066
- Joined: 2002-10-09 14:30
- Location: Dorsten
- Contact:
Re: Kernelupdate
Dann entferne zuerst mal das doppelte "delay" aus der /etc/lilo.conf ;)
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
Re: Kernelupdate
hab den fehler behoben und neu gestartet.
Jetzt hält debian beim booten an und gibt diese Fehlermeldung:
VFS: Cannot open root device "302" or 03:02
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:02
Jetzt hält debian beim booten an und gibt diese Fehlermeldung:
VFS: Cannot open root device "302" or 03:02
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:02
-
captaincrunch
- Userprojekt

- Posts: 7066
- Joined: 2002-10-09 14:30
- Location: Dorsten
- Contact:
Re: Kernelupdate
Boote den alten Kernel, und poste noch mal das lilo -v. Entweder hast du die RamDisk nicht vernünftig drin, oder nicht die nötigen Module in der /etc/modules
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
Re: Kernelupdate
<-- noob, wie kann ich den alten kernel booten?
Re: Kernelupdate
Wird vermutlich falsch sein, wenn du getrennte Partitionen für /boot und / hast.boot=/dev/hda2
root=/dev/hda2
Poste mal
Code: Select all
cat /etc/fstabroot=/dev/hdaX
muss deiner / Partition entsprechen.
Nach der Ã?nderung natürlich wieder lilo -v aufrufen. Dann booten.
Re: Kernelupdate
komm ja nicht mehr ins system rein...
Re: Kernelupdate
Dumm gelaufen.
Falls du hast, nimm das Rescuesystem, ansonsten musst du wohl deinen Support anrufen.
Wenn du Konsolenzugriff hast, boote ein Rescuesystem. Ich bevorzuge inzwischen Knoppix, aber auch bei *jeder* Distri-Installation, die mir bisher unterkam wurden Rescue-Disketten angelegt. Du hast doch einen solche gemacht, oder?! ;)
Falls du hast, nimm das Rescuesystem, ansonsten musst du wohl deinen Support anrufen.
Wenn du Konsolenzugriff hast, boote ein Rescuesystem. Ich bevorzuge inzwischen Knoppix, aber auch bei *jeder* Distri-Installation, die mir bisher unterkam wurden Rescue-Disketten angelegt. Du hast doch einen solche gemacht, oder?! ;)
Re: Kernelupdate
nö, dafür mache ich es ja auch erstmal im lan, da ist es nicht ganz so gravierend
Re: Kernelupdate
so, schnell mal system neu gemacht und nocheinmal den kernel geupdatet...
lilo -v
LILO version 22.2, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2001 John Coffman
Released 05-Feb-2002 and compiled at 20:57:26 on Apr 13 2002.
MAX_IMAGES = 27
Reading boot sector from /dev/hda
Merging with /boot/boot-menu.b
Boot image: /vmlinuz -> boot/vmlinuz-2.4.20-k7
Added Linux *
Boot image: /vmlinuz.old -> boot/vmlinuz-2.2.20-idepci
Added LinuxOLD
/boot/boot.0300 exists - no backup copy made.
Writing boot sector.
wird mir jetzt angezeigt.
lilo -v
LILO version 22.2, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2001 John Coffman
Released 05-Feb-2002 and compiled at 20:57:26 on Apr 13 2002.
MAX_IMAGES = 27
Reading boot sector from /dev/hda
Merging with /boot/boot-menu.b
Boot image: /vmlinuz -> boot/vmlinuz-2.4.20-k7
Added Linux *
Boot image: /vmlinuz.old -> boot/vmlinuz-2.2.20-idepci
Added LinuxOLD
/boot/boot.0300 exists - no backup copy made.
Writing boot sector.
wird mir jetzt angezeigt.
Re: Kernelupdate
Posten:
Wenn alles passt, neu starten.
Naja, nächstes Mal weißt du hoffentlich, für was man sich diese Rescue-Disketten macht. ;)
Code: Select all
grep ^root /etc/lilo.conf
cat /etc/mtab
Naja, nächstes Mal weißt du hoffentlich, für was man sich diese Rescue-Disketten macht. ;)
Re: Kernelupdate
grep ^root /etc/lilo.conf
root=/dev/hda2
debian:~# cat /etc/mtab
/dev/hda2 / ext2 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
root=/dev/hda2
debian:~# cat /etc/mtab
/dev/hda2 / ext2 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
Re: Kernelupdate
Dann sollte es aber eigentlich stimmen. ?!
Und? Tut's jetzt?
Und? Tut's jetzt?
-
captaincrunch
- Userprojekt

- Posts: 7066
- Joined: 2002-10-09 14:30
- Location: Dorsten
- Contact:
Re: Kernelupdate
Das liegt dann wohl daran, dass du die benötigten Module nicht in der /etc/modules (wie bereits gesagt) drin hast.
Der Standardkernel hat das meiste fest einkompiliert, die anderen nicht. Um dir sagen zu können, was du u.U. bräuchtest, kann ich dir nicht sagen, da ich dein System nicht kenne.
Der Standardkernel hat das meiste fest einkompiliert, die anderen nicht. Um dir sagen zu können, was du u.U. bräuchtest, kann ich dir nicht sagen, da ich dein System nicht kenne.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc