Upgrade to kernel 2.6.9

Fanis Dokianakis madf at hellug.gr
Fri Dec 3 12:40:15 EET 2004


On Fri, Dec 03, 2004 at 11:15:21AM +0200, 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.

patching ginetai mono apo proigoumeno kernel dld apo 2.6.8 se 2.6.9 sthn
periptwsh sou.

> 
> 2. Prospatho na kano upgrade ton kernel trexontas, make menuconfig,
> kai meta make bzImage&&make modules&&make modules_install......
> 
> 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 
> alla otan erxetai i stigmi na kano edit to grub.conf .....den ksero
> poio vmlinuz na xrisimopoiso......
> to locate vmlinuz mou dini ta parakato.....
> 
> /boot/vmlinuz
> /boot/vmlinuz-2.4.20-8
> /boot/vmlinuz-2.4.20-31.9
> 

to locate den einai xrhsimo mias kai kotazei to fileystem mesa apo mia
vasi dedomenon pou ananeonetai mia fora thn hmera sinithos ta
ximeromata, xrisimopoihse find / -name "vmlinuz*" .

> opou to proto den ksero ti einai , to deutero einai tis arxikis
> egkatastasis kai to trito einai apo to update tis redhat pou ekana
> meso internet alla den paizei.....skai...
> 
> Kanonika den prepi to neo compilation na mou dosi neo vmlinuz? kai ean
> nai giati den to ftiaxni....
> 
> An mpori kapoios na apantisi....eimai asxetos sxetika me ton kernel
> kai sinexia diavazo alla den ta exo kataferi akomi
> 
Fainetai oti ta eheis mplexei kapws. Den einai toso polyploka ta
pragmata .

katevazeis ena kernel px to linux-2.6.9.tar.bz2
to apothikeyeis sto /usr/src
kaneis:   tar jxf linux-2.6.9.tar.bz2
kai exeis to dir /usr/src/linux-2.6.9
ta epomena patches tha ta katevazeis sto /usr/src
kai gia na ta kaneis patch tha dineis ./linux-2.6.9/scripts/patch-kernel

gia na ftiakseis ton pyrhna: cd /usr/src/linux-2.6.9/
kai kane eite: make xconfig   h  make menuconfig

edw einai to dyskolo shmeio, des ti hardware ehei to mihanima kai
analoga epelexe ti thes. me ligo peiramatismo kai koitontas to help tha
ta katafereis.

kai meta kane: make
twra ehei etoimasei to arch/i386/boot/bzImage
to antigrapheis: cp arch/i386/boot/bzImage /boot/vmlinux-2.6.9
kaneis edit to /etc/lilo.conf kai ekei poy leei image=/boot/vmlinuzXXXX
to kaneis image=/boot/vmlinuz-2.6.9 swzeis trexeis kai ena lilo
kaneis sto kernel dir kai ena: make modules_install kai eisai etoimos.

> Eyxaristo
> 
tpt




More information about the Migrate2linux mailing list