I recently decided swipe an old HP Stream 13 (pink one ) with Windows 8.1 where updates could not take place due to small hard drive.
So I installed Endless OS iso image (stick) and choose to erase Windows. Once the installation was done, I updated Enless OS to the 4.0.6 version.
Problem(s):
1- Boot very long: compared to windows setup, the boot take several minutes. I believe it could be something related to BIOS settings (HP logo is very long to show)
2- When BIOS seems to be loaded, Enless image is shown and usually see a kind of diagnose screen (crash ?). I need shutdown and reboot
Is there any BIOS settings to be done ?
Is there any cleaning to be operated after the update ?
Now I know the boot can be looooooong every time I start my notebook, it seems to help in solving the failures I had previously… (or maybe due to the disk repair process I made ?).
However, the loading time still takes several minutes, exactly as this post from @ Jean-Francois_Bourde:
Interestingly, your system took almost 3 minutes to boot…
Startup finished in 2.391s (firmware) + 2min 59.173s (loader) + 8.510s (kernel) + 3.667s (initrd) + 18.439s (userspace) = 3min 32.181s
graphical.target reached after 18.386s in userspace
Analyze the boot times with:
systemd-analyze plot > ~/plot-svg.txt
And upload the generated file here.
/edit: There was a similar issue a few years ago with almost the same kind of hardware, but with no solution back then. Eventually we can work one out here
Check the Firmware configured boot order to make sure that the Endless OS entry is booted first without trying to boot from any other device (usb, cdrom, …) first.
In the plot provided we can see that the loader is taking most time. This is the time after the firmware has finished initializing and performing a boot and the loader has loaded the kernel and initrd. Normally, this should be relatively fast (a few seconds), but can be substantially longer when the firmware tries to boot other non available devices / boot entries first.
Here after is the content of the efibootmgr command:
BootCurrent: 0001 Timeout: 0 seconds BootOrder: 0001,3001,0000,2001,2002,2004 Boot0000 EFI Hard Drive (HBG4e)* Boot0001 Endless OS* Boot2001 EFI USB Device* Boot3001 Internal Hard Disk or Solid State Disk*
Interesting, seems all very unspectacular. Just out of curiosity, can you please try to boot a current Endless OS Live USB - does it take also that long or is that faster?
Before doing any further intrusive changes, do you know if your system can boot an arbitrary boot loader? My HP devices let me select any EFI executable when pressing F9 while the HP logo is display - if your’s allows that too, can you please try to run the following executable:
\EFI\endless\grubx64.efi
This is the second stage bootloader which normally gets loaded by \EFI\endless\shimx64.efi, which is needed cause of SecureBoot. I suspect the issue somewhere along this line.
Can you please report if it’s possible and if it does make a difference.