Novo Grub
Ahoy!!!
Bom, atualizei o grub para a nova versão e tive alguns problemas de início, pois ao iniciar, eu recebia a mensagem informando que o parâmetro vga não era mais suportado e que era para utilizar o parâmetro gfxpayload ao invés.
O problema é que utilizar o gfxpayload implica em não conseguir utilizar mais o splashy.
Como resolver o problema?
Bom, verifiquei que bastava uma mudança no script de inicialização do splashy, conforme pode ser visto abaixo:
cat /etc/init.d/splashy
…
check_to_enable () {
ENABLE=0
SINGLE=false
SPLASH=false
FBMODESET=false
for x in $(cat /proc/cmdline); do
case $x in
single)
SINGLE=”true”
;;
splash)
SPLASH=”true”
;;
nosplash)
SPLASH=”false”
;;
vga=*|video=*|gfxpayload=*)
FBMODESET=”true”
;;
esac
done
[ "$SPLASH" = "true" -a "$FBMODESET" = "true" ] && ENABLE=1
[ "$SINGLE" = "true" ] && ENABLE=0
…
Além disso, modifiquei o grub.cfg e o /etc/default/grub:
cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,7)
search –no-floppy –fs-uuid –set fba033a7-3285-4c3e-9ebe-e4be531efff7
if loadfont /share/grub/ascii.pf2 ; then
set gfxmode=640×480
set gfxpayload=1024x768x16
# set gfxmode=1024×768@32
# set gfxpayload=1024x768x32
insmod vbe
insmod gfxterm
if terminal_output.gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don’t
# understand terminal_output
terminal gfxterm
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set root=(hd0,7)
search –no-floppy –fs-uuid –set fba033a7-3285-4c3e-9ebe-e4be531efff7
insmod tga
if background_image /share/images/grub/Windbuchencom.tga ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry “Debian GNU/Linux, Linux 2.6.26-1-amd64″ {
set root=(hd0,5)
search –no-floppy –fs-uuid –set 1106f027-963b-4f7a-ab92-59bcd0a08b70
linux /boot/vmlinuz-2.6.26-1-amd64 root=UUID=1106f027-963b-4f7a-ab92-59bcd0a08b70 ro quiet splash gfxpayload=1024x768x16
initrd /boot/initrd.img-2.6.26-1-amd64
}
menuentry “Debian GNU/Linux, Linux 2.6.26-1-amd64 (recovery mode)” {
set root=(hd0,5)
search –no-floppy –fs-uuid –set 1106f027-963b-4f7a-ab92-59bcd0a08b70
linux /boot/vmlinuz-2.6.26-1-amd64 root=UUID=1106f027-963b-4f7a-ab92-59bcd0a08b70 ro single
initrd /boot/initrd.img-2.6.26-1-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_otheros ###
### END /etc/grub.d/30_otheros ###
### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
Ittekimasu!!!


Excelente! Ajudou muito. Eu vou seguir seu blog, apesar de achar a seção sobre Deus um tanto irritante.
Mas isso não é sua culpa, é de Deus.
Oi Mercutio22;
Independente de qualquer coisa, Deus lhe ama da mesma forma.

Bom, tenho postado pouco sobre Linux, mas devo voltar a colocar mais informações sobre o sistema do pinguin.
Fico feliz em saber que você estará seguindo o blog.
[]‘s,
Still
I searched many websites and here i found what i was looking for, thanks for valuable article
Hi Gry;
You are welcome. I’m glad that the article helped you.
[]‘s,
Still