Grub não quer atualizar resolução e nem tema. [RESOLVIDO]

1. Grub não quer atualizar resolução e nem tema. [RESOLVIDO]

Ghoost User
ghoostuser

(usa Arch Linux)

Enviado em 22/06/2018 - 19:26h

[ARCHLINUX]

Gente, me ajuda aqui, meu grub no Archlinux não quer atualizar a resolução...está sendo iniciado com 800x600 (eu acho), e depois volta a resolução normal do meu notebook. Já mudei o "GRUB_GFXMODE=1366x768x24" no arquivo "/etc/default/grub" e a resolução não altera. Também quando vou adicionar um tema esse tema não carrega no Grub. E pra varias, esta com erros de caracteres no menu do Grub para letras especiais, como o "ç", "~".

Eu não sei o que faço, já atualizei o grub com o comando "grubmkconfig -o /boot/grub/grub.cfg" e nada.

Vejam como está meu arquivo /etc/default/grub e o /etc/mkinitcpio.conf:


# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="cryptdevice=/dev/mapper/linux-home:filehome"

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true

# Uncomment to use basic console
# GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
# GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1366x768x24

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"

# Uncomment to get a beep at GRUB start
# GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires to
# set 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT="true"



# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(piix ide_disk reiserfs)

MODULES=(i915)

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES=()

# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS=(base)
#
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS=(base udev autodetect block filesystems)
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS=(base udev block filesystems)
#
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS=(base udev block mdadm encrypt filesystems)
#
## This setup loads an lvm2 volume group on a usb device.
# HOOKS=(base udev block lvm2 filesystems)
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.

## Default
HOOKS=(base udev autodetect modconf block encrypt lvm2 filesystems keyboard fsck)

# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()


Já rodei os dois comandos abaixo e nada:

mkinitcpio -p linux
grub-mkconfig -o /boot/grub/grub.cfg



Alguem sabe o motivo disso? Agradecido. :/


  


2. Re: Grub não quer atualizar resolução e nem tema. [RESOLVIDO]

Mauriciodez
Mauriciodez

(usa Debian)

Enviado em 22/06/2018 - 20:01h

experimentou fazer o simples ??
GRUB_GFXMODE=1366x768 


deixe a linha comentada
#GRUB_GFXPAYLOAD_LINUX=keep 


rode o comando para atualizar
sudo update-grub2 


------------------------------------------| Linux User #621728 |-----------------------------------------

" Nem sempre é amigo aquele que te tira do buraco !!! ( Saddam Hussein )"

------------------------------------------| Linux User #621728 |-----------------------------------------



3. Re: Grub não quer atualizar resolução e nem tema. [RESOLVIDO]

Ghoost User
ghoostuser

(usa Arch Linux)

Enviado em 22/06/2018 - 21:05h

Já fiz isso amigo, e nada :/


4. Re: Grub não quer atualizar resolução e nem tema. [RESOLVIDO]

Matheus
pylm

(usa Gentoo)

Enviado em 22/06/2018 - 21:28h

Tem dual boot com algum outro linux? Única coisa que consigo pensar nessa situação é que o outro linux está gerenciando o grub e nenhuma modificação que você fizer no grub do arch surtirá qualquer efeito.
É isso ou teu PC ta possuído por forças obscuras.


5. Re: Grub não quer atualizar resolução e nem tema.

Ghoost User
ghoostuser

(usa Arch Linux)

Enviado em 22/06/2018 - 22:00h

pylm escreveu:

Tem dual boot com algum outro linux? Única coisa que consigo pensar nessa situação é que o outro linux está gerenciando o grub e nenhuma modificação que você fizer no grub do arch surtirá qualquer efeito.
É isso ou teu PC ta possuído por forças obscuras.


rsrs poxa, assim fico com medo rs. O pior é que não tem nenhum sistema operacional instalao, apenas um partição (/dev/sda1) que esta em formato fat32...que eu deixei para instalar o windows. Mas de resto, esta assim:


