help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't get a correct resolution


From: Andrei Borzenkov
Subject: Re: can't get a correct resolution
Date: Tue, 30 Jun 2015 19:17:52 +0300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

В Tue, 30 Jun 2015 08:41:06 +0200
François Patte <address@hidden> пишет:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Bonjour,
> 
> I am facing a resolution problem with grub2.
> 
> Install of Fedora 21
> 
> grub version: grub2-2.02-0.13.fc21
> 
> Here is my /etc/defaul/grub:
> 
> <--------------------
> GRUB_TIMEOUT="10"
> GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
> GRUB_DEFAULT="0"
> #GRUB_SAVEDEFAULT="true"
> GRUB_DISABLE_SUBMENU="true"
> GRUB_TERMINAL_OUTPUT="gfxterm"
> GRUB_CMDLINE_LINUX="rd.md.uuid=81f15cb5:748fb5c1:42bef1a6:1ea1ce47
> rd.lvm.lv=fedora/usr rd.md.uuid=4a28174a:f38b4938:233f85f7:6ce585a8
> rd.lvm.lv=fedora/racine rd.md.uuid=9f878179:a58f5c78:f645e22e:d7d3c896
> rd.lvm.lv=systeme/swap rhgb quiet"
> GRUB_DISABLE_RECOVERY="true"
> GRUB_GFXMODE="1280x1024x32"
> GRUB_GFXPAYLOAD_LINUX="keep"
> GRUB_BACKGROUND="/boot/grub2/themes/system/fireworks.png"
> 
> #GRUB_THEME="/boot/grub2/themes/system/theme.txt"
> export GRUB_COLOR_NORMAL="light-gray/black"
> export GRUB_COLOR_HIGHLIGHT="magenta/black"
> GRUB_FONT="/boot/grub2/unicode.pf2"
> <-------------------------
> 
> So, as far as I read the grub doc, because of
> GRUB_GFXPAYLOAD_LINUX="keep"
> 
> It is supposed to apply the 1280x1024 resolution to the console during
> the boot. But it is not the case! I get this resolution only with the
> grub first screen: fireworks image and the entry list.
> 
> What is missing in my config?
> 

If your kernel is using KMS drivers legacy VESA resolution is
effectively ignored. Try passing video=1280x1024 on kernel command line.

> Strangely, I have a "custom file": /etc/grub.d/40_custom, to boot a
> debian install:
> 
> <-------------------------------
>   menuentry 'Debian GNU/Linux, avec Linux 3.2.0-4-amd64' --class
> debian --class gnu-linux --class gnu --class os {
>         load_video
>         set gfxpayload=keep
>         insmod gzio
>         insmod mdraid09
>         insmod part_msdos
>         insmod part_msdos
>         insmod ext2
>         set root='(mduuid/eb8b5efe5a8f9369e940a0f383d63ad1)'
>         search --no-floppy --fs-uuid --set=root
> 17e0b155-4d77-4769-b568-723329c5f656
>         echo    'Chargement de Linux 3.2.0-4-amd64 ...'
>         linux   /vmlinuz-3.2.0-4-amd64
> root=/dev/mapper/debian-deb--racine ro  quiet
>         echo    'Chargement du disque mémoire initial ...'
>         initrd  /initrd.img-3.2.0-4-amd64
> }
> <-----------------------------------------
> 
> In that case, the "set gfxpayload=keep" instruction succeeds to give
> the correct resolution during the debian boot.
> 
> 
> Thanks for any help and suggestion.
> 
> - -- 
> François Patte
> UFR de mathématiques et informatique
> Laboratoire CNRS MAP5, UMR 8145
> Université Paris Descartes
> 45, rue des Saints Pères
> F-75270 Paris Cedex 06
> Tél. +33 (0)1 8394 5849
> http://www.math-info.univ-paris5.fr/~patte
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
> 
> iEYEARECAAYFAlWSOgEACgkQdE6C2dhV2JUeTACeLkWhAbRhZktUlgN05iu0JD1f
> nx0AnAl4Be7ZCYLmGWTeL0l7ROGqPojb
> =m72I
> -----END PGP SIGNATURE-----

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlWSwTEACgkQR6LMutpd94z6ugCgmmgWsNX17jAtWSnut+4LIq72
FEcAoLuR3SaGA+NfEu+b+uF8K0IAekRu
=zOIw
-----END PGP SIGNATURE-----

reply via email to

[Prev in Thread] Current Thread [Next in Thread]