sexta-feira, 28 de novembro de 2008

Alterando o "grub" para solucionar problemas de ACPI em computadores HP

1 - "Alt" + "F2" => konsole <enter>

2 - Digite "su" <enter> + senha do root <enter>

3 - Digite cd /boot/grub <enter>
vi menu.lst <enter> => aparecerá a seguinte tela:

# Modified by YaST2. Last modification on Qua Ago 13 13:43:08 UTC 2008
default 0
timeout 8
gfxmenu (hd0,1)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
root (hd0,1)
kernel /boot/vmlinuz-2.6.24.1-88.1-default root=/dev/hda2 vga=0x317 resume=/dev/hda1 splash=silent showopts
initrd /boot/initrd-2.6.24.1-88.1-default

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Disquete
rootnoverify (hd0,0)
chainloader (fd0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
root (hd0,1)
kernel /boot/vmlinuz-2.6.24.1-88.1-default root=/dev/hda2 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd-2.6.24.1-88.1-default

4 - Na linha abaixo que está em negrito, iremos efetuar a alteração necessária para corrigir o problema:

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
root (hd0,1)
kernel /boot/vmlinuz-2.6.24.1-88.1-default root=/dev/hda2 vga=0x317 resume=/dev/hda1 splash=silent showopts
initrd /boot/initrd-2.6.24.1-88.1-default

5 - Insira a seguinte expressão na linha em negrito:
apm=off acpi=force mce=off barrier=off ide=nodma idewait=50 i8042.nomux psmouse.proto=bare irqpoll pci=nommconf

  • A linha completa ficará assim:
kernel /boot/vmlinuz-2.6.24.1-88.1-default root=/dev/hda2 vga=0x317 apm=off acpi=force mce=off barrier=off ide=nodma idewait=50 i8042.nomux psmouse.proto=bare irqpoll pci=nommconf resume=/dev/hda1 splash=silent showopts

6 - Saia do "vi" salvando o 'menu.lst' => "ESC" + "ZZ" e reinicie o computador para que as alterações possam ter efeito.

Nenhum comentário:

Powered By Blogger