Re: problema lilo

Mauricio dos Santos Kaster <[email protected]>
Newsgroups gmane.org.user-groups.linux.parana
Message-ID <[email protected]>
Carraro,

Tem uma mensagem no teu post que parece esclarecer um erro:
> Fatal: Image name, label, or alias is too long: 'vmlinuz-carraro-2.4.26'

Parece que o alias 'vmlinuz-carraro-2.4.26' é muito longo, ou o label 
'Slackware10Novo' é muito longo.

Não tenho certeza do que vou afirmar, mas pode ser a raiz do problema: o boot 
do kernel usa 3 arquivos que possuem nos nomes as raízes 'vmlinuz-', 
'System.map-' e initrd-' seguidos do número da versão do kernel, seguidos da 
versão de compilação. Em minhas compilações do kernel, alterei o número da 
versão de compilação normalmente adicionando uma letra 'b', 'c', 'd' etc para 
cada versão adicional do kernel que eu compilava.

Ex. vmlinuz-2.6.8-12 (versão original)
vmlinuz-2.6.8-12b (primeira compilação)
vmlinuz-2.6.8-12c (segunda compilação)
...

Obs. Quando trocar o nome do arquivo imagem, deve trocar também os nomes de 
System.map e de initrd apropriadamente.

Mauricio Kaster

