LinuxForum.Fans
Тема

Консоль низкого разрешения

Автор: measles 49 сообщений 5701 просмотров
#388128

Консоль при переключении по ALT+Fx - 800x600, в F7 нормально - 1920X1080. Linux 3.11.10-17-desktop x86_64. Карта - NVIDIA GeForce GTX 550 Ti. Драйвера проприетарные. Не могу поменять разрешение. echo GRUB_GFXPAYLOAD_LINUX=1280x1024x8 && grub2-mkconfig -o /boot/grub2/grub.cfg пробовал - не помогает.

#388130

measles,
Покажите:
[console]hwinfo --framebuffer
cat /etc/default/grub[/console]

#388138

hwinfo --framebuffer

Показать

02: None 00.0: 11001 VESA Framebuffer
[Created at bios.459]
Unique ID: rdCR._oMLhpnq0pA
Hardware Class: framebuffer
Model: "NVIDIA GF106B Board - 10500000"
Vendor: "NVIDIA Corporation"
Device: "GF106B Board - 10500000"
SubVendor: "NVIDIA"
SubDevice:
Revision: "Chip Rev"
Memory Size: 14 MB
Memory Range: 0xe9000000-0xe9dfffff (rw)
Mode 0x0300: 640x400 (+640), 8 bits
Mode 0x0301: 640x480 (+640), 8 bits
Mode 0x0303: 800x600 (+800), 8 bits
Mode 0x0305: 1024x768 (+1024), 8 bits
Mode 0x0307: 1280x1024 (+1280), 8 bits
Mode 0x030e: 320x200 (+640), 16 bits
Mode 0x030f: 320x200 (+1280), 24 bits
Mode 0x0311: 640x480 (+1280), 16 bits
Mode 0x0312: 640x480 (+2560), 24 bits
Mode 0x0314: 800x600 (+1600), 16 bits
Mode 0x0315: 800x600 (+3200), 24 bits
Mode 0x0317: 1024x768 (+2048), 16 bits
Mode 0x0318: 1024x768 (+4096), 24 bits
Mode 0x031a: 1280x1024 (+2560), 16 bits
Mode 0x031b: 1280x1024 (+5120), 24 bits
Mode 0x0330: 320x200 (+320), 8 bits
Mode 0x0331: 320x400 (+320), 8 bits
Mode 0x0332: 320x400 (+640), 16 bits
Mode 0x0333: 320x400 (+1280), 24 bits
Mode 0x0334: 320x240 (+320), 8 bits
Mode 0x0335: 320x240 (+640), 16 bits
Mode 0x0336: 320x240 (+1280), 24 bits
Mode 0x033d: 640x400 (+1280), 16 bits
Mode 0x033e: 640x400 (+2560), 24 bits
Mode 0x0360: 1280x800 (+1280), 8 bits
Mode 0x0361: 1280x800 (+5120), 24 bits
Config Status: cfg=no, avail=yes, need=no, active=unknown

cat /etc/default/grub

Показать

# Modified by YaST2. Last modification on Пт июл 25 00:18:42 NOVT 2014
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader

# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
# /boot/grub2/grub.cfg.
GRUB_DISTRIBUTOR="openSUSE 13.1"
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=8
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/sda3 splash=silent quiet showopts nomodeset elevator=noop vga=795"
# kernel command line options for failsafe mode
GRUB_CMDLINE_LINUX_RECOVERY="showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM=0x01234567,0xfefefefe,0x89abcdef,0xefefefef
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=gfxterm
# 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_GFXPAYLOAD_LINUX=1024x768x32
#GRUB_GFXMODE=1024x768x32
GRUB_GFXMODE=1280x1024

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY=true
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# Skip 30_os-prober if you experienced very slow in probing them
# WARNING foregin OS menu entries will be lost if set true here
GRUB_DISABLE_OS_PROBER=false
GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
GRUB_BACKGROUND=/boot/grub2/themes/openSUSE/background.png
GRUB_USE_LINUXEFI=false
#388143

measles,
В файле /etc/default/grub:
1) Строку:

text
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/sda3 splash=silent quiet showopts nomodeset elevator=noop vga=795"

Приведите к следующему виду:

text
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/sda3 splash=silent quiet showopts nomodeset elevator=noop"

2) Строку:

text
#GRUB_GFXPAYLOAD_LINUX=1024x768x32

Приведите к следующему виду:

text
GRUB_GFXPAYLOAD_LINUX=1280x1024x8