NAME FSTYPE LABEL UUID MOUNTPOINT
loop1
sda
sda1 vfat 035C-EF1C
sda2 ext4 e3b99a32-a9c2-41dc-99c4-816822204cd9 /
sda3 LVM2_member fZSjI9-LmCN-5l9o-AAQp-qRwi-SkfO-NChCTG
linux-swap swap d0f5aed7-a7b1-4178-82ba-7e22926c926f [SWAP]
linux-home crypto_LUKS f8f2f3d0-4d57-477e-8a74-7a8b0d7ef15f



O Archlinux ta instalado no /dev/sda2.

NOTE: Essa LVM criptografada não está sendo a causa.


6. Re: Grub não quer atualizar resolução e nem tema. [RESOLVIDO]

Alberto Federman Neto.
albfneto

(usa Sabayon)

Enviado em 22/06/2018 - 22:13h

Olha, porque não vermos o arquivo principal do grub inteiro? poste a saída deste comando aqui no VOL:

$ sudo cat /boot.grub/grub.cfg 


¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
Albfneto,
Ribeirão Preto, S.P., Brasil.
Usuário Linux, Linux Counter: #479903.
Distros Favoritas: Sabayon, Gentoo, openSUSE, Mageia e OpenMandriva.


7. Re: Grub não quer atualizar resolução e nem tema.

Ghoost User
ghoostuser

(usa Arch Linux)

Enviado em 22/06/2018 - 22:32h

albfneto escreveu:

Olha, porque não vermos o arquivo principal do grub inteiro? poste a saída deste comando aqui no VOL:

$ sudo cat /boot.grub/grub.cfg 


¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
Albfneto,
Ribeirão Preto, S.P., Brasil.
Usuário Linux, Linux Counter: #479903.
Distros Favoritas: Sabayon, Gentoo, openSUSE, Mageia e OpenMandriva.



Oi Albfneto :) Tá postado:

cat /boot/grub/grub.cfg


#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

if loadfont unicode ; then
set gfxmode=1366x768
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=pt_BR
insmod gettext
fi
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
play 480 440 1
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e3b99a32-a9c2-41dc-99c4-816822204cd9' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//[email protected],msdos2' --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 e3b99a32-a9c2-41dc-99c4-816822204cd9
else
search --no-floppy --fs-uuid --set=root e3b99a32-a9c2-41dc-99c4-816822204cd9
fi
echo 'Carregando o Linux linux...'
linux /boot/vmlinuz-linux root=UUID=e3b99a32-a9c2-41dc-99c4-816822204cd9 rw cryptdevice=/dev/mapper/linux-home:filehome quiet
echo 'Carregando o ramdisk inicial...'
initrd /boot/initramfs-linux.img
}
submenu 'Opções avançadas para Arch Linux' $menuentry_id_option 'gnulinux-advanced-e3b99a32-a9c2-41dc-99c4-816822204cd9' {
menuentry 'Arch Linux, com o Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-e3b99a32-a9c2-41dc-99c4-816822204cd9' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//[email protected],msdos2' --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 e3b99a32-a9c2-41dc-99c4-816822204cd9
else
search --no-floppy --fs-uuid --set=root e3b99a32-a9c2-41dc-99c4-816822204cd9
fi
echo 'Carregando o Linux linux...'
linux /boot/vmlinuz-linux root=UUID=e3b99a32-a9c2-41dc-99c4-816822204cd9 rw cryptdevice=/dev/mapper/linux-home:filehome quiet
echo 'Carregando o ramdisk inicial...'
initrd /boot/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-e3b99a32-a9c2-41dc-99c4-816822204cd9' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//[email protected],msdos2' --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 e3b99a32-a9c2-41dc-99c4-816822204cd9
else
search --no-floppy --fs-uuid --set=root e3b99a32-a9c2-41dc-99c4-816822204cd9
fi
echo 'Carregando o Linux linux...'
linux /boot/vmlinuz-linux root=UUID=e3b99a32-a9c2-41dc-99c4-816822204cd9 rw cryptdevice=/dev/mapper/linux-home:filehome quiet
echo 'Carregando o ramdisk inicial...'
initrd /boot/initramfs-linux-fallback.img
}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###






8. Re: Grub não quer atualizar resolução e nem tema. [RESOLVIDO]

Ghoost User
ghoostuser

(usa Arch Linux)

Enviado em 23/06/2018 - 18:05h

Se quiserem meu lspci está ai:


00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
07:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
0d:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
13:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner
Linux banner
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts