You are not logged in.

#1 2023-09-18 16:20:14

longshot
Member
Registered: 2023-03-31
Posts: 24

[SOLVED] screen flashes 3 times before booting.

After a restart or shutdown, on boot the screen flashes three times before showing the proper grub menu.

~ λ  awk '/^[^#]/  {print}' /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"		# Tried adding nomodeset, i915.modeset=0
GRUB_CMDLINE_LINUX=""
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
GRUB_TIMEOUT_STYLE=menu
GRUB_TERMINAL_INPUT=console
GRUB_GFXMODE=1920x1080			# Tried auto instead
GRUB_GFXPAYLOAD_LINUX=keep 		# Tried commenting this line
GRUB_DISABLE_RECOVERY=true

i don't know if it's something related to the kernel, my thought is that this happens before grub so the kernel isn't even loaded so it has something to do with grub or the uefi settings. ( If you think you've read something stupid, remember I'm just a noob XD )

* secure boot is disabled
* graphics mode is set to integrated only in uefi settings.
* I use lenovo ideapad L3

~ λ  journalctl -b -p warning
Sep 18 18:55:24 M4CH1N3 kernel: [Firmware Bug]: TSC ADJUST: CPU0: -1382487636 force to 0
Sep 18 18:55:24 M4CH1N3 kernel: [Firmware Bug]: TSC ADJUST differs within socket(s), fixing all errors
Sep 18 18:55:24 M4CH1N3 kernel:  #4 #5 #6 #7
Sep 18 18:55:24 M4CH1N3 kernel: MMIO Stale Data CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln>
Sep 18 18:55:24 M4CH1N3 kernel: ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
Sep 18 18:55:24 M4CH1N3 kernel: hpet_acpi_add: no address or irqs in _CRS
Sep 18 18:55:24 M4CH1N3 kernel: integrity: Problem loading X.509 certificate -65
Sep 18 18:55:24 M4CH1N3 kernel: i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
Sep 18 18:55:24 M4CH1N3 kernel: usb: port power management may be unreliable
Sep 18 18:55:24 M4CH1N3 kernel: nvme nvme0: missing or invalid SUBNQN field.
Sep 18 18:55:25 M4CH1N3 kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
Sep 18 18:55:25 M4CH1N3 kernel: r8169 0000:01:00.0: can't disable ASPM; OS doesn't have ASPM control
Sep 18 18:55:25 M4CH1N3 kernel: iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
Sep 18 18:55:25 M4CH1N3 kernel: thermal thermal_zone8: failed to read out thermal zone (-61)
Sep 18 18:55:27 M4CH1N3 kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02
Sep 18 18:55:27 M4CH1N3 kernel: Bluetooth: hci0: HCI LE Coded PHY feature bit is set, but its usage is not supported.
Sep 18 18:55:30 M4CH1N3 wpa_supplicant[426]: nl80211: kernel reports: key setting validation failed
Sep 18 18:57:54 M4CH1N3 kernel: picom[562]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
Sep 18 18:58:23 M4CH1N3 kernel: warning: `ThreadPoolForeg' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
~ λ  lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sr0          11:0    1  1024M  0 rom
nvme0n1     259:0    0 476.9G  0 disk
├─nvme0n1p1 259:1    0     2G  0 part /boot
├─nvme0n1p2 259:2    0    12G  0 part [SWAP]
├─nvme0n1p3 259:3    0   100G  0 part /
├─nvme0n1p4 259:4    0  75.9G  0 part
├─nvme0n1p5 259:5    0 136.1G  0 part /home
└─nvme0n1p6 259:6    0   150G  0 part

I'd appretiate or referral to the FM.
happy to post any other information. thanks for help

Last edited by longshot (2024-04-19 00:50:58)


~ A penguin geek who wants to know every file in sysfs

Offline

#2 2023-09-19 01:55:30

Skidout
Member
Registered: 2023-05-26
Posts: 37

Re: [SOLVED] screen flashes 3 times before booting.

If it's flashing multiple times before showing GRUB, it's probably happening on the UEFI. Try updating your BIOS to see if that fixes it.

Offline

#3 2023-09-20 18:39:58

longshot
Member
Registered: 2023-03-31
Posts: 24

Re: [SOLVED] screen flashes 3 times before booting.

I have installed fwupd, and ran the updates, it updated some firmware, but i don't think it updated the uefi firmware cause it's reporting in the uefi settings that the uefi version is ejcn2*ww and on the website it is ejcn31ww. and the way they offer to update is an executable ejcn31ww.exe, so i tried to make a bootable windows PE following the wiki. when i booted up it just gave me a broken installation media, while that was the case i tried also to hit _repair your system_ and then troubleshoot > cmd. and tried to run the executable from there. it said this executable isn't compatible with this version of windows.

other than that. I have tried to change some sittings in the bios:
boot mode: from uefi to legacy support and try uefi first, it worked without flashing, but the directory /sys/firmware/efi was present so i don't think it doesn't support uefi, but it goes back to flashing when i revert it back to uefi.

also I'm concerned that the EFI partition i made is too big (2GB). is that a valid concern?

If you made it this far, Thanks alot.

Last edited by longshot (2023-09-20 18:40:51)


~ A penguin geek who wants to know every file in sysfs

Offline

#4 2024-02-12 13:47:19

longshot
Member
Registered: 2023-03-31
Posts: 24

Re: [SOLVED] screen flashes 3 times before booting.

the bios was updated to the latest version but still have the same problem.


~ A penguin geek who wants to know every file in sysfs

Offline

#5 2024-02-12 13:54:26

d.ALT
Member
Registered: 2019-05-10
Posts: 920

Re: [SOLVED] screen flashes 3 times before booting.

Does this happen also when selecting-and-starting GRUB from within UEFI's Settings > Boot Menu (or Boot Order)?
Something like this > http://hrn25.sakura.ne.jp/win/uefi/bios5.jpg
(sorry for the external link, I don't have any other means to grab any image about UEFI's Boot Setting)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#6 2024-03-13 19:05:47

longshot
Member
Registered: 2023-03-31
Posts: 24

Re: [SOLVED] screen flashes 3 times before booting.

No, you're correct, if i selected grub from the boot menu, it boots right away. And if i let it run normally it flashes 3 times and then boots
so it's a problem with the uefi right?

I have reinstalled grub, with no success.
and in the uefi menu, GRUB is the only boot option.
I also tried missing with uefi configs with no success.

Last edited by longshot (2024-03-14 00:10:54)


~ A penguin geek who wants to know every file in sysfs

Offline

#7 2024-03-16 22:46:53

longshot
Member
Registered: 2023-03-31
Posts: 24

Re: [SOLVED] screen flashes 3 times before booting.

if u need any more information I'd happy to provide it.
thanks


~ A penguin geek who wants to know every file in sysfs

Offline

#8 2024-04-19 00:51:35

longshot
Member
Registered: 2023-03-31
Posts: 24

Re: [SOLVED] screen flashes 3 times before booting.

This issue was solved by choosing Legacy boot in the uefi boot section, and then choosing UEFI First.


~ A penguin geek who wants to know every file in sysfs

Offline

Board footer

Powered by FluxBB