[Ubuntu-BR] RES: Recompilando o kernel

Paulo Fonseca Jr. paulofonsecajr em gmail.com
Terça Junho 10 18:37:43 UTC 2008


Lucas, o kernel compilou e foi instalado e a alteração foi feita no grub mas
os drivers parece que não foram compilados (vídeo, wireless, etc...), fiz
isso:

apt-get update
apt-get install kernel-package libncurses5-dev fakeroot wget bzip2
cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.25.tar.bz2
tar xjf linux-2.6.25.tar.bz2
ln -s linux-2.6.25 linux
cd /usr/src/linux
cp /boot/config-2.6.25-generic ./.config
make menuconfig (load config/save config)
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image
kernel_headers
cd /usr/src
dpkg -i linux-image-2.6.25-custom_2.6.25-custom-10.00.Custom_i386.deb
dpkg -i linux-headers-2.6.25-custom_2.6.25-custom-10.00.Custom_i386.deb

vi /boot/grub/menu.lst

The stanzas that were added on my test system look like these:

title           Ubuntu, kernel 2.6.25-custom
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.25-custom root=/dev/sda1 ro quiet splash
initrd          /boot/initrd.img-2.6.25-custom
savedefault
boot

title           Ubuntu, kernel 2.6.25-custom (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.25-custom root=/dev/sda1 ro single
initrd          /boot/initrd.img-2.6.25-custom
boot

-----Mensagem original-----
De: ubuntu-br-bounces em lists.ubuntu.com
[mailto:ubuntu-br-bounces em lists.ubuntu.com] Em nome de Lucas Salies Brum
Enviada em: terça-feira, 10 de junho de 2008 15:15
Para: Lista de discussão do LoCoTeam Brasileiro
Assunto: Re: [Ubuntu-BR] Recompilando o kernel

# cp /dir/.config /usr/src/linux-2.6.25/
# cd /usr/src/linux-2.6.25
# make
# make modules_install
# reboot

Fez isso?
Editou o menu do GRUB?

2008/6/10 Paulo Fonseca Jr. <paulofonsecajr em gmail.com>:

> Pessoal, baixei os fontes do kernel 2.6.25 do www.kernel.org
> <http://www.kernel.org/>  , copiei o arquivo de configuração do kernel
> antigo para .config, fiz o makeconfig, carreguei "load" as configurações
do
> kernel, depois salvei as configurações e recompilei o kernel mas notei que
> os drivers de vídeo e wireless, provavalemente entre outros não foram
> recompilados.
>
>
>
> Alguma dica?
>
> Paulo.
-- 
Interessado em aprender mais sobre o Ubuntu em português?
http://wiki.ubuntu-br.org/ComeceAqui  -
ubuntu-br mailing list
ubuntu-br em lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br





More information about the ubuntu-br mailing list