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

Re: Kernel 2.6.0-1 (erro instalação)



Em  Tue, 27 Jan 2004 19:11:39 -0200
luizfrandrade@ig.com.br escreveu:

> Estou tentando instalar o kernel 2.6.0-1 no meu Debian / testing com o 
> comando: 
> apt-get install kernel-image-2.6.0-1-686 
> 
> mas aparece a seguinte mensagem na tela: 
> 
> ############# inicio mensagem ############# 
> You are attempting to install an initrd kernel image (version
> 2.6.0-1-686) This will not work unless you have configured your boot
> loader to use initrd. (An initrd image is a kernel image that expects to
> use an INITial Ram Disk to mount a minimal root file system into RAM and
> use that for booting). 
> 
>     As a reminder, in order to configure LILO, you need 
>     to add an 'initrd=/initrd.img' to the image=/vmlinuz 
>     stanza of your /etc/lilo.conf 
> 
> I repeat, You need to configure your boot loader -- please read your 
> bootloader documentation for details on how to add initrd images. 
> 
> If you have already done so, and you wish to get rid of this message, 
> please put 
>   `do_initrd = Yes' 
> in /etc/kernel-img.conf. Note that this is optional, but if you do not, 
> you'll continue to see this message whenever you install a kernel 
> image using initrd. 
> Do you want to stop now? [Y/n] 
> ############# final mensagem ############# 
> 
> 
> entao inseri a linha no /etc/lilo.conf 
> 
> ############### lilo.conf ############### 
> # Boot up Linux by default. 
> # 
> default=Linux 
> 
> image=/vmlinuz 
>     label=Linux 
>     read-only 
> # 
> default=Linux 
> 
> image=/vmlinuz 
>     label=Linux 
>     read-only 
>     initrd=/initrd.img  # <=== linha inserida 
> #   restricted 
> #   alias=1 
> 
> image=/vmlinuz.old 
>     label=LinuxOLD 
>     read-only 
>     optional 
> #   restricted 
> #   alias=2 
> 
> ########### final lilo.conf ############ 
> 
> 
> mas quando rodo o lilo ele gera um erro: 
> 
> Fatal: open /initrd.img: No such file or directory 
> 
> 
> resumindo... 
> o que eu teho q fazer p/ instalar o kernel 2.6.0-1 ? 
> 
> obs: o meu atual é o 2.4.18-bf2 
> 
> valeu !!! 

Simples, certifique-se que o /initrd.img é um link para o initrd.img que
está dentro de /boot. Tive problema parecido e era isso que estava pegando.
Pessoalmente, no lilo eu indico o caminho absoluto e não uso os links em /

ex: no lilo coloco assim: 

image=/boot/vmlinuz-2.6.1
	initrd=/boot/initrd.img-2.6.1

Entendeu? Quando vc instala um kernel empacotado ele atualiza os links
/vmlinuz e /initrd.img. Eu não gosto porque estou a todo momento testando
kernel aqui e acabo esquecendo o que aponta para o que. 
Basta colocar o caminho absoluto, se for apenas isso que está pegando.


um abraço

Leandro
> _________________________________________________________
> Voce quer um iGMail protegido contra vírus e spams? 
> Clique aqui: http://www.igmailseguro.ig.com.br
> Ofertas imperdíveis! Link: http://www.americanas.com.br/ig/
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-portuguese-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 
> 
> 


-- 
 (@_   Leandro Padilha Ferreira - leandro@androle.pro.br
 //\
 V_/_  http://androle.pro.br  	Linux user: #237.744
------------------------------------------
Me temo que todavía hay bastante machismo soterrado entre los físicos.
		-- Lee Smolin. Físico teórico y cosmólogo estadounidense. 



Reply to: