Upgrade to kernel 2.6.9

V13 v13 at priest.com
Sat Dec 4 17:42:41 EET 2004


On Friday 03 December 2004 11:15, Stratos Misinezis wrote:
> Exo katevasi to 2.6.9 se ena redhat mixanaki...me kernel 2.4.20
> Linux red-1600 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
> GNU/Linux.......
> Prospatho na kano upgrade sto 2.6.9.....
>
> Provlimata:
> 1. Den exo katalavi pos tha kano to patching....
> h entoli apo to Readme to kernel gzip -cd ../patch-2.6.xx.gz | patch
> -p1 nai men arxizi na patsari alla tro patching einai atelioto.....kai
> den exo katanoisi pos tha to kano me patch-script.

An katebases olokliro ton kernel tote den xreiazetai na kaneis patch. Apla ton 
aposympiezeis kapoy. An exeis 2.4 kai thes na pas se 2.6, tote prepei na ton 
katebaseis olokliro mias kai den yparxoyn patches (yparxoyn, alla den thes na 
ksereis gia ayta) gia 2.4 -> 2.6. 

Opote kati san to:

cd /usr/src
tar -jxf /tmp/linux-2.6.9.tar.bz2

arkei.

> 2. Prospatho na kano upgrade ton kernel trexontas, make menuconfig,
> kai meta make bzImage&&make modules&&make modules_install......

Etsi ton kaneis compile kai egkathistas ta modules. H diadikasia ayti einai 
sosti.

> 3. kano oles tis diadikasies pou brika sto
> http://kerneltrap.org/node/view/799 # pwd
>     /usr/src/linux-2.6.0-test4
>     # mv arch/i386/boot/bzImage /boot/bzImage-2.6.0-test4
>     # mv System.map /boot/System.map-2.6.0-test4
>     # cd /boot
>     # rm System.map
>     # ln -s System.map-2.6.0-test4 System.map

Sosta ayta. Molis ebales ton neo soy kernel sto /boot/bzImage-2.6.0-test4. 
Paratiriseis:

a) O 2.6.0 einai poly palios (kai arketa buggy). Dokimase ton 2.6.9.
b) Synithizetai na onomazoyme ton kernel san vmlinuz-kata h sketo vmlinuz, 
opote mporei na theleis na kaneis kati san to:

# mv arch/i386/boot/bzImage /boot/vmlinuz-2.6.0-test4

san 2o bima.

> alla otan erxetai i stigmi na kano edit to grub.conf .....den ksero
> poio vmlinuz na xrisimopoiso......
> to locate vmlinuz mou dini ta parakato.....

Ayto poy molis antegrapses parapano. Stin periptosi soy to:
/boot/bzImage-2.6.0-test4.

<<V13>>




More information about the Migrate2linux mailing list