[Eisfair] Kernelupdate

Fabian Törner toerner at gmx.net
Di Jan 29 21:20:44 CET 2013


Hallo Holger,

Am 29.01.2013 20:05, schrieb Holger Bruenjes:

> cd /boot
>
> cp kernel-irgendwas kernel
> cp initrd-irgendwas.gz initrd.gz
>
>
> dann die lilo.conf auf den Standard  bringen
>
> bitte die richtigen /dev/...  eintragen
>
> cat /etc/lilo.conf
> lba32
> disk = /dev/sda
>    bios = 0x80
> boot = /dev/sda1
> read-only
> prompt
> timeout = 50
> vga = normal
> image = /boot/kernel
> root = /dev/sda3
> label = eis
> initrd = /boot/initrd.gz
>
> image = /boot/kernel-irgendwas
> root = /dev/sda3
> label = oldraid
> initrd = /boot/initrd-irgendwas.gz

bis hier hin sieht es so aus:

eis-origi # cd /boot
eis-origi # ls -l
total 6873
-rw-r--r-- 1 root root 1558382 Oct 23  2006 2.6.18.1
-rw-r--r-- 1 root root 1957909 Jan 13  2007 2.6.18.1-Raid-SMP
-rw-r--r-- 1 root root  627765 Sep 23  2006 System.map
-rw-r--r-- 1 root root     512 Jan  4  2007 boot.0300
-rw-r--r-- 1 root root 1794859 Jan  5  2007 initrd-2.6.18.1-raid.gz
-rw-r--r-- 1 root root  979787 Oct 25  2004 kernel
drwxr-xr-x 2 root root   12288 Sep 19  2006 lost+found
-rw------- 1 root root   68096 Jan 14  2007 map
eis-origi # cp 2.6.18.1-Raid-SMP kernel
eis-origi # cp initrd-2.6.18.1-raid.gz initrd.gz
eis-origi # ls -l
total 9594
-rw-r--r-- 1 root root 1558382 Oct 23  2006 2.6.18.1
-rw-r--r-- 1 root root 1957909 Jan 13  2007 2.6.18.1-Raid-SMP
-rw-r--r-- 1 root root  627765 Sep 23  2006 System.map
-rw-r--r-- 1 root root     512 Jan  4  2007 boot.0300
-rw-r--r-- 1 root root 1794859 Jan  5  2007 initrd-2.6.18.1-raid.gz
-rw-r--r-- 1 root root 1794859 Jan 29 21:02 initrd.gz
-rw-r--r-- 1 root root 1957909 Jan 29 21:02 kernel
drwxr-xr-x 2 root root   12288 Sep 19  2006 lost+found
-rw------- 1 root root   68096 Jan 14  2007 map

bearbeitete lilo.conf:

eis-origi # cat /etc/lilo.conf
lba32
disk = /dev/hda
   bios = 0x80
boot = /dev/hda1
read-only
prompt
timeout = 50
vga = normal
image = /boot/kernel
root = /dev/hda3
label = eis
initrd = /boot/initrd.gz
#default = eis

image = /boot/2.6.18.1-Raid-SMP
root = /dev/hda3
label = oldraid
initrd = /boot/initrd-2.6.18.1-raid.gz

#image = /boot/2.6.18.1
#root = /dev/hda3
#label = 2.6.18.1
#initrd = /boot/initrd-2.6.18.1-raid.gzeis-origi #



>
> lilo -t
>
> wenn OK

eis-origi # lilo -t
Added eis  *
Added oldraid
The boot sector and the map file have *NOT* been altered.


> lilo

habe ich noch nicht gemacht. Da keiner vor Ort.
Wenn obiges aus Deiner Sicht ok - mach ich das.

> jetzt sollte die Kiste normal booten, wenn nicht geht immer noch
> oldraid, dafuer muss dann allerdings jemand vor Ort sein.
>

Wie gesagt mache ich nach nochmaliger Bestätigung ;)

Vielen Dank & viele Grüße
Fabian




Mehr Informationen über die Mailingliste Eisfair