Error no suitable video mode found booting in blind mode

Joined: 12 Aug 2021Posts: 31
View previous topic :: View next topic  
Author Message
ngahy
n00b
n00b

Joined: 12 Aug 2021
Posts: 31

PostPosted: Thu Aug 12, 2021 8:58 am    Post subject: [SOLVED] no suitable video mode found| booting in blind mode Reply with quote

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:
Loading initial ramdisk …

As the other guide says:

Quote:
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:
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:
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

Back to top

View user's profile Send private message

Goverp
Veteran
Veteran

Joined: 07 Mar 2007
Posts: 1610

PostPosted: Thu Aug 12, 2021 9:27 am    Post subject: Reply with quote

IIUC, the messages

Code:
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

Back to top

View user's profile Send private message

ngahy
n00b
n00b

Joined: 12 Aug 2021
Posts: 31

PostPosted: Thu Aug 12, 2021 9:45 am    Post subject: Reply with quote

Goverp wrote:
IIUC, the messages

Code:
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

Back to top

View user's profile Send private message

ngahy
n00b
n00b

Joined: 12 Aug 2021
Posts: 31

PostPosted: Thu Aug 12, 2021 3:23 pm    Post subject: Reply with quote

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:
/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

Back to top

View user's profile Send private message

Goverp
Veteran
Veteran

Joined: 07 Mar 2007
Posts: 1610

PostPosted: Thu Aug 12, 2021 7:11 pm    Post subject: Reply with quote

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

Back to top

View user's profile Send private message

larrys
Tux’s lil’ helper
Tux's lil' helper

Joined: 20 Jul 2020
Posts: 81
Location: New Jersey

PostPosted: Fri Aug 13, 2021 2:02 am    Post subject: Reply with quote

ngahy,

I use lvm on luks.

I think this line:

Code:
GRUB_CMDLINE_LINUX=»dolvm crypt=UUID=…



should be:

Code:
GRUB_CMDLINE_LINUX=»dolvm crypt_root=UUID=…

Actually I can see in your grub.cfg where you must have fixed that later.

Back to top

View user's profile Send private message

ngahy
n00b
n00b

Joined: 12 Aug 2021
Posts: 31

PostPosted: Tue Aug 17, 2021 10:10 pm    Post subject: Reply with quote

larrys wrote:
ngahy,

I use lvm on luks.

I think this line:

Code:
GRUB_CMDLINE_LINUX=»dolvm crypt=UUID=…



should be:

Code:
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

Back to top

View user's profile Send private message

