LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-24-2023, 09:37 AM   #1
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Rep: Reputation: 13
GRUB Error: No suitable video mode found. Booting in blind mode. Dual booting 2 Slackware. Can login, can startx


I posted this on the 2nd Slackware64_15.0 install. I just want to ask here directly how to eliminate the grub error prompt before booting. I have NVIDIA card but I'm using nouveau drivers.

Quote:
error: no suitable video mode found
boot in blind mode
My first Slackware64 install is pure XFCE, 2nd is full install with alienbob's daw template.

I installed grub during first install with os-prober enabled. I didn't install any bootloader on the second install hoping the grub os-prober will take care of booting it properly. I can boot, login and startx on 2nd Slack obviously BUT there's always that error message, and it can be annoying.

I've tried some tweaks on /etc/default/grub file.
Quote:
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=$( sed 's/Slackware /Slackware-/' /etc/slackware-version )
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX=""
GRUB_PRELOAD_MODULE=all_video
...
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=console
...
# os-prober
GRUB_DISABLE_OS_PROBER=false
I was thinking of chrooting on my 2nd install and re-install grub from there. Thanks in advance fellow Slackers.

edit
I reinstalled both instances of Slackware64-15.0. Initially I used elilo on my Slackware01_XFCE then installed grub on Slackware02_Full+DAW. That error message is persistent.

edit2
Marking this as SOLVED. I'm no longer dual booting 2 instances of Slackware aotm. Slackware full install + alienbob's Daw template only. No error message. Thanks again fellow slackers.

Last edited by knet; 03-26-2023 at 04:18 AM. Reason: title
 
Old 03-24-2023, 12:52 PM   #2
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,757

Rep: Reputation: Disabled
-> if you can see the error then the display works, otherwise you'd see nothing.
-> if it behaves differently from what you expect, describe how do you think it's supposed to work.

Additionally, post full grub.cfg, this thing you quoted just shows you preload all_video and later you override it with "console" for whatever reason.
The console and gfxterm outputs are mutually exclusive, and you only need all_video if you use gfxterm output.
 
Old 03-24-2023, 10:19 PM   #3
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Original Poster
Rep: Reputation: 13
Quote:
Originally Posted by elcore View Post
-> if you can see the error then the display works, otherwise you'd see nothing.
I don't remember mentioning the display doesn't work. I said I can login and startx.

Quote:
-> if it behaves differently from what you expect, describe how do you think it's supposed to work.
I want the error message gone. That's all.

Quote:
Additionally, post full grub.cfg, this thing you quoted just shows you preload all_video and later you override it with "console" for whatever reason.
The console and gfxterm outputs are mutually exclusive, and you only need all_video if you use gfxterm output.
Yeah I'm sure I am not sure how to fix the error message that's why this thread. I thought it is better to tweak the /etc/default/grub file than the /boot/grub/grub.cfg if someone is going to adjust something with regards to grub settings. But yeah I'm sure I am not sure. Thanks anyway elcore, cheers!
 
Old 03-24-2023, 10:57 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,400

Rep: Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595
try one of these in place of all_video:
insmod eif_uga
insmod efi_gop
 
Old 03-25-2023, 12:18 AM   #5
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Original Poster
Rep: Reputation: 13
Thanks colorpurple21859. I tried both to no avail.
Code:
# If you change this file, run grub-mkconfig -o /boot/grub/grub.cfg
# afterwards to update /boot/grub/grub.cfg.

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=$( sed 's/Slackware /Slackware-/' /etc/slackware-version )
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX=""
#GRUB_PRELOAD_MODULE=all_video
GRUB_PRELOAD_MODULE=efi_uga
#GRUB_PRELOAD_MODULE=efi_gop

# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=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=640x480
#GRUB_GFXMODE=1024x768x32

# Font used on the graphical terminal:
#GRUB_FONT=/usr/share/grub/dejavusansmono.pf2

# 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_RECOVERY="true"

# os-prober
GRUB_DISABLE_OS_PROBER=false
 
Old 03-25-2023, 12:41 AM   #6
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Original Poster
Rep: Reputation: 13
Quote:
Originally Posted by colorpurple21859 View Post
try one of these in place of all_video:
insmod eif_uga
insmod efi_gop
in place of "all_video" as in
Code:
GRUB_PRELOAD_MODULE=all_video
will be
Code:
GRUB_PRELOAD_MODULE=insmod efi_gop
?
 
Old 03-25-2023, 12:51 AM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,400

Rep: Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595
No, insmod efi_gop is added to the grub menu at boot after pressing the e key for edit, You can do a quick check that way first before editing the grub file. I was copy and pasting, sorry about that, it would be GRUB_PRELOAD_MODULE=efi_gop in the /etc/default/grub file then run grub-mkcomfig.
three more to try:
video_bochs
video_cirrus
video_fb

