Kernel installiert - ja oder nein

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
Post Reply
alexander newald
Posts: 1117
Joined: 2002-09-27 00:54
Location: Hannover
Contact:
 

Kernel installiert - ja oder nein

Post by alexander newald »

Hallo,

ich habe einen Fehler gemacht: Auf meinem Rootserver wollte ich ein Modul testweise mit einer "frischen" config bauen. Leider habe ich nicht

make modules sondern make modules install eingegeben und dass leider in einem screen :oops: und natürlich nicht weiter drauf geschaut...

Das letzte was auf dem Screen jetzt noch stand war:

Code: Select all

tools/build -b bbootsect bsetup compressed/bvmlinux.out CURRENT > bzImage
Root device is (3, 3)
Boot sector 512 bytes.
Setup is 2544 bytes.
System is 972 kB
warning: kernel is too big for standalone boot from floppy
sh -x ./install.sh 2.4.18 bzImage /usr/src/linux-2.4.18/System.map ""
+ '[' -x /root/bin/installkernel ']'
+ '[' -x /sbin/installkernel ']'
+ '[' -f /vmlinuz ']'
+ '[' -f /System.map ']'
+ cat bzImage
+ cp /usr/src/linux-2.4.18/System.map /System.map
+ '[' -x /sbin/lilo ']'
+ /sbin/lilo
Added linux *
Added linux.old
Added linux.suse
Added memtest86
make[1]: Leaving directory `/usr/src/linux-2.4.18/arch/i386/boot'
/boot sagt:

Code: Select all

# l /boot/
total 190120
drwxr-xr-x    3 root     root         4096 May 16 12:51 ./
drwxr-xr-x   19 root     root         4096 May 16 12:51 ../
lrwxrwxrwx    1 root     root           17 Sep 23  2002 System.map -> System.map-2.4.18
-rw-r--r--    1 root     root       418426 Aug  9  2002 System.map-2.4.18
-rw-r--r--    1 root     root       393674 Jun 24  2002 System.map-2.4.18-old
-rw-r--r--    1 root     root       313253 Jun 23  2001 System.map-2.4.4-4GB
-rw-r--r--    1 root     root         7136 Jun 18  2001 boot-menu.b
-rw-r--r--    1 root     root         5384 Jun 18  2001 boot-text.b
-rw-r--r--    1 root     root          512 Aug  7  2001 boot.0300
lrwxrwxrwx    1 root     root           11 Sep 23  2002 boot.b -> boot-menu.b
-rw-r--r--    1 root     root          608 Jun 18  2001 chain.b
-rw-r--r--    1 root     root        17533 Aug  9  2002 config-2.4.18
-rw-------    1 root     root         1515 Sep 23  2002 export
drwxr-xr-x    2 root     root        49152 Sep 23  2002 lost+found/
-rw-------    1 root     root        30720 May 16 12:51 map
-rwxr-xr-x    1 root     root        67580 Jun 18  2001 memtest.bin*
-rw-r--r--    1 root     root        69022 Jun 23  2001 message
-rw-r--r--    1 root     root          640 Jun 18  2001 os2_d.b
lrwxrwxrwx    1 root     root           14 Sep 23  2002 vmlinuz -> vmlinuz-2.4.18
-rw-r--r--    1 root     root       761731 Aug  9  2002 vmlinuz-2.4.18
-rw-r--r--    1 root     root       651603 Jun 24  2002 vmlinuz-2.4.18-old
-rw-r--r--    1 root     root        67100 Jun 23  2001 vmlinuz.autoconf.h
-rw-r--r--    1 root     root        34340 Jun 23  2001 vmlinuz.config
-rw-r--r--    1 root     root       630401 Sep 10  2001 vmlinuz.old
-rw-r--r--    1 root     root       877936 Aug  7  2001 vmlinuz.suse
-rw-r--r--    1 root     root          129 Jun 23  2001 vmlinuz.version.h
Meine Frage dazu:

:arrow: Wie zerschossen habe ich mir das System jetzt?
:arrow: Hat lilo den neuen Kernel installiert?

Aus der lilo.conf

Code: Select all

image = /boot/vmlinuz
  root = /dev/hda3
  label = linux
vmlinuz zeigt ja auf vmlinuz-2.4.18 und die Datei ist vom 9.8.2002. Sehe ich das richtig, dass da nur nocheinmal der Bootrecord für den alten Kernel geschrieben wurde?

Für einen zweiten prüfenden Blick wäre ich dankbar :!:

Alexander Newald
Anonymous
 

Re: Kernel installiert - ja oder nein

Post by Anonymous »

Schau doch von wann der Kernel ist.
Er scheint als bzimage installiert zu sein.

Karlo
alexander newald
Posts: 1117
Joined: 2002-09-27 00:54
Location: Hannover
Contact:
 

Re: Kernel installiert - ja oder nein

Post by alexander newald »

Verstehe ich nicht.
mark
Posts: 295
Joined: 2003-04-15 16:48
Location: Oldenburg
Contact:
 

Re: Kernel installiert - ja oder nein

Post by mark »

Hi,
+ '[' -f /vmlinuz ']'
+ '[' -f /System.map ']'
wenn du den Export Pfad im Makefile nicht geändert hast, dann ist der Kernel im Stammpfad gelandet ...

Somit sollte alles beim alten sein.

Gruß
Mark
Last edited by mark on 2003-05-16 16:18, edited 1 time in total.
alexander newald
Posts: 1117
Joined: 2002-09-27 00:54
Location: Hannover
Contact:
 

Re: Kernel installiert - ja oder nein

Post by alexander newald »

Yep, genau das ist das, was ich nocheinmal von jemanden bestätigt haben wollte.

Alexander Newald
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Kernel installiert - ja oder nein

Post by captaincrunch »

Ich verschiebe mal ins Linux und spezielle Distris.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
Post Reply