vc ta errando 1 comando só...pelo menos eu faço assim... make
make modules(NÃO É NECESSÁRIO USAR...O MAKE FAZ O MAKE E O MAKE MODULES) make modules_install make install mkinitramfs -o initrd.img-2.6.31 2.6.31 (acho que aqui que está o erro)...faz como eu faço... makeinitramfs -o /boot/initrd.img-2.6.31 /lib/modules/2.6.31 (no caso o seu kernel que é o 2.6.31) * * update-grub cara....tenho quase certeza que vai funcionar se tu fizer assim....a algum tempo tive o mesmo problema e resolvi dessa forma....... 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----- > >

