Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

[SOLVED] no suitable video mode found| booting in blind mode

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
ngahy
n00b
n00b
Posts: 31
Joined: Thu Aug 12, 2021 8:40 am

[SOLVED] no suitable video mode found| booting in blind mode

  • Quote

Post by ngahy » Thu Aug 12, 2021 8:58 am

Hello everyone.

I just installed Gentoo on my machine following the
Handbook and this
guide
for encrypted disk
. Everything worked fine untill booting the installed
OS.

First I was stuck on

Code: Select all

Loading initial ramdisk ... 

As the other guide says:
When using a LUKS passphrase and there is no visible prompt after loading the
initramfs, try typing the passphrase. If this continues loading try Grub
without gfxterm/ in text-only mode. Depending on the BIOS it might help to
boot legacy first to check if there's a prompt at all.
So I decided to run GRUB2 on text-mode only. Here is an extract of
/etc/default/grub

Code: Select all

GRUB_DISTRIBUTOR="Gentoo"
GRUB_CMDLINE_LINUX="dolvm crypt=UUID=...
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_TERMINAL=console
GRUB_GFXPAYLOAD_LINUX=text
Then, I have the two following lines after Loading initial ramdisk:

Code: Select all

error: nosuitable video mode found
Booting in blind mode

I tried adding insmod all_video in /boot/grub/grub.cfg but I get the same
thing.

I looked at similar questions in the gentoo and arch forums but I still have
this issue.

Note that CONFIG_FRAMEBUFFER_* features are all enabled in my
configuration. Same with CONFIG_EFI_* features.

Do you know where the issue comes from and how to solve it?

Thank you
Last edited by ngahy on Tue Aug 17, 2021 10:12 pm, edited 1 time in total.
Top
Goverp
Advocate
Advocate
User avatar
Posts: 2404
Joined: Wed Mar 07, 2007 6:41 pm

  • Quote

Post by Goverp » Thu Aug 12, 2021 9:27 am

IIUC, the messages

Code: Select all

error: nosuitable video mode found
Booting in blind mode
come from GRUB, so your kernel configuration is irrelevant at this point.
I came across this Ubuntu item that might help; or not.
Greybeard
Top
ngahy
n00b
n00b
Posts: 31
Joined: Thu Aug 12, 2021 8:40 am

  • Quote

Post by ngahy » Thu Aug 12, 2021 9:45 am

Goverp wrote:IIUC, the messages

Code: Select all

error: nosuitable video mode found
Booting in blind mode
come from GRUB, so your kernel configuration is irrelevant at this point.
I came across this Ubuntu item that might help; or not.
Added the same lines in my grub.cfg : I do not have the message about Booting in blind mode, however, it is stuck on Loading initial ramdisk

I added some precision on the kernel configuration because I came across some forums where people asked the kernel configuration for the same issue
Top
ngahy
n00b
n00b
Posts: 31
Joined: Thu Aug 12, 2021 8:40 am

  • Quote

Post by ngahy » Thu Aug 12, 2021 3:23 pm

I tried to install again with the same guide and I am still stuck on Loading initial ramdisk

Here are some materials:
.config : https://pastebin.com/hgPa3sJ8
grub.cfg: https://pastebin.com/LtZd78eW
blkid:

Code: Select all

