Hallo, On Mon, 16 Sep 2002, Peter Meyer wrote:
hab's jetzt nochmal probiert und mich im Wesentlichen auf http://www.dhaller.de/linux/multikernel.html und die Tipps aus dieser Mailingliste gestützt. Diesemal läuft das System aber ohne SCSI Controller!
Hae? Wie "ohne SCSI Controller"? Ausgebaut? oder nur Treiber weggelassen oder...?
Ich bin also wie folgt vorgegangen (Sorry, was folgt ist eine Art Protokoll für die spätere Doku und in Englisch, ich hoffe es ist auch verständlich):
copied the linux-2.4.19.tar.gz to /usr/src extracted linux-2.4.19.tar.gz in /usr/src mv /usr/src/linux-2.4.19 to /usr/src/linux-2.4.19a created link in /usr/src/linux to /usr/src/linux-2.4.19a
Hm. Da hast du evtl. was flasch gemacht, denn mind. bis incl. 2.4.18 sind die Kernel so getart, das sie nach 'linux' entpacken. Du hast also evtl. deinen alten Kernel ueberschrieben. Richtig waere: cd /usr/src test -d linux && mv linux linux-`uname -r` ## a) bisheriges Kernel-dir ## umbenennen test -L linux && rm linux ## b) symlink loeschen tar xzf PFAD/linux-<neue-version> ## tar auspacken mv linux linux-<neue-version> ## umbenennen ln -s linux-<neue-version> linux ## verlinken
discommented line "export INSTALL_PATH=/boot" in Makefile
Wieso das? Solange man nicht 'make lilo' oder 'make bzlio' verwendet stoert die Definition der Variablen...
let run make oldconfig in case of no .config is available
Ist das ein Kommentar?
zcat /proc/config.gz .config make oldconfig
Ok (denke ich, oldconfig kenne ich nicht, ich mach das per Hand ;)
gzip -cd < linux-2.4.19.xattr+acl-0.8.50.diff.gz | patch -p1
Sollte ok sein.
make menuconfig vi Makefile (EXTRAVERSION=a) time make dep clean bzImage modules modules_install 2>&1 | tee make.out cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.4.19a cp /usr/src/linux/System.map /boot/System.map-2.4.19a
Ok.
mv /boot/vmlinuz /boot/vmlinz-2.4.10-4GB (altes Image gesichert)
Ist dann evtl. ein 'mk_initrd' fuer diesen Kernel noetig?
vi /etc/lilo.conf angepasst lilo
Ok.
lilo.conf:
boot = /dev/hda vga = 785 read-only menu-scheme = Wg:kw:Wg:Wg lba32 prompt timeout = 80 message = /boot/message
image = /boot/vmlinuz-2.4.10-4GB label = 2.4.10-4GB root = /dev/hda3 initrd = /boot/initrd append = "enableapic vga=0x0311"
Wohl ok.
image = /boot/vmlinuz-2.4.19a label = 2.4.19a-acl root = /dev/hda3 initrd = /boot/initrd ^^^^^^^^^^^^ Die passt net, das ist die fuer 2.4.10!!! Wenn dann ne eigene, z.B. /boot/initrd-2.4.19a append = "enableapic vga=0x0311"
Ja, ich sollte wohl mal mehr zur initrd schreiben... Auch die initrd musst du fuer jeden Kernel erstellen -- besser aber, du laesst die initrd fuer den neuen Kernel ganz weg, d.h. alles zum booten noetige fest in den Kernel und den Rest dann als Modul.
image = /boot/vmlinuz.suse label = failsafe root = /dev/hda3 initrd = /boot/initrd.suse append = "disableapic ide=nodma apm=off" optional
image = /boot/memtest.bin label = memtest86
Trotz dieses -meiner Meinung nach richtigen- Vorgehens, kann ich den neuen Kernel nicht starten.
Was ist denn jetzt noch falsch??
s.o. -dnh -- The purpose of a windowing system is to put some amusing fluff around your one almighty emacs window. -- Mark on gnu.emacs.help