Display posts from previous:   

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Official Flavours Support
  • New to Ubuntu
  • �No suitable video mode found� error, booting in blind mode

  1. �No suitable video mode found� error, booting in blind mode

    Since a few days I am getting the error written in the tittle when booting my PC, having the current Ubuntu 18.04.1 LTS bionic.
    I have searched the web for a solution, tried to reinstall grub2 and it did not work. I also tried out a solution, where the following lines:

    Code:

    loadfont "unicode"
    set gfxmode=auto
    set gfxpayload=keep
    insmod all_video
    insmod gfxterm
    terminal_output gfxterm

    should be added to /boot/grub/grub.cfg
    however all of this commands are already (a little bit scattered around the file, and some of them in some if blocks.
    Did someone have a similar problem and if yes, you maybe have some advices what else I could try out?


  2. Re: �No suitable video mode found� error, booting in blind mode

    Changing stuff in /boot/grub/grub.cfg is a bit pointless as all changes are overwritten whenever the update-grub script runs, which is after every kernel update/removal.

    I once had a very similar problem with an old computer after connecting a new monitor. The trick was to disable the graphical terminal by uncommenting one line in /etc/default/grub, so that it now reads

    Code:

    # Uncomment to disable graphical terminal (grub-pc only)
    GRUB_TERMINAL=console

    Whether that applies to your situation too, I don’t know.

    After changing /etc/default/grub, you can apply the changes with

    which will update /boot/grub/grub.cfg


  3. Re: �No suitable video mode found� error, booting in blind mode

    I did not quite get which line of code did you comment out? I can try your trick, and let you know if it works.


  4. Re: �No suitable video mode found� error, booting in blind mode

    I personally use this:

    Code:

    sudo nano /etc/default/grub

    Then look for

    Code:

    # Uncomment to disable graphical terminal (grub-pc only)
    GRUB_TERMINAL=console

    Then uncomment it.


    I drink my Ubuntu black, no sugar.
    Ubuntu user 28819


  5. Re: �No suitable video mode found� error, booting in blind mode

    I uncommented a line. So the line that said

    Code:

    #GRUB_TERMINAL=console

    now says

    Code:

    GRUB_TERMINAL=console


Bookmarks

Bookmarks


Posting Permissions

#1 2020-06-02 20:10:14

proudmuslim
Member
Registered: 2020-04-12
Posts: 21

GRUB error new install: booting in blind mode

I’ve just installed Arch for the second time, and everything went smoothly throughout the process except the bootloader installation. Long story short, whenever I boot into my SSD it sends me to the normal grub terminal (not rescue). Obviously, I set root, boot, and prefix to the given partitions/directories and then loaded the kernel (vmlinuz-linux-lts). However, attempting to boot from here gives an error about no suitable video mode being detected, and that the system is booting in blind mode, which freezes my screen and turns off my keyboard/mouse.

Last edited by proudmuslim (2020-06-02 20:13:22)

#2 2020-06-02 20:16:50

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 6,873
Website

Re: GRUB error new install: booting in blind mode

proudmuslim wrote:

Long story short

I would prefer the long version smile

Please list the exact commands that you used when installing, if you see a ‘grub>’ prompt then it can’t find the configuration file. Use the set command to see where it’s looking.

proudmuslim wrote:

attempting to fboot from here gives an error about no suitable video mod being detected, and that the system is booting in blind mode, which freezes my screen and turns off my keyboard/mouse.

List the available video modes with

Then try

Replace $mode with an actual mode.

#3 2020-06-02 20:26:19

proudmuslim
Member
Registered: 2020-04-12
Posts: 21

Re: GRUB error new install: booting in blind mode

Head_on_a_Stick wrote:

proudmuslim wrote:

Long story short

I would prefer the long version smile

I’ll give you it before I go to try your solutions (or rather, as I try them out) when installing, I ran

 grub-install /dev/sdb --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB

then

 grub-mkconfig -o /boot/grub/grub.cfg --target=x86_64-efi 

(can’t remember exact)

I essentially had issues where first my BIOS wasn’t booting into the right partition (defaulting the to the windows partition which of course was also broken because of grub) after which we arrived at the point of this post

#4 2020-06-02 20:33:15

proudmuslim
Member
Registered: 2020-04-12
Posts: 21

Re: GRUB error new install: booting in blind mode

Head_on_a_Stick wrote:

proudmuslim wrote:

Long story short

I would prefer the long version smile

Please list the exact commands that you used when installing, if you see a ‘grub>’ prompt then it can’t find the configuration file. Use the set command to see where it’s looking.

proudmuslim wrote:

attempting to fboot from here gives an error about no suitable video mod being detected, and that the system is booting in blind mode, which freezes my screen and turns off my keyboard/mouse.

List the available video modes with

Then try

Replace $mode with an actual mode.

sorry for the partial answer, but grub seems to be using the EFI directory as the root directory as well, however I fixed that by setting root

#5 2020-06-02 20:35:53

proudmuslim
Member
Registered: 2020-04-12
Posts: 21

Re: GRUB error new install: booting in blind mode

Head_on_a_Stick wrote:

Then try

Replace $mode with an actual mode.

Tried setting it to 1920×1080, same result

#6 2020-06-02 20:39:20

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 6,873
Website

Re: GRUB error new install: booting in blind mode

proudmuslim wrote:

when installing, I ran

 grub-install /dev/sdb --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB

You don’t need to specify the block device for a UEFI system, it will be ignored. Was that command run from the chroot environment? We really need to know the preceding commands so we can spot any earlier errors that may have ocurred.

proudmuslim wrote:

then

 grub-mkconfig -o /boot/grub/grub.cfg --target=x86_64-efi 

The —target= option isn’t recognised by the grub-mkconfig script. And again, was that run from the chroot?

proudmuslim wrote:

I essentially had issues where first my BIOS wasn’t booting into the right partition (defaulting the to the windows partition which of course was also broken because of grub) after which we arrived at the point of this post

Can we also see

# parted --list
efibootmgr -v

^ Those commands can be run from any live environment, either use one with a graphical desktop for ease of posting or use a pastebin client.

#7 2020-06-02 20:45:35

proudmuslim
Member
Registered: 2020-04-12
Posts: 21

Re: GRUB error new install: booting in blind mode

Head_on_a_Stick wrote:

proudmuslim wrote:

when installing, I ran

 grub-install /dev/sdb --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB

You don’t need to specify the block device for a UEFI system, it will be ignored. Was that command run from the chroot environment? We really need to know the preceding commands so we can spot any earlier errors that may have ocurred.

proudmuslim wrote:

then

 grub-mkconfig -o /boot/grub/grub.cfg --target=x86_64-efi 

The —target= option isn’t recognised by the grub-mkconfig script. And again, was that run from the chroot?

proudmuslim wrote:

I essentially had issues where first my BIOS wasn’t booting into the right partition (defaulting the to the windows partition which of course was also broken because of grub) after which we arrived at the point of this post

Can we also see

# parted --list
efibootmgr -v

^ Those commands can be run from any live environment, either use one with a graphical desktop for ease of posting or use a pastebin client.

Yes, I ran the commands from chroot. I’ll get a live usb of another OS ready so I can run the commands and then upload the output to pastebin for you

  • Печать

Страницы: [1] 2  Все   Вниз

Тема: Хитрая проблема  (Прочитано 3778 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
Сергей321

Есть ноут samsung r460 сгорела вышла из строя лампа в экране после замены лампы перестала загружаться ubuntu. Лампу установили не родную мне кажется очень яркую. Может ли лампа мешать загрузке ос? Как это можно вылечить? Может инвертор не держит?


Оффлайн
SergeyIT

А с liveCD/usb загрузиться нельзя?

Извините, я все еще учусь


Оффлайн
alsoijw

Сергей321, ноут включается?

Мало видеть нам начало — надо видеть и конец. Если видишь ты создание — значит где-то есть ТВОРЕЦ
Многие жалуются: геометрия в жизни не пригодилась. Ямб от хорея им приходится отличать ежедневно?


Оффлайн
Сергей321

Ноут включается, но в процессе загрузки ubuntu прерывается и уходит в перезагрузку. С флешки точно также все происходит. При этом параллельно установлена была win 7 загружается как обычно.


Оффлайн
F12

Сергей321,
а если попробовать как нибудь так?..

« Последнее редактирование: 04 Декабря 2015, 07:56:36 от F12 »


Оффлайн
Sly_tom_cat

Могли банально БП перегрузить более яркой лампой.

В ноутах все оборудование посчитано тык-в-тык, с минимальными запасами.


Оффлайн
F12

Могли банально БП перегрузить более яркой лампой.

— могли, но смущает тот факт, что

…win 7 загружается как обычно.


Оффлайн
Sly_tom_cat

Так когда на грани — тогда просто более интенсивная нагрузка в процессе загрузки может сыграть роль. Ведь винда кусочками грузится — а Linux грузит ядро и inintrd и потом чисто в памяти инициализируется — процессор при этом не ждет диска — что может значительно повысить нагрузку на сам проц.

Это конечно чисто предположение, но то что у вас и с флешки не грузится — говорит о довольно странной причине… Вы раньше с этой флешки грузились? Как ее делали? чем?


Оффлайн
torn44

Ну так чтоб отсеять потребление ,стоит в WIN7 запустить чтото емкое ,если отрубит то питания не хватает.Но скорее всего чтото в сервисе с биос наколдовали,сбросили к примеру по умолчанию.Может стоит в биос посмотреть настройки и отключить какой нибудь UEFI enabled или включить Legacy режим или отключить  Secure Boot .


Оффлайн
Сергей321

С помощью флешки была установлена ubuntu на ноут до замены лампы. Флешки делал по рекомендация на этом форуме и сайте. Было все ок.


Пользователь решил продолжить мысль [time]05 Декабрь 2015, 09:37:03[/time]:


Не понял что можно в биосе сделать.

« Последнее редактирование: 05 Декабря 2015, 08:37:41 от Сергей321 »


Оффлайн
F12

Сергей321,
а пробовал грузиться с отображением хода загрузки, чтоб хоть попытаться понять на каком этапе уходит в перезагрузку?..

ну и все же попробуй загрузиться с параметром nomodeset, на тот случай если проблема в нестабильном драйвере ::)


Оффлайн
Сергей321

Пробовал но успеть уловить на какой стадии обрывается не получается очень быстро.что такое nomodeset?


Оффлайн
wajnon


Оффлайн
F12

…что такое nomodeset?

-несколькими топиками выше я писал:

Сергей321,
а если попробовать как нибудь так?..

…еслиб там перешел по ссылке «так», то не спрашивал бы здесь ;)
ну, а если не вдаваться в подробности и сказать попросту, то nomodeset это некий параметр загрузки ядра (костыль) для нестабильно работающих драйверов…