3) Далее, выполнить:
[console=root]mkinitrd && grub2-mkconfig -o /boot/grub2/grub.cfg[/console]
4) Проверка перезагрузкой.

#388146

verg, не помогло.
Может быть, тут как-то причастно то, у меня grub2-efi?

#388253
"measles" написал:
Может быть, тут как-то причастно то, у меня grub2-efi?

Нет.


measles,
Покажите:

text
grep video /etc/group
grep nouveau /etc/modprobe.d/50-blacklist.conf
grep NO_KMS_IN_INITRD /etc/sysconfig/kernel
grep -i driver /var/log/Xorg.0.log
cat /etc/default/grub 
#388283

verg,
grep video /etc/group

Показать
video:x:33:measles

grep nouveau /etc/modprobe.d/50-blacklist.conf

Показать
blacklist nouveau

grep NO_KMS_IN_INITRD /etc/sysconfig/kernel

Показать
NO_KMS_IN_INITRD="yes"

grep -i driver /var/log/Xorg.0.log

Показать
[ 2.515] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 2.515] X.Org Video Driver: 14.1
[ 2.515] X.Org XInput driver : 19.1
[ 2.623] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 2.623] Module class: X.Org Video Driver
[ 2.623] (II) NVIDIA dlloader X Driver 340.24 Wed Jul 2 14:42:23 PDT 2014
[ 2.623] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 3.076] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[ 3.111] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 3.200] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 3.247] Module class: X.Org XInput Driver
[ 3.247] ABI class: X.Org XInput driver, version 19.1
[ 3.247] (II) Using input driver 'evdev' for 'Power Button'
[ 3.263] (II) Using input driver 'evdev' for 'Power Button'
[ 3.263] (II) No input driver specified, ignoring this device.
[ 3.263] (II) No input driver specified, ignoring this device.
[ 3.264] (II) No input driver specified, ignoring this device.
[ 3.264] (II) No input driver specified, ignoring this device.
[ 3.264] (II) Using input driver 'evdev' for 'USB Optical Wheel Mouse'
[ 3.264] (II) No input driver specified, ignoring this device.
[ 3.264] (II) Using input driver 'evdev' for 'A4 TECH USB2.0 PC Camera J'
[ 3.265] (II) Using input driver 'evdev' for 'SIGMACH1P USB Keykoard'
[ 3.265] (II) Using input driver 'evdev' for 'SIGMACH1P USB Keykoard'
[ 3.266] (II) No input driver specified, ignoring this device.
[ 3.266] (II) No input driver specified, ignoring this device.
[ 3.266] (II) No input driver specified, ignoring this device.
[ 3.266] (II) No input driver specified, ignoring this device.
[ 3.266] (II) No input driver specified, ignoring this device.
[ 3.266] (II) No input driver specified, ignoring this device.
[ 3.266] (II) No input driver specified, ignoring this device.
[ 74.841] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will

cat /etc/default/grub

Показать
# Modified by YaST2. Last modification on Пт авг 1 00:31:17 NOVT 2014
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader

# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
# /boot/grub2/grub.cfg.
GRUB_DISTRIBUTOR="openSUSE 13.1"
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/sda2 splash=silent quiet showopts vga=0x307"
# kernel command line options for failsafe mode
GRUB_CMDLINE_LINUX_RECOVERY="showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM=0x01234567,0xfefefefe,0x89abcdef,0xefefefef
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=gfxterm
# 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=1280x1024
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY=true
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# Skip 30_os-prober if you experienced very slow in probing them
# WARNING foregin OS menu entries will be lost if set true here
GRUB_DISABLE_OS_PROBER=false
GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
GRUB_BACKGROUND=/boot/grub2/themes/openSUSE/background.png
GRUB_USE_LINUXEFI=false
#388296
"measles" написал:
cat /etc/default/grub

Где здесь GRUB_GFXPAYLOAD_LINUX=...?

#388301

kostik87,
Пробую разные варианты, вот последний (тот, что советовали выше)
cat /etc/default/grub

Показать
# Modified by YaST2. Last modification on Пт июл 25 00:18:42 NOVT 2014
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader

# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
# /boot/grub2/grub.cfg.
GRUB_DISTRIBUTOR="openSUSE 13.1"
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=8
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/sda3 splash=silent quiet showopts nomodeset elevator=noop"
# kernel command line options for failsafe mode
GRUB_CMDLINE_LINUX_RECOVERY="showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM=0x01234567,0xfefefefe,0x89abcdef,0xefefefef
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=gfxterm
# 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_GFXPAYLOAD_LINUX=1024x768x8
GRUB_GFXMODE=1280x1024
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY=true
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# Skip 30_os-prober if you experienced very slow in probing them
# WARNING foregin OS menu entries will be lost if set true here
GRUB_DISABLE_OS_PROBER=false
GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
GRUB_BACKGROUND=/boot/grub2/themes/openSUSE/background.png
GRUB_USE_LINUXEFI=false
#388302

measles,
Выполните:
measles,
В файле /etc/default/grub:
Открыть файл можно так:
[console=user]kdesu kwrite /etc/default/grub[/console]
1) Строку:

text
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/sda2 splash=silent quiet showopts vga=0x307"

Приведите к следующему виду:

text
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/sda2 splash=silent quiet showopts "

2) Добавьте новую строку:

text
GRUB_GFXPAYLOAD_LINUX=1280x1024x8

3) Далее, выполнить:
[console=root]mkinitrd && grub2-mkconfig -o /boot/grub2/grub.cfg[/console]
4) Проверка перезагрузкой.




з.ы. после всего покажите ещё раз:
[console]cat /etc/default/grub[/console]

#388303
"measles" написал:
Пробую разные варианты, вот последний (тот, что советовали выше)

Этот выше не советовали. (там другие значения параметров)




measles,
Покажите:
[console=root]cat /boot/grub2/grub.cfg[/console]

#388305

verg,

text
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/sda2 splash=silent quiet showopts 

Вы, наверно, в этой строке пропустили последние кавычки?
cat /boot/grub2/grub.cfg

Показать
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
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="${saved_entry}"
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 [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
font="/usr/share/grub2/unicode.pf2"
fi

if loadfont $font ; then
set gfxmode=1280x1024
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=ru_RU
insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
insmod png
set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
export theme
if [ x${boot_once} = xtrue ]; then
set timeout=0
elif sleep --interruptible 0 ; then
set timeout=8
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE 13.1' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4671b7ce-8aa6-45ce-9eb2-d9d369d38b66' {
load_video
set gfxpayload=1024x768x8
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
echo 'Загружается Linux 3.11.10-17-desktop …'
linux /boot/vmlinuz-3.11.10-17-desktop root=UUID=4671b7ce-8aa6-45ce-9eb2-d9d369d38b66 resume=/dev/sda2 splash=silent quiet showopts
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.11.10-17-desktop
}
submenu 'Дополнительные параметры для openSUSE 13.1' $menuentry_id_option 'gnulinux-advanced-4671b7ce-8aa6-45ce-9eb2-d9d369d38b66' {
menuentry 'openSUSE 13.1, с Linux 3.11.10-17-desktop' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.10-17-desktop-advanced-4671b7ce-8aa6-45ce-9eb2-d9d369d38b66' {
load_video
set gfxpayload=1024x768x8
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
echo 'Загружается Linux 3.11.10-17-desktop …'
linux /boot/vmlinuz-3.11.10-17-desktop root=UUID=4671b7ce-8aa6-45ce-9eb2-d9d369d38b66 resume=/dev/sda2 splash=silent quiet showopts
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.11.10-17-desktop
}
menuentry 'openSUSE 13.1, с Linux 3.11.10-17-desktop (режим восстановления)' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.10-17-desktop-recovery-4671b7ce-8aa6-45ce-9eb2-d9d369d38b66' {
load_video
set gfxpayload=1024x768x8
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
echo 'Загружается Linux 3.11.10-17-desktop …'
linux /boot/vmlinuz-3.11.10-17-desktop root=UUID=4671b7ce-8aa6-45ce-9eb2-d9d369d38b66 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.11.10-17-desktop
}
menuentry 'openSUSE 13.1, с Linux 3.11.6-4-desktop' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.6-4-desktop-advanced-4671b7ce-8aa6-45ce-9eb2-d9d369d38b66' {
load_video
set gfxpayload=1024x768x8
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
echo 'Загружается Linux 3.11.6-4-desktop …'
linux /boot/vmlinuz-3.11.6-4-desktop root=UUID=4671b7ce-8aa6-45ce-9eb2-d9d369d38b66 resume=/dev/sda2 splash=silent quiet showopts
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.11.6-4-desktop
}
menuentry 'openSUSE 13.1, с Linux 3.11.6-4-desktop (режим восстановления)' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.6-4-desktop-recovery-4671b7ce-8aa6-45ce-9eb2-d9d369d38b66' {
load_video
set gfxpayload=1024x768x8
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
echo 'Загружается Linux 3.11.6-4-desktop …'
linux /boot/vmlinuz-3.11.6-4-desktop root=UUID=4671b7ce-8aa6-45ce-9eb2-d9d369d38b66 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.11.6-4-desktop
}
}

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'openSUSE 13.1 Memtest' --class opensuse --class memtest86 --class gnu --class tools $menuentry_id_option 'memtest-4671b7ce-8aa6-45ce-9eb2-d9d369d38b66' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
echo 'Loading memtest ...'
linux16 /boot/memtest.bin
}
### END /etc/grub.d/20_memtest86+ ###

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

