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

Re: Recompilar kernel. Problema com initrd.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

O pacote correto para o mkinitrd é o initrd-tools.
apt-get install initrd-tools

Abraços,
- --
Ricardo A. F. da Cruz
Linux User: #341193
Public GPG KeyID: FCA503DD


Em Seg 12 Jul 2004 09:39, Leonardo Mendes escreveu:
> Ricardo, agradeço sua ajuda. Mas na minha distro (woody 3.0) não tenho o
> comando mkinitrd... Tentei instala-lo pelo apt-get, mas o pacote nao eh
> encontrado... vc sabe se tenho que instalar alguma ferramenta pro mkinitrd
> funcionar   ?
>
> ----- Original Message -----
> From: "Ricardo Cruz" <lythand19@yahoo.com.br>
> To: <debian-user-portuguese@lists.debian.org>
> Sent: Saturday, July 10, 2004 1:46 AM
> Subject: Re: Recompilar kernel. Problema com initrd.
>
>
> Será que na hora que vc instalou o novo kernel ele naum deletou o
> antigo???? Dá uma olhada!!!
>
> Se naum!!
> tente criar um initrd da seguinte maneira:
> mkinitrd -o /boot/[nome_initrd] /lib/modules/2.x.x
>
> Ricardo Cruz
> Linux User: #341193
>
> Em Sex 09 Jul 2004 22:24, Leonardo Mendes escreveu:
> > Como vai galera,
> >
> > estou com o seguinte problema:
> >
> > -Instalei o debian Woody 3.0 r2, padrão sem nehum pacote adicional,
> > -Depois instalei o kernel-package para fazer a recompilação do kernel.
> > -Instalei o fonte do kernel 2.4.20
> > -Fiz as configurações necessarias no .config dentro do diretorio do fonte
> > do kernel -mandei recompilar usando o comando: make-kpkg
> > --append-to-version "-new" --initrd --us --uc kernel_image (que cria um
> > kernel instalavel .deb indicando que junto com o kernel deve ser criado
> > um arquivo initrd). -depois de criado o novo-kernel.deb eu o instalei com
> > o: dpkg -i novo-kernel.deb
> >
> > Até aí tudo bem...
> >
> > o problema começou quando ele deu a seguinte mensagem de erro:
> >
> > Setting up kernel-image-2.4.20-new (10.00.Custom) ...
> > Failed to create initrd image.
> > dpkg: error processing kernel-image-2.4.20-new (--configure):
> > subprocess post-installation script returned error exit status 2
> >
> > O sistema funciona normalmente, mas quando eu mando instalar um novo
>
> pacote
>
> > pelo apt-get ele reclama que não consegue achar o initrd, e pede pra
> > reiniciar para o arquivo de modulos ser criado corretamente...detalhe eu
>
> ja
>
> > recomplilei várias vezes o mesmo kernel inclusive atraves do método
> > padrao (make dep, make clean, make bzImage, make modules, make
> > modules_install, etc..), e o kernel que está em uso nem é mais este
> > kernel que ele está reclamando do initrd.
> >
> > Setting up kernel-image-2.4.20-new (10.00.Custom) ...
> >  You are attempting to install a kernel version that is the same as
> >  the version you are currently running (version 2.4.20-new). The modules
> >  list is quite likely to have been changed, and the modules dependency
> >  file /lib/modules/2.4.20-new/modules.dep needs to be re-built. It can
> >  not be built correctly right now, since the module list for the
> >  running kernel are likely to be different from the kernel installed.
> >  I am creating a new modules.dep file, but that may not be
> >  correct. It shall be regenerated correctly at next reboot.
> >
> >  I repeat: you have to reboot in order for the modules file to be
> >  created correctly. Until you reboot, it may be impossible to load
> >  some modules. Reboot as soon as this install is finished (Do not
> >  reboot right now, since you may not be able to boot back up until
> >  installation is over, but boot immediately after). I can not stress
> >  that too much. You need to reboot soon.
> >
> >
> > Alguem ja passou por situação semelhante ou sabe como me ajudar?
> >
> > [ ]´s
> >
> >
> > __________________
> > Leonardo Mendes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA9FXU5ft1jvylA90RAvC1AJ4watP5waUYiyzHPqMRe9VUovCuswCdH9Qn
qK4Uu0SefHfqsjN0lwUbhzQ=
=hXSn
-----END PGP SIGNATURE-----



Reply to: