por Oscar Hálio » 17 Mar 2019, 01:10 • MS 4
swapon -s
Nome do arquivo Tipo Tamanho Usado Prioridade
/dev/sda8 partition 2097148 0 -2
parece certo sda8 com 2gb para swap, só não sei o que significa usado -2
== Editado em 17 Mar 2019, 01:20 ==
/etc/default/grub
Vou tentar alterar, uso o grub customizer, mas vou tentar fazer na mão e posto o resultado
GRUB_DEFAULT="0"
GRUB_TIMEOUT="10"
GRUB_TIMEOUT_STYLE="menu"
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT="false"
# 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 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 'videoinfo'
GRUB_GFXMODE="auto"
# 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-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
== Editado em 17 Mar 2019, 04:22 ==
alterei manualmente o GRUB_CMDLINE_LINUX_DEFAULT=com o uuid e não deu certo.
tentei find e grep para buscar por todos arquivos no raiz recursivamente e acho que o problema está na atualização do kernel que ocorreu no mesmo dia que instalei o opensuse. Parece que existem arquivos em grub.d com o uuid antigo. Eles não são editáveis ou por aparecer já de cara no arquivo que eles são gerados por script, ou por serem binários ou algo assim (não sei se o termo binário cabe no linux ou só nos exe do windows). Gostaria de limpar entradas antigas de kernels anteriores e instalar o grub do zero como se o sistema acabasse de ser instalado. Será que é possível? Obrigado.
Editado pela última vez por
Oscar Hálio em 17 Mar 2019, 04:23, em um total de 2 vezes.
Razão: continuação dos testes.