### 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 ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###

cat /etc/default/grub

Показать
# Modified by YaST2. Last modification on Пт июл 25 00:18:42 NOVT 2014
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader

# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
# /boot/grub2/grub.cfg.
GRUB_DISTRIBUTOR="openSUSE 13.1"
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=8
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/sda2 splash=silent quiet showopts"
# kernel command line options for failsafe mode
GRUB_CMDLINE_LINUX_RECOVERY="showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM=0x01234567,0xfefefefe,0x89abcdef,0xefefefef
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=gfxterm
# 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_GFXPAYLOAD_LINUX=1024x768x8
GRUB_GFXMODE=1280x1024
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY=true
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# Skip 30_os-prober if you experienced very slow in probing them
# WARNING foregin OS menu entries will be lost if set true here
GRUB_DISABLE_OS_PROBER=false
GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
GRUB_BACKGROUND=/boot/grub2/themes/openSUSE/background.png
GRUB_USE_LINUXEFI=false
#388306
"measles" написал:
Вы, наверно, в этой строке пропустили последние кавычки?

Да. (поправил)

#388307

measles,
Ещё раз покажите текущий:
[console]cat /etc/default/grub[/console]

#388309

verg,
cat /etc/default/grub

Показать
# Modified by YaST2. Last modification on Пт июл 25 00:18:42 NOVT 2014
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader

# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
# /boot/grub2/grub.cfg.
GRUB_DISTRIBUTOR="openSUSE 13.1"
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=8
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/sda2 splash=silent quiet showopts"
# kernel command line options for failsafe mode
GRUB_CMDLINE_LINUX_RECOVERY="showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM=0x01234567,0xfefefefe,0x89abcdef,0xefefefef
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=gfxterm
# 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_GFXPAYLOAD_LINUX=1024x768x8
GRUB_GFXMODE=1280x1024
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY=true
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# Skip 30_os-prober if you experienced very slow in probing them
# WARNING foregin OS menu entries will be lost if set true here
GRUB_DISABLE_OS_PROBER=false
GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
GRUB_BACKGROUND=/boot/grub2/themes/openSUSE/background.png
GRUB_USE_LINUXEFI=false

Такое ощущение, что система на этот файл вообще не смотрит.

#388311

measles,
Выполните:
1) Строку:

text
GRUB_GFXPAYLOAD_LINUX=1024x768x8

замените на:

text
GRUB_GFXPAYLOAD_LINUX=1280x1024x8

2) Строку:

text
GRUB_GFXMODE=1280x1024

замените на:

text
GRUB_GFXMODE=auto

3) Далее, выполнить:
[console=root]mkinitrd && grub2-mkconfig -o /boot/grub2/grub.cfg[/console]
4) Перезагрузиться.


После перезагрузки покажите:
[console=user]cat /etc/default/grub[/console]
[console=root]cat /boot/grub2/grub.cfg[/console]

#388313

verg,

"verg" написал:
[user@linuxforum.ru ~]$ cat /etc/default/grub
Показать
cat: /etc/default/grub: Отказано в доступе

# cat /etc/default/grub

Показать
cat /etc/default/grub
# Modified by YaST2. Last modification on Пт июл 25 00:18:42 NOVT 2014
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader

# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
# /boot/grub2/grub.cfg.
GRUB_DISTRIBUTOR="openSUSE 13.1"
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=8
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/sda2 splash=silent quiet showopts"
# kernel command line options for failsafe mode
GRUB_CMDLINE_LINUX_RECOVERY="showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM=0x01234567,0xfefefefe,0x89abcdef,0xefefefef
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=gfxterm
# 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_GFXPAYLOAD_LINUX=1280x1024x8
GRUB_GFXMODE=auto
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY=true
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# Skip 30_os-prober if you experienced very slow in probing them
# WARNING foregin OS menu entries will be lost if set true here
GRUB_DISABLE_OS_PROBER=false
GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
GRUB_BACKGROUND=/boot/grub2/themes/openSUSE/background.png
GRUB_USE_LINUXEFI=false

cat /boot/grub2/grub.cfg

Показать
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
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="${saved_entry}"
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 [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
font="/usr/share/grub2/unicode.pf2"
fi

if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=ru_RU
insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
insmod png
set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
export theme
if [ x${boot_once} = xtrue ]; then
set timeout=0
elif sleep --interruptible 0 ; then
set timeout=8
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE 13.1' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4671b7ce-8aa6-45ce-9eb2-d9d369d38b66' {
load_video
set gfxpayload=1280x1024x8
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
echo 'Загружается Linux 3.11.10-17-desktop …'
linux /boot/vmlinuz-3.11.10-17-desktop root=UUID=4671b7ce-8aa6-45ce-9eb2-d9d369d38b66 resume=/dev/sda2 splash=silent quiet showopts
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.11.10-17-desktop
}
submenu 'Дополнительные параметры для openSUSE 13.1' $menuentry_id_option 'gnulinux-advanced-4671b7ce-8aa6-45ce-9eb2-d9d369d38b66' {
menuentry 'openSUSE 13.1, с Linux 3.11.10-17-desktop' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.10-17-desktop-advanced-4671b7ce-8aa6-45ce-9eb2-d9d369d38b66' {
load_video
set gfxpayload=1280x1024x8
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
echo 'Загружается Linux 3.11.10-17-desktop …'
linux /boot/vmlinuz-3.11.10-17-desktop root=UUID=4671b7ce-8aa6-45ce-9eb2-d9d369d38b66 resume=/dev/sda2 splash=silent quiet showopts
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.11.10-17-desktop
}
menuentry 'openSUSE 13.1, с Linux 3.11.10-17-desktop (режим восстановления)' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.10-17-desktop-recovery-4671b7ce-8aa6-45ce-9eb2-d9d369d38b66' {
load_video
set gfxpayload=1280x1024x8
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
echo 'Загружается Linux 3.11.10-17-desktop …'
linux /boot/vmlinuz-3.11.10-17-desktop root=UUID=4671b7ce-8aa6-45ce-9eb2-d9d369d38b66 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.11.10-17-desktop
}
menuentry 'openSUSE 13.1, с Linux 3.11.6-4-desktop' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.6-4-desktop-advanced-4671b7ce-8aa6-45ce-9eb2-d9d369d38b66' {
load_video
set gfxpayload=1280x1024x8
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
echo 'Загружается Linux 3.11.6-4-desktop …'
linux /boot/vmlinuz-3.11.6-4-desktop root=UUID=4671b7ce-8aa6-45ce-9eb2-d9d369d38b66 resume=/dev/sda2 splash=silent quiet showopts
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.11.6-4-desktop
}
menuentry 'openSUSE 13.1, с Linux 3.11.6-4-desktop (режим восстановления)' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.6-4-desktop-recovery-4671b7ce-8aa6-45ce-9eb2-d9d369d38b66' {
load_video
set gfxpayload=1280x1024x8
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
echo 'Загружается Linux 3.11.6-4-desktop …'
linux /boot/vmlinuz-3.11.6-4-desktop root=UUID=4671b7ce-8aa6-45ce-9eb2-d9d369d38b66 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.11.6-4-desktop
}
}

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'openSUSE 13.1 Memtest' --class opensuse --class memtest86 --class gnu --class tools $menuentry_id_option 'memtest-4671b7ce-8aa6-45ce-9eb2-d9d369d38b66' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
else
search --no-floppy --fs-uuid --set=root 4671b7ce-8aa6-45ce-9eb2-d9d369d38b66
fi
echo 'Loading memtest ...'
linux16 /boot/memtest.bin
}
### END /etc/grub.d/20_memtest86+ ###

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

### 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 ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
#388314

verg,
Может вывод

text
mkinitrd && grub2-mkconfig -o /boot/grub2/grub.cfg

показать?

#388315

measles,
И как?

#388316
"measles" написал:
Может вывод

mkinitrd && grub2-mkconfig -o /boot/grub2/grub.cfg

показать?

Не надо.

Войдите или зарегистрируйтесь, чтобы ответить.