usa essa maneira de compilar o kernel, é mais o jeito debian de fazer..
http://www.vivaolinux.com.br/dica/Instacao-do-layer7-no-Debian-Lenny

2009/9/19 Caio Abreu Ferreira <[email protected]>

>        Lista
>
>        Estou com problema para compilar o kernel, problema de kernel panic.
>
> - distribuição - gnu/linux debian testing
> - kernel - 2.6.31
>
>        Para compilar o kernel estou utilizando os seguintes comandos:
>
> make && make modules && make modules_install && make install
> cd /boot
> mkinitramfs -o initrd.img-2.6.31 2.6.31
> update-grub
>
>        Durante o boot esta aparecendo a seguinte mensagem de erro:
>
> failed to exec /init
> kernel panic - not syncing : no init found
> try passing  init= option to kernel
>
>        O arquivo /boot/grub/menu.lst esta assim:
>
> title           Debian GNU/Linux, kernel 2.6.31
> root            (hd0,0)
> kernel          /boot/vmlinuz-2.6.31 root=/dev/sda1 ro
> initrd          /boot/initrd.img-2.6.31
>
> title           Debian GNU/Linux, kernel 2.6.31 (single-user mode)
> root            (hd0,0)
> kernel          /boot/vmlinuz-2.6.31 root=/dev/sda1 ro single
> initrd          /boot/initrd.img-2.6.31
>
> title           Debian GNU/Linux, kernel 2.6.30-1-686
> root            (hd0,0)
> kernel          /boot/vmlinuz-2.6.30-1-686 root=/dev/sda1 ro
> initrd          /boot/initrd.img-2.6.30-1-686
>
> title           Debian GNU/Linux, kernel 2.6.30-1-686 (single-user mode)
> root            (hd0,0)
> kernel          /boot/vmlinuz-2.6.30-1-686 root=/dev/sda1 ro single
> initrd          /boot/initrd.img-2.6.30-1-686
>
>        Alguém teria alguma idéia do que eu estou fazendo de errado?
>
> Obrigado
>
> -
>
>
>  .''`.   Caio Abreu Ferreira
> : :'  :  [email protected]
> `. `'`   Debian User
>  `-     Key fingerprint = 97F8 61AC 605F 8A8B 3BA1  D479 8C9A 52E8 6478
> 601F
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkq0sJ0ACgkQmkYY0KJL9xP9/wCfcSuUc5ChZpIMHMzk5fs7lUlg
> etcAoIjuTnMoUL4ilWPEcNHMjZRkxd7r
> =bcW5
> -----END PGP SIGNATURE-----
>
>


-- 
linux user nº 432194

Eu sou livre e você?

Responder a