[SOLVED] can't access graphical grub2 boot loader menu screen
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
can't access graphical grub2 boot loader menu screen
Helllo.
When my centos7 starting up i immediately press "esc" button to get into the grub2 boot loader and i expected to see a graphical menu of grub (as in many systems i saw!) but i see just a black and white screen menu without any background and so on.
So what can i do to have that graphical menu or did i incorrectly pressed "esc" button?
I am curious. Is it the first time you are booting this machine?
I use CentOS on a server and I don't remember ever pressing ESC to access grub. Normally the boot loader is the first thing which the machine loads, by default.
I Tried so many methods , but i couldn't configure to have that graphical menu with background or theme, here is my /etc/defaults/grub entries and later is black screen menu that i see now when i boot the system.
No i'm using centos about two months, my friend. I Tried so many methods , but i couldn't configure to have that graphical menu with background or theme, here is my /etc/defaults/grub entries and later is black screen menu that i see now when i boot the system.
can't access graphical grub2 boot loader menu screen
Now i searched further and it seems everything is true in my /etc/default/grub file. i set gfxterm and gfxmode, even pf2 font with arial.pf2 generated by grub2.mkfont , background image and so on. but still don't see backgrounded menu .here is my /etc/default/grub output:
I don't believe CentOS uses a GUI screen. I have CentOS 7 in a VM and it uses a plain text display.
Remember that CentOS is a server distro. By and large, persons who run servers really aren't interested in eye candy. In the enterprise, many servers live in racks and are administered remotely via ssh or similar tools.
can't access graphical grub2 boot loader menu screen
Quote:
Originally Posted by frankbell
I don't believe CentOS uses a GUI screen. I have CentOS 7 in a VM and it uses a plain text display.
Remember that CentOS is a server distro. By and large, persons who run servers really aren't interested in eye candy. In the enterprise, many servers live in racks and are administered remotely via ssh or similar tools.
Thanks for help.
of course I know these, i just saw that backgrounded menu in a centos 6.5 , but maybe or surely it's not possible to have that on centos 7 with this two completely days searching on the web. really i surprised myself, too when i saw that backgrounded menu on centos 6.5!! maybe grub versions less that 2.0 support that on centos. however i was really Curioused and tried that.
I don't think this is anything to do with Centos. It is more of a Grub issue. Your file uses the old style method of theming and fonts. I would comment out grub_background and grub_font and insert the following
The path name varies. You also have to install DejaVU fonts and grub-theme. The package names vary. The theme and font size are set in theme.txt. Finally
Code:
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
If Grub says it found theme.txt, it should work. If not, you have to troubleshoot. If there is error, it is usually because dejavu pf2 fonts missing.
Last edited by plasmonics; 10-08-2016 at 07:25 AM.
I don't think this is anything to do with Centos. It is more of a Grub issue. Your file uses the old style method of theming and fonts. I would comment out grub_background and grub_font and insert the following
The path name varies. You also have to install DejaVU fonts and grub-theme. The package names vary. The theme and font size are set in theme.txt. Finally
Code:
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
If Grub says it found theme.txt, it should work. If not, you have to troubleshoot. If there is error, it is usually because dejavu pf2 fonts missing.
Thanks for your help, i tried all of that you said in previous reply, i added starfield theme as you told and grub FOUND my theme then i installed dejavu package and converted one of them from ttf to pf2 with grub2.mkfont command.
After all of these when i rebooted the system before that boot loader black screen be appear i saw an error that said : "invalid video mode specifications ?1024*768*32?" , i think i should change grub_gfxmode resolution , i guess it's a bigger size than the system requires, but what resolution?? how can i find out?
I would try commenting out grub_gfxmode. It should read the resolution directly off the efi firmware.
I Deleted grub_gfxmode and it worked, the theme was appeared . Now only thing that changed is the boot loader, logs and login screen size before going to gnome desktop are in half sized than before were and are so small!!
however thanks for your help my friend.
You have to increase the font sizes using grub2-mkfont. I use very large fonts, size 20 and 22. Then edit theme.txt and enter those changes. The colours can also be changes using rgb hex format.
You have to increase the font sizes using grub2-mkfont. I use very large fonts, size 20 and 22. Then edit theme.txt and enter those changes. The colours can also be changes using rgb hex format.
Not the font size, it's ok. i meant boot loader screen size, it's not full screen!
You might have to troubleshoot. Mine is full screen for all distros, incl Centos. The version of Centos I installed on my desktop is 7. Screen size is ok. One possibility is you might have to try grub_gfxmode with just the resolution, but without the color depth.
Last edited by plasmonics; 10-08-2016 at 11:10 AM.
You might have to troubleshoot. Mine is full screen for all distros, incl Centos. The version of Centos I installed on my desktop is 7. Screen size is ok. One possibility is you might have to try grub_gfxmode with just the resolution, but without the color depth.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.