/dev/loop0: TYPE="squashfs"
/dev/nvme0n1p1: UUID="6F07-FA00" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="grub" PARTUUID="0824cffe-505d-476f-a5bd-7c5f52bd442c"
/dev/nvme0n1p2: UUID="EDCA-2FF9" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="boot" PARTUUID="8aa18b8e-f348-4771-85ea-80c793238e40"
/dev/nvme0n1p3: UUID="b2670a94-041e-4133-8dc9-58c6278384a0" TYPE="crypto_LUKS" PARTLABEL="lvm" PARTUUID="cc58e84a-6469-4ce8-9716-1336fe3bc923"
/dev/sda1: BLOCK_SIZE="2048" UUID="2021-08-08-17-56-45-97" LABEL="Gentoo amd64 20210808T170546Z" TYPE="iso9660" PTUUID="7057d8c5" PTTYPE="dos" PARTUUID="7057d8c5-01"
/dev/sda2: SEC_TYPE="msdos" LABEL_FATBOOT="GENTOOLIVE" LABEL="GENTOOLIVE" UUID="ADDC-CDE8" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="7057d8c5-02"
/dev/mapper/lvm: UUID="ZZBdD3-nV0X-Xc0W-Mh3l-exlY-fY9C-kayrGc" TYPE="LVM2_member"
/dev/mapper/vg0-root: UUID="133177fa-24fa-4a71-a37d-59a1743460a6" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg0-var: UUID="18dd3474-5b22-4cca-8c13-28022f4a802d" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mapper/vg0-home: UUID="d8aba8b6-94c1-466c-bc95-8a778380223c" BLOCK_SIZE="4096" TYPE="ext4"
lspci -nk: https://pastebin.com/HUGPE0nr
Top
Goverp
Advocate
Advocate
User avatar
Posts: 2404
Joined: Wed Mar 07, 2007 6:41 pm

  • Quote

Post by Goverp » Thu Aug 12, 2021 7:11 pm

OK, I think the reason your GRUB graphics mode doesn't work is it's trying to load fonts etc. from within the LVM on the LUKS volume, and I think at that point they don't exist. I could be wrong - I don't know how clever GRUB is, but IIUC your setup expects your linux kernel to handle LUKS and LVM, so GRUB needn't be involved.

(The line

Code: Select all

search --no-floppy --fs-uuid --set=root --hint='lvmid/icUlx2-s4O2-Kjqk-5BD7-I2pf-SnTW-ZJfOoH/7lIvQf-0h0G-5vqT-Xxdb-jzd1-CATz-mvLV1F'  133177fa-24fa-4a71-a37d-59a1743460a6
)

It should now be working in text mode, but grub.cfg still says:

Code: Select all

terminal_output gfxterm
so the change to GRUB_TERMINAL=console doesn't seem to have taken effect. Did you redo grub-mkconfig?

I'm assuming /dev/nvme0n1p2 has a partition containing both /vmlinuz-5.10.52-gentoo-x86_64 and /initramfs-5.10.52-gentoo-x86_64.img (note, not in /boot on that disk. If you meant that, the linux/initrd lines would be /boot/vmlinux... or /boot/initramfs... and you'd need to adjust your GRUB settings.

Assuming none of the above help, you'll have to get help elsewhere, as you've built your kernel using genkernel, and I've no experience there. If nobody else chimes in on this thread, start a new one (as this one has been partly answered and other contributors will no longer see it as unanswered).
Greybeard
Top
larrys
Tux's lil' helper
Tux's lil' helper
Posts: 81
Joined: Mon Jul 20, 2020 9:41 pm
Location: New Jersey

  • Quote

Post by larrys » Fri Aug 13, 2021 2:02 am

ngahy,
I use lvm on luks.
I think this line:

Code: Select all

GRUB_CMDLINE_LINUX="dolvm crypt=UUID=... 
should be:

Code: Select all

GRUB_CMDLINE_LINUX="dolvm crypt_root=UUID=...
Actually I can see in your grub.cfg where you must have fixed that later.
Top
ngahy
n00b
n00b
Posts: 31
Joined: Thu Aug 12, 2021 8:40 am

  • Quote

Post by ngahy » Tue Aug 17, 2021 10:10 pm

larrys wrote:ngahy,
I use lvm on luks.
I think this line:

Code: Select all

GRUB_CMDLINE_LINUX="dolvm crypt=UUID=... 
should be:

Code: Select all

GRUB_CMDLINE_LINUX="dolvm crypt_root=UUID=...
Actually I can see in your grub.cfg where you must have fixed that later.
That was one part of the problem. The other issue was FB_SIMPLE that was not enabled in the Kernel. I enabled it, recompiled the kernel and stuff... then rebooted and now it works
Top
Post Reply

7 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic