Dennis: eigenen Kernel installieren

Beitrag lesen

Hi Jens,

hast du dpkg, dann auch lilo ausführen lassen?

Hm, gute Frage ;-) Wenn dpkg das nicht freiwillig gemacht hat, dann nicht - ich habe mich mit "successfully installed" zufrieden gegeben *g*

Ich hab jetzt erstmal lilo.conf angepasst:

boot=/dev/sda2
root=/dev/sda2
compact
install=menu
map=/boot/map
vga=normal
delay=5
image=/boot/vmlinuz
label = Linux
read-only

Anschließend:

rescue:/boot# /sbin/lilo
Warning: COMPACT may conflict with LBA32 on some systems
Added Linux *

Zuvor habe ich die Festplatte des Servers in ein Verzeichnis des Rescue-Systems gemounted und anschließend ein chroot auf die Platte des Servers ausgeführt.

*restart* Hm, das ist schon mal fehlgeschlagen, also folgendes ausprobiert:

rescue:/# /sbin/lilo.real -M /dev/sda
/boot/boot.0800 exists - no /dev/sda backup copy made.
The Master Boot Record of  /dev/sda  has been updated.

Ich habe das Gefühl, dass Lilo (weil vom Rescue System ausgeführt) seine Änderungen im Rescue System durchgeführt hat...

Hm, klappt immer noch nicht - das System scheint gar nicht zu starten, es taucht nichts im Syslog auf. Sieht so aus, als wär da mit Lilo was schief gelaufen...

Das sieht in der Tat interessant aus. Du solltest erstmal die Links reparieren und dann nochmal lilo ausführen. Da lilo sich direkt auf die Geometrie der Festplatte beruft, könnte es sein, dass er noch den alten Kernel booten kann.

Unter /boot habe ich jetzt folgende Sachen liegen (u.a.)

-rw-------   1 root root   24576 Sep 27 01:55 map
lrwxrwxrwx   1 root root      14 Sep 27 01:07 vmlinuz -> vmlinuz-2.6.18
-rw-r--r--   1 root root 1045899 Sep 24 07:26 vmlinuz-2.6.18

Die lilo.conf habe ich nun nochmal bearbeitet und etwas mehr an meine ursprüngliche (funktionsfähige) lilo.conf angepasst:

boot=/dev/sda2
root=/dev/sda2
install=menu
map=/boot/map
vga=normal
delay=5
default=Linux

image=/boot/vmlinuz
    label=Linux
    vga=0x314
    read-only

Unter anderem das mit dem VGA hatte ich nicht drin...

*restart* Immer noch nichts, syslog bleibt leer.

Viele Grüße aus Kanada,
  ~ Dennis.