mpmoraes
Usuário Ubuntu
Deslogado
Mensagens: 342
|
 |
« Responder #2 em: 27 de Abril de 2009, 13:18 » |
|
Prezados, como estamos falando em problemas com desligar o 9.04...
Estava com o seguinte problema: ao clicar no botão desligar o micro ficava na tela preta com o prompt piscando e tinha que desligar na marra (no estabilizador). Aí resolvi seguir a seguinte dica do fórum:
"...Adicionar a linha: apm power_off=1, no /etc/modules
Adicionar as opções na linha do boot: acpi=off apm=power_off, no /boot/grub/menu.lst..."
"...fica + ou - assim: /boot/vmlinuz-2.6.17-10-generic root=/dev/hda1 ro quiet splash acpi=off apm=power_off..."
No entanto, vou postar aqui o texto contido nos arquivos e negritar o ponto onde fiz a inclusão para confirmar se está tudo certo. Faço esse tira teima porque ao inicializar o computador, aparecem mais informações na tela do que aparecia antes antes. Como o texto aparece muito rápido, tenho a impressão de ler algo relacionado a erros, mas o sistema após sua inicialização, que é bem rápida, roda numa boa.
Passo 1 - digitei o comando, sudo gedit /etc/modules, e apareceu o seguinte texto:
# /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored.
lp apm power_off=1
Passo 2 - digitei o comando, sudo gedit /boot/grub/menu.lst, e apereceu o seguinte texto:
## should update-grub add savedefault to the default options ## can be true or false # savedefault=false
## ## End Default Options ##
title Ubuntu 9.04, kernel 2.6.28-11-generic uuid 7d998ba1-1061-48fe-a4a9-ec78afd57132 kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=7d998ba1-1061-48fe-a4a9-ec78afd57132 ro locale=pt_BR quiet splash acpi=off apm=power_off initrd /boot/initrd.img-2.6.28-11-generic quiet
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode) uuid 7d998ba1-1061-48fe-a4a9-ec78afd57132 kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=7d998ba1-1061-48fe-a4a9-ec78afd57132 ro locale=pt_BR single initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, kernel 2.6.27-11-generic uuid 7d998ba1-1061-48fe-a4a9-ec78afd57132 kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=7d998ba1-1061-48fe-a4a9-ec78afd57132 ro locale=pt_BR quiet splash initrd /boot/initrd.img-2.6.27-11-generic quiet
title Ubuntu 9.04, kernel 2.6.27-11-generic (recovery mode) uuid 7d998ba1-1061-48fe-a4a9-ec78afd57132 kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=7d998ba1-1061-48fe-a4a9-ec78afd57132 ro locale=pt_BR single initrd /boot/initrd.img-2.6.27-11-generic
title Ubuntu 9.04, memtest86+ uuid 7d998ba1-1061-48fe-a4a9-ec78afd57132 kernel /boot/memtest86+.bin quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
Repito, o micro agora está desligando, mas com base no que é apresentado acima pergunto:
1 - Fiz o procedimento correto? 2 - É a melhor forma? 3 - Existe algum ajuste que deva fazer?
Um grande abraço!
PS: Estou com a versão 9.04 (I386) em um AMD64.
|