Em Domingo, 18 de Setembro de 2005 17:49, Carlo Carraro escreveu:
> agora postarei o meu lilo.conf, modificado, e agora ele   apresenta um
> novo erro, se alguem puder me ajudar...valew
> O erro que aprsenta é este:
> oot@Carraro:/home/carraro# lilo
> Warning: RAID1 install implied by omitted 'boot='
> Fatal: Image name, label, or alias is too long: 'vmlinuz-carraro-2.4.26'
>
>
> # LILO configuration file
> # generated by 'liloconfig'
> #
> # Start LILO global section
> image = /boot/vmlinuz-carraro-2.4.26
> boot = /dev/hda
> append ="hdc=ide-scsi"
> message = /boot/boot_message.txt
> prompt
> timeout = 300
>
> # Override dangerous defaults that rewrite the partition table:
> change-rules
>   reset
> # VESA framebuffer console @ 1024x768x32k
> vga = 790
> # Normal VGA console
> # vga = normal
> # VESA framebuffer console @ 1024x768x64k
> # vga=791
> # VESA framebuffer console @ 1024x768x32k
> # vga=790
> # VESA framebuffer console @ 1024x768x256
> # vga=773
> # VESA framebuffer console @ 800x600x64k
> # vga=788
> # VESA framebuffer console @ 800x600x32k
> # vga=787
> # VESA framebuffer console @ 800x600x256
> # vga=771
> # VESA framebuffer console @ 640x480x64k
> # vga=785
> # VESA framebuffer console @ 640x480x32k
> # vga=784
> # VESA framebuffer console @ 640x480x256
> # vga=769
> # End LILO global section
> # Windows bootable partition config begins
> image = /boot/vmlinuz-carraro-2.4.26
>       initrd = /boot/initrd.gz
>       root = /dev/hda2
>       label = Slackware10Novo
>       read-only
>
>
>
> Other = /dev/hda1
>   label = WindowsXP
>   table = /dev/hda
> # Windows bootable partition config ends
> # Linux bootable partition config begins
> image = /boot/vmlinuz
>   root = /dev/hda2
>   label = Linux
>   read-only
> # Linux bootable partition config ends
>
> Em 18/09/05, Carlo Carraro<[email protected]> escreveu:
> > poxa que falta de atenção a minha, eu estava mexendo nos dois arquivos
> > e  acabei confundindo, hehehehe, mas é isso ai, vou testar como esta
> > no seu lilo. valew
> >
> > Em 18/09/05, Paulo Roberto<[email protected]> escreveu:
> > >  Carlo
> > >
> > >  O arquivo que você anexou não é o lilo.conf.
> > >
> > >  Para adiantar seu trabalho, segue o meu lilo.conf para que você
> > > compare com o seu.
> > >  O tempo de espera é a linha "timeout = 300".
> > >
> > >
> > >  ------
> > >
> > >  # LILO configuration file
> > >  # generated by 'liloconfig'
> > >  #
> > >  # Start LILO global section
> > >  append="hdc=ide-scsi"
> > >  boot = /dev/hda
> > >  message = /boot/boot_message.txt
> > >  prompt
> > >  timeout = 300
> > >  # Override dangerous defaults that rewrite the partition table:
> > >  change-rules
> > >    reset
> > >  # Normal VGA console
> > >  vga = normal
> > >  # End LILO global section
> > >  # Linux bootable partition config begins
> > >  image = /boot/vmlinuz-generic-2.6.12.3
> > >    initrd = /boot/initrd.gz
> > >    root = /dev/hda2
> > >    label = Linux_2.6.12.3
> > >    read-only
> > >  image = /boot/vmlinuz
> > >    root = /dev/hda2
> > >    label = Linux
> > >    read-only
> > >  # Linux bootable partition config ends
> > >
> > >  ------
> > >
> > >  Att
> > >
> > >  --
> > >  Paulo Baartz
> > >  Linux User #155047
> > >  Slackware Linux 10.1
> > >  Jabber: zoltral @ jaim . at
> > >
> > >  Carlo Carraro wrote:
> > >  >olá galera, estou com um problema no lilo, o qeu eu fiz? recompilei o
> > >  >kernel com novos modulos, e fiz uma imagem dele caso houvesse algum
> > >  >problema, fiz tudo certo, so que ao executar ele apresenta um erro no
> > >  >tempo de espera no lilo, linha 14 ele diz que a entrada é invalida,
> > >  > ou os parametros estao duplicados, vou colocar meu lilo.conf abaixo
> > >  > e espero qeu
> > >  >alguem possa vir a me ajudar, agradecido pela atenção...
> > >  >Carlos Carraro
> > >  >
> > >  ># File generated by xf86config.
> > >  >
> > >  >#
> > >  ># Copyright (c) 1999 by The XFree86 Project, Inc.
> > >  >#
> > >  ># Permission is hereby granted, free of charge, to any person
> > >  > obtaining a # copy of this software and associated documentation
> > >  > files (the
> > >
> > > "Software"),
> > >
> > >  ># to deal in the Software without restriction, including without
> > >
> > > limitation
> > >
> > >  ># the rights to use, copy, modify, merge, publish, distribute,
> > >  > sublicense, # and/or sell copies of the Software, and to permit
> > >  > persons to whom the # Software is furnished to do so, subject to the
> > >  > following conditions: #
> > >  ># The above copyright notice and this permission notice shall be
> > >  > included
> > >
> > > in
> > >
> > >  ># all copies or substantial portions of the Software.
> > >  >#
> > >  ># THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> > >  > EXPRESS
> > >
> > > OR
> > >
> > >  ># IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> > >  > MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND
> > >  > NONINFRINGEMENT. IN NO EVENT SHALL # THE XFREE86 PROJECT BE LIABLE
> > >  > FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, # WHETHER IN AN ACTION OF
> > >  > CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
> > >
> > > OF
> > >
> > >  ># OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> > >  > THE # SOFTWARE.
> > >  >#
> > >  ># Except as contained in this notice, the name of the XFree86 Project
> > >
> > > shall
> > >
> > >  ># not be used in advertising or otherwise to promote the sale, use or
> > >
> > > other
> > >
> > >  ># dealings in this Software without prior written authorization from
> > >  > the # XFree86 Project.
> > >  >#
> > >  >
> > >  >#
> > >
> > > **********************************************************************
> > >
> > >  ># Refer to the XF86Config(4/5) man page for details about the format
> > >  > of # this file.
> > >  >#
> > >
> > > **********************************************************************
> > >
> > >
> > >
> > >
> > >
> > >  Yahoo! Grupos, um serviço oferecido por:
> > >
> > >  ________________________________
> > >  Links do Yahoo! Grupos
> > >
> > >
> > > Para visitar o site do seu grupo na web, acesse:
> > > http://br.groups.yahoo.com/group/linux-pr/
> > >
> > > Para sair deste grupo, envie um e-mail para:
> > > linux-pr-unsubscribe-EYaqaC9dFX8MqA7zqLjoiV/I71DsQ//[email protected]
> > >
> > > O uso que você faz do Yahoo! Grupos está sujeito aos Termos do Serviço
> > > do Yahoo!.
>
> Links do Yahoo! Grupos
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.