Пользователь решил продолжить мысль 05 Декабря 2015, 14:33:11:


Кстати сказать, кроме  параметра  nomodeset стоило бы поочередно попробовать загрузится с параметрами pci-noacpi, apci=off и noauto

« Последнее редактирование: 05 Декабря 2015, 14:33:11 от F12 »


Оффлайн
Сергей321

Ввел все команды поочередно, ни одна не сработала.


Пользователь решил продолжить мысль [time]06 Декабрь 2015, 21:26:58[/time]:


После того как я покопался в BIOS: сделал Legacy disable и сделал user control на яркости. Комп стал грузиться с флешки, но до загрузки написал: Error no suitable video mode found. Booting in blind mode

« Последнее редактирование: 06 Декабря 2015, 20:48:41 от Сергей321 »


  • Печать

Страницы: [1] 2  Все   Вверх

  • #1

After upgrading to FreeNAS-9.10.2-U6, I’m getting this error message on boot:

Code:

  Booting 'Normal Bootup'

error: no suitable video mode found.
Booting in EFI blind mode

Press any key to continue...
_

It boots, but I have no console video. I can access the FreeNAS server by a web browser from another computer.

Please advise how to get video to work on the actual FreeNAS machine. Thanks.

  • #2

you need to provide details — see forum rules