Last edited by colorpurple21859; 03-25-2023 at 12:53 AM.
 
1 members found this post helpful.
Old 03-25-2023, 01:01 AM   #8
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Original Poster
Rep: Reputation: 13
Sorry I'm really noob when it comes to grub and many things linux. I will try again and report back asap.
 
Old 03-25-2023, 01:22 AM   #9
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Original Poster
Rep: Reputation: 13
Quote:
Originally Posted by colorpurple21859 View Post
No, insmod efi_gop is added to the grub menu at boot after pressing the e key for edit, You can do a quick check that way first before editing the grub file. I was copy and pasting, sorry about that, it would be GRUB_PRELOAD_MODULE=efi_gop in the /etc/default/grub file then run grub-mkcomfig.
three more to try:
video_bochs
video_cirrus
video_fb
Adding insmod efi_gop to the grub boot entry for my 2nd install seem to work. No error message now. How can i make that permanent? Will adding GRUB_PRELOAD_MODULE=efi_gop in the /etc/default/grub file do that?
 
Old 03-25-2023, 03:52 AM   #10
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,453

Rep: Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211
Have you tried to add the following to lines :

insmod all_video
insmod gfxterm

on top of /boot/grub/grub.cfg ?
 
Old 03-25-2023, 04:09 AM   #11
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Original Poster
Rep: Reputation: 13
No marav I haven't. I thought that changes in that file will be gone when we do grub-mkconfig that's why I'm leaning on tweaking the /etc/default/grub file. But I'm a total grub noob so that. I will try to do your suggestion but where exactly do I have to add those?
 
Old 03-25-2023, 04:14 AM   #12
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,453

Rep: Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211
Quote:
Originally Posted by knet View Post
No marav I haven't. I thought that changes in that file will be gone when we do grub-mkconfig that's why I'm leaning on tweaking the /etc/default/grub file. But I'm a total grub noob so that. I will try to do your suggestion but where exactly do I have to add those?
on top of the file
 
Old 03-25-2023, 04:23 AM   #13
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,453

Rep: Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211Reputation: 4211
Another trick you can try:
Code:
Disable framebuffer

Users who use NVIDIA proprietary driver might wish to disable GRUB's framebuffer as it can cause problems with the binary driver.
To disable framebuffer, edit /etc/default/grub and uncomment the following line:
GRUB_TERMINAL_OUTPUT=console

Another option if you want to keep the framebuffer in GRUB is to revert to text mode just before starting the kernel. To do that modify the variable in /etc/default/grub:
GRUB_GFXPAYLOAD_LINUX=text
https://wiki.archlinux.org/title/GRUB/Tips_and_tricks
 
1 members found this post helpful.
Old 03-25-2023, 04:31 AM   #14
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,581

Rep: Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500
Quote:
Will adding GRUB_PRELOAD_MODULE=efi_gop in the /etc/default/grub file do that?
You need to run grub-mkconfig command after making the change for it to be permanent. Making any change in the grub.cfg file will be overwritten and time grub is updated so that won't help unless you never update grub.
 
1 members found this post helpful.
Old 03-25-2023, 04:55 AM   #15
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Original Poster
Rep: Reputation: 13
Quote:
Originally Posted by marav View Post
Another trick you can try:
Code:
Disable framebuffer

Users who use NVIDIA proprietary driver might wish to disable GRUB's framebuffer as it can cause problems with the binary driver.
To disable framebuffer, edit /etc/default/grub and uncomment the following line:
GRUB_TERMINAL_OUTPUT=console

Another option if you want to keep the framebuffer in GRUB is to revert to text mode just before starting the kernel. To do that modify the variable in /etc/default/grub:
GRUB_GFXPAYLOAD_LINUX=text
https://wiki.archlinux.org/title/GRUB/Tips_and_tricks
I will try them all and thanks for the link

Quote:
Originally Posted by yancek View Post
You need to run grub-mkconfig command after making the change for it to be permanent. Making any change in the grub.cfg file will be overwritten and time grub is updated so that won't help unless you never update grub.
Thanks for confirming that, Sir.

Now I am looking at you rEFInd.
 
  


Reply

Tags
dual boot, error message, grub2, nvidia, slackware 15.0



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Solving grub "booting in blind mode" . I want to see the Tux penguins! emidevices Slackware 4 12-30-2021 02:06 AM
invalid video mode specification 1280x768 booting in blind mode. heromedel Linux - Newbie 8 05-16-2018 07:39 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
LXer: Proprietary browsers built on proprietary browsers: the blind leading the blind LXer Syndicated Linux News 0 09-15-2009 12:20 AM
Blind leading the Blind allforcarrie LinuxQuestions.org Member Intro 2 09-15-2004 01:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration