Metabolix / HackBGRT

Windows boot logo changer for UEFI systems
MIT License
2.22k stars 239 forks source link

startup error #161

Closed coco621 closed 9 months ago

coco621 commented 9 months ago

hi, when starting up I have an error that appears, I have to press a button and my custom logo starts. I am attaching the photos, thank you for your work. 20231130_153900 20231130_161426

Metabolix commented 9 months ago

Please run the installer again, select "show boot log" and then attach setup.log here.

coco621 commented 9 months ago

that's right?

Metabolix commented 9 months ago

Your first screenshot is from a very old version of HackBGRT. Also your log file has so many steps and reboots (even booting to firmware / UEFI setup) that I don't really know what you have done and at what point did you get these error messages.

Can you please run these very simple steps:

Metabolix commented 9 months ago

This log does not look correct. There's still a part left in your log from the previous day, an earlier part which didn't exist in your previous log. Do you mess with multiple copies of HackBGRT? After that, the log shows that you still had HackBGRT installed (not removed) and you enabled with the second option (J) not first (I). It's impossible to help if you don't follow the steps, first uninstall HackBGRT and delete any extra copies and then start with one clean copy.

Also, from the log it looks like HackBGRT is working, so what kind of error do you now experience?

One more noticeable thing is that you have a disk ("Internal Hard Disk or Solid State Disk") as the first boot option, when usually it's "Windows Boot Manager". Do you have multiple disks or operating systems or some other special configuration?

coco621 commented 9 months ago

Good morning. However, I deleted it with R and re-downloaded your zip. in I this I do nothing. no entry in the .log. I have a message when starting up for 3/4 seconds and then the custom logo appears.

Metabolix commented 9 months ago

What message is that

coco621 commented 9 months ago

20231202_093035

Metabolix commented 9 months ago

Thank you! I've now located the source of your error message. It is caused by some extra data which bcdedit.exe always puts into the boot entry. The shim loader wrongly tries to use that as a path. There's a report in shim (https://github.com/rhboot/shim/issues/370) about this problem and I've sent a pull request (https://github.com/rhboot/shim/pull/621) to fix it, but it's out of my hands.

Meanwhile, you should use the I install option. You can also run the I option now without uninstalling first, and it may sometimes fix this issue. If it does nothing, you will need to provide more information (logs) about that. It apparently works for many people, so it's hard to believe it literally does nothing.

About your log, it clearly starts with date "2023-11-30 11:02" and then continues at "2021-12-01 23:28" when you tried the J option, so obviously it was not properly deleted between those times, and it makes me wonder if you really even tried the I option this time.

coco621 commented 9 months ago

hi, yes I saw in the report that he also wrote on a previous date. I follow what you tell me. I press "R" to delete, "I" does nothing for me, "J" works but just with this message at startup, I even tried "O" and it does the same.

Metabolix commented 9 months ago

How do you mean ”does nothing”? What happens when you press I? What do you get in the log?

coco621 commented 9 months ago

nothing happens and nothing in the report.

Metabolix commented 9 months ago

That's not possible. Even your first log file clearly shows that you pressed I and the installation continued as expected.

coco621 commented 9 months ago

Yes, I just took the test again. but no custom logo.

Metabolix commented 9 months ago

It's 100% certain that I does something and produces a log unless you have done something very special to break it. So without this data I cannot help you any further.

coco621 commented 9 months ago

I'm going to do it again just with the "I"

coco621 commented 9 months ago

I did "I" several times and it worked, thank you very much for your work and your help.