Ericloewe


  • #3

Were you on IRC the other day asking about this? If so, we really need to know what motherboard you’re using.

  • #4

Just got this yesterday too, using HP DL380 Gen9, latest firmware. (march 2018). Was ok with previous firmware release.

  • #5

Upgrading to 11.1-u2 resolved the issue. (from 9.10-u6)

  • #6

Were you on IRC the other day asking about this? If so, we really need to know what motherboard you’re using.

Nope, that was someone else. This is my first time to mention this anywhere.

  • #7

I caught this message on boot-up before the screen went blank.

IMG_20180503_150708.jpg

Ericloewe


  • #8

Okay, what hardware are you using? Can you try 11.1-U4 to see if the problem persists?

  • #9

Upgrading to 11.1-u2 resolved the issue. (from 9.10-u6)

Thanks. Confirmed that upgrading to FreeNAS-11.1-U4 fixed the problem. Console comes up fine now.

  • #10

Okay, what hardware are you using? Can you try 11.1-U4 to see if the problem persists?

Yes, upgrading to FreeNAS-11.1-U4 fixed the problem.

  • #11

i have the same problem after i have changed hardware and uploaded the config

Hardware

Xeon E5-2600 V3
Asus X99-E WS

FN 11.1.U5

Anyone here please help

  • #12

Solved this after having time looking into it, did 2 things but not sure which one solved it
1. Boot screen opt ‘boot environment menu’ instead of default boot
2. Opt for ‘default initial install’
3. Opt for ‘normal boot up’ instead of single user/verbose
4. And it will boot still in blind mode and it gets stuck halfway where i have to power off
5. On power on just let it boot default without 1-4, and the screen comes back on :))

The other thing i did was to BIOS turn off fast boot, CSM enables with UEFI and Legacy boot, Secure Boot opt to ‘other OS’

Same hardware Xeon E5-2609V3, Asus X99-E WS, 96GB ecc ddr4, LSI IT raid card, intel x2 LAN card, 11.1 u7.

Hope this helps

G4L 0.62 released 01/01/23 Disk imaging

  • Summary

  • Files

  • Reviews

  • Support

  • Wiki

  • Mailing Lists

  • Tickets ▾

    • Feature Requests
    • Support Requests
    • Bugs
  • News

  • Discussion

Menu

(no error no suitable video mode found


Created:

2019-02-06

Updated:

2019-02-10

  • AVKM

    hi,
    after years of using g4l on my old pc via a grub2 selecion option I finally upgrade my pc and placed the same option in the grub menu.
    linux /boot/BZ4X18.13 root=/dev/ram0 telnetd=yes
    initrd /boot/RAMDISK.LZMA

    selecting it works as in grub2 not throwing an error but nothing happens on screen, its simply the black dos style window grub2 shows when it starts a bootup.
    They keyboard initializes (lights go off and on)
    if I wait long enough, press enter then wait 15sec and type in reboot the system reboots so basicly G4L is loaded.

    I changed grub2 from graphics to terminal and booted the system again, if I then select G4L I get this:

    error no suitable video mode found
    booting in blind mode

    I googled of course
    added insmod all_video before the linux /boot line -> no diffrence
    added nomodeset to the linux line -> no diffrence
    tried with the bios in uefi mode and legacy -> no diffrence

    it’s not an exotic system I think, AMD ryzen and ADM RX570 gfx card

    so am a bit clueless as how to solve this.

  • Michael Setzer II

    If using grub2, I generally recommend using the 40_custom file and the grub2-mkconfig command. Putting the 40_custom in /etc/grub.d and grub2-mkconfig.

    Need to put the bz4x file and the ramdisk in /boot

    This is what the latest 40_custom file contains on my latest version.
    note: lines with # at the beginning are showing as bold and larger??

    !/bin/sh

    exec tail -n +3 $0

    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.

    menuentry G4L {
    linux /bz4x20.6 root=/dev/ram0 telnetd=yes
    initrd /ramdisk.lzma
    }

    menuentry G4L_NOSMP {
    linux /bz4x20.6 root=/dev/ram0 telnetd=yes nosmp
    initrd /ramdisk.lzma
    }

    menuentry G4L_FailSafe {
    linux /bz4x20.6 root=/dev/ram0 noapic noacpi pnpbios=off acpi=off pci=noacpi nosmp
    initrd /ramdisk.lzma
    }

    I did also notice you have things in upper case, and it is case sensitive, so sould be lower case?

    The kernels generally use the standard vga modes rather than any fancy graphics mode. Might want to try adding vga=ask, but if you get a message at it isn’t supported, try vga=1 (I think that is the default 25×80).

    Have heard some systems have now dropped vga support, and that would be an issue. If it doesn’t have the basic vga modes, it might have vesa video modes, but not sure what options numbers they would be..

    What version of linux are you using? I build using source code from kernel.org, but the support system is currently fedora 28.

  • Michael Setzer II

    Just did a test. With vga=ask it gives a message that ask is no longer supported.
    Tried vga=1 and it seems to work, but reports that is also been replaced with a new option

    gfxpayload=vga=1

    did just try gfxpayload=text and that seemed to work.
    also gfxpayload=640×480
    also gfxpayload=vesa

    there is also talk about using nomodeset option.

    Liked the old vga=ask, since it would give a list of all the modes you could select.
    Hopefully, one of those would work. Let me know.

  • AVKM

    hi

    yes the caps is just me being lazy as that is how I get the 2 files from the iso.
    I tried all your option (vga=ask, vga=1, failsafe) no diffrence, it boots but it’s not showing on screen. As I said if I wait a bit, press enter, it will then do the dhcp scan, wait a bit, press enter and I am at the prompt, type reboot, system reboots.

    you might be right about no vga or vesa anymore, in grub command prompt you can enter videoinfo and you get (typing over from picture):

    grub> videoinfo
    List of supported video modes:
    Legend: mask/postion=red/green/blue/reserved
    Adapter EFI GOP driver:
    0x000 1920 x 1080 x 32 (7680) Direct color, mask: 8/8/8/8 pos: 16/8/0/24
    0x001 640 x 480 x 32 …etc. etc
    0x002 800 x 600 x 32 …etc. etc
    few more standard resolutions
    EDID version 1.3

    the old PC (9 years) old show
    Adapter VESA BIOS Extension Video Driver
    and also a list of resolution
    Adapter VGA Video Driver
    No info available

    so old system was already running on VESA, new one has GOP

    running Tumbeweed myself on daily basis, your idea is to build using my current system ? if so need to see what is needed.

  • AVKM

    on your 2ns post: tried nomodeset already, wont work
    gfxpayload=vesa -> no diffrence
    gfxpayload=640×480 -> monitor switches to 640×480 but g4l still not vissible.

  • Michael Setzer II

    Going to the grub command prompt, what does vbeinfo show?
    What does vbetest show

    Have you tired making a bootable cd using the syslinux. That will determine if it is a grub2 issue or if it works with the syslinux boot.
    I’ve also used grub4dos to boot.
    Looking at /etc/default/grub
    there is a line that is commented out that shows.

    GRUB_TERMINAL_OUTPUT=»console»

    Don’t know if uncommenting that would make a difference??

    Another thing. In my /etc/grub.d/00_header file
    I commanted out the following lines.

    insmod efi_gop

    insmod efi_uga

    insmod ieee1275_fb

    Leaving the other lines ok
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus

    Well, it is 1:37am here in Guam, so I’m going to bed…

  • AVKM

    bootalbe cd works when turning uefi off, so it’s not a syslinux thing per se.
    insmod all_video will add all the video mods available
    doing an lsmod then still only shows the efi_uga and efi_gop.
    inmod vbe, vga and the other are not available.
    vbeinfo and vbetest also not available

    as far as I can tell those are all grub2_pc and not grub2_efi, seems they are 2 quiet diffrent things.
    I will try to find if its possible to add video modes to grub2_efi

     

    Last edit: AVKM 2019-02-06

  • Michael Setzer II

    From https://help.ubuntu.com/community/UEFIBooting
    Not sure if this insmod gfxterm and terminal_output gfxterm might fix the issue, and the loading of the font??

    Selecting the (U)EFI Graphic Protocol

    If you are getting this error on the screen upon booting a menu entry

    error: no suitable mode found.
    Booting however

    and if no kernel boot messages are shown, then insert this to your grub.cfg file

    insmod efi_gop
    insmod efi_uga
    insmod font

    if loadfont ${prefix}/unicode.pf2
    then
    insmod gfxterm
    set gfxmode=auto
    set gfxpayload=keep
    terminal_output gfxterm
    fi

    and copy /usr/share/grub/unicode.pf2 (or /usr/share/grub2/unicode.pf2 depending on your distro) to your grub2 efi dir (/boot/efi/efi/grub mostly).

    Otherwise detect which graphics protocol is supported by the firmware to enable only that module

  • AVKM

    thank for looking that up.the ${prefix} is not needed, tested it in the command prompt of grub.

    so ended up with this:

    menuentry ‘G4L 55’ {
    insmod efi_gop
    insmod efi_uga
    insmod font

        if loadfont unicode.pf2
        then
            insmod gfxterm
            set gfxmode=auto
            set gfxpayload=keep
            terminal_output gfxterm
        fi
    
        linux /boot/BZ4X18.13 root=/dev/ram0 telnetd=yes
        initrd /boot/RAMDISK.LZMA
    

    }

    but sadly no diffrence :(
    so for now its the dvd :)

  • Michael Setzer II

    Was hoping that would work?? Does mention something about having to copy the found file to locations based on the various distros.

    Don’t have any machines with efi boot. Have one notebook that has windows 7 from the original install, but it didn’t have the efi setup.

    One thing I was thinking of. memtest is a similar program that can be added to the boot menu.
    Wondering if you could install on system, and do the memtest-setup and see what lines it might add to the grub.cfg file or if it works. If it does work, and has some option that we haven’t seen yet?

    Will have to see if I can find a grub2 page that has info. But it it works from the cd/dvd that means the hardware has the support for the video, it is something with the grub2.

    The g4l iso can be copied to a flash, instead of a cd or dvd, but I’ve also used grub4dos to add it on an existing flash. Make a small dos or ntfs partition on flash about 100M, and then have the rest as a linux partition. ftp://setzco.dyndns.org/g4l-lite-fc28.zip is the last version I’ve made of the g4l 0.56 I’ve been working on. Just extract files to the small partition, and follow instructions to make istall grub4dos boot loader on flash. Never had a problem doing it from linux, but windows above 7, sometimes worked and sometimes didn’t.

    Thanks for the quick response. Was thinking that maybe the video was working, but without a working font nothing was being displayed.

  • AVKM

    the font is available by default, so wat no need to copy it

    installed memtest via yast and it installed /boot/memtest.bin and created a new grub.cfg, so all exited :)
    but there was nothing in it, so checked /etc/grub.d/20_memtest86+ and see this:

    memset86+ requires the x86 real mode

    which is not available with UEFI booting.

    if [ -d /sys/firmware/efi ]; then
    exit 0
    fi

    tried a clonzilla usb wich boots with uefi just fine, so added G4L to that grub.cfg and exactly the same behavoir, it loads (keyboard initial etc. etc.) just not on screen.
    added all the option: nomodeset vga=normal nosplash which the normal VGA option of clonzilla has, no diffrence.

    just to be clear, if I say no screen I mean no G4lL screen.
    when I use the tumbleweed grub2 option it will simply keep showing tumbleweed grub2 background
    when I use the clonzilla grub2 option it will simply keep showing the clonezilla grub2 background

    if I set the system to legacy then clonzilla will use the syslinux boot menu and g4l runs from that fine. (same as with the DVD, system test to legacy else it won’t boot dvd)

    I am guessing the small G4L kernel missing something to initialize/use the efi_gop

    ah well :)

  • Michael Setzer II

    Was just looking at https://www.kernel.org/doc/Documentation/efi-stub.txt it says the kernel image needs to have the .efi extension of the EFI boot loader will refuse to load it?? Not sure if it might be as simple as that??
    Looked at all the efi option in the .config file.
    CONFIG_EFI=y
    CONFIG_EFI_STUB=y
    CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y

    EFI (Extensible Firmware Interface) Support

    CONFIG_EFI_VARS=y
    CONFIG_EFI_ESRT=y
    CONFIG_EFI_FAKE_MEMMAP=y
    CONFIG_EFI_MAX_FAKE_MEM=8
    CONFIG_EFI_RUNTIME_WRAPPERS=y
    CONFIG_EFI_BOOTLOADER_CONTROL=y
    CONFIG_EFI_CAPSULE_LOADER=y
    CONFIG_EFI_CAPSULE_QUIRK_QUARK_CSH=y

    CONFIG_EFI_TEST is not set

    CONFIG_EFI_PARTITION=y
    CONFIG_EFIVAR_FS=y
    CONFIG_EARLY_PRINTK_EFI=y

    CONFIG_EFI_PGT_DUMP is not set

    I did just add the efi_fake_memmap , but all the others were already set?
    The other is a comment, and the last two would not be used??

  • AVKM

    A friends HP laptop on which grub2 is very stricks and will give a responce that it’s not signed correctly when you add a new kernel to the cfg, that can be tuned down with mokutil —disable-validation.
    On this MSI motherboard is less a lot les stricktly installed, so grub2 is not giving that message and its loading g4l

    not sure about the .efi you mentioned, tumbleweed entry does not use it:

    enuentry ‘openSUSE Tumbleweed’ —class opensuse —class gnu-linux —class gnu —class os $menuentry_id_option ‘gnulinux-simple-c68868d4-2e74-42bf-9b67-ab3b8767777a’ {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root=’hd0,gpt3′
    if [ x$feature_platform_search_hint = xy ]; then
    search —no-floppy —fs-uuid —set=root —hint-bios=hd0,gpt3 —hint-efi=hd0,gpt3 —hint-baremetal=ahci0,gpt3 c68868d4-2e74-42bf-9b67-ab3b8767777a
    else
    search —no-floppy —fs-uuid —set=root c68868d4-2e74-42bf-9b67-ab3b8767777a
    fi
    echo ‘Loading Linux 4.20.6-1-default …’
    linuxefi /boot/vmlinuz-4.20.6-1-default root=/dev/sda3 splash=silent resume=/dev/sda2 quiet nmi_watchdog=0
    echo ‘Loading initial ramdisk …’
    initrdefi /boot/initrd-4.20.6-1-default
    }

    I did try linuxefi and initrdefi but those will not load G4L, which makes sence.

    Places some echo:

    echo «loading kernel»
    linux /boot/BZ4X18.13 root=/dev/ram0 telnetd=yes
    echo «loading ramdisk»
    initrd /boot/RAMDISK.LZMA
    echo «past ramdisk»

    and this is what you get https://postimg.cc/c6xwdDSZ
    wait about 20-30sec, pressed enter several time, waited another 20 sec (as I think G4l is at the dhcp timer then), pressend enter several times and type reboot…. and system reboot fine.
    nothing on screen though except that screenshot.

    if there is a way for me to build G4L files myself I will give it a try but need some hints as where to start :)

  • Michael Setzer II

    As I read it, it is the name of the kernel, so bz4x18.13.efi would be the change. So, rename the file, and change the cfg file.

  • AVKM

    linux /boot/BZ4X18.13.efi root=/dev/ram0 telnetd=yes -> same effect, its loaded but not visiable
    linuxefi /boot/BZ4X18.13.efi root=/dev/ram0 telnetd=yes -> will give message you need to load kernel first


Log in to post a comment.

Понравилась статья? Поделить с друзьями:
  • Error not accessible очередь печати
  • Error no such partition win xp
  • Error not accessible zebra zd410 ошибка
  • Error no such partition grub rescue что делать
  • Error no such partition entering rescue mode что делать