[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sorgenti kernel



> sono un newbie e ho installato da poco la debian woody
> sono andato a vedere in /usr/src ed ho trovato solamente i sorgenti de
l
> kernel in formato bz2
> come devo comportarmi per poter ricompilare il kernel?
> ciao
> maurizio
se hai il pacchetto bzip2, altrimenti istallalo:
root[/usr/src]# apt-get install bzip2
root[/usr/src]# bzip2 -d sorgenti_kernel.bz2
root[/usr/src]# tar -zxvf sorgenti_kernel.tar.gz  oppure .tgz
se vuoi farlo in modalità grafica installa tcl8.3 e tk8.3 (root# apt-
get install tcl8.3 tk8.3 )
root[/usr/src/kernel]# make xconfig (-->> scegli quello che ti serve)
root[/usr/src/kernel]# make dep
root[/usr/src/kernel]# make bzImage
root[/usr/src/kernel]# make modules
root[/usr/src/kernel]# make modules_install
root[[/usr/src/kernel/arch/i386/boot]# cp bzImage /boot/vmlinuz-x.x.x
root[/usr/src/kernel]# cp System.map /boot/System-x.x.x.map
root# ln -s /boot/vmlinuz-x.x.x /vmlinuz-x.x.x 
edita /etc/lilo.conf (se usi il LILO) per fargli vedere quest'immagine 
al boot
ciò deve risultare
image=/vmlinuz-x.x.x 
      label=new-kernel
      read-only
Poi controlla che il lilo sia ok:
root# lilo -t  (<<-- solo un test)
root# lilo  (se prima non ha dato errori)

Questo è quello che faccio io, vedi se ti può servire.

SteX


> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-italian-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.deb
ian.org
> 
> 

Unix IS user friendly... It's just selective about who its friends are.






Reply to: