dakanji / RefindPlus

A Boot Manager for Mac and PC
GNU General Public License v3.0
326 stars 68 forks source link

RefindPlus Hangs if SubMenuEntry is Present in Manual Stanzas #144

Closed 1457384613gh closed 1 year ago

1457384613gh commented 1 year ago

RefindPlus Version

v0.13.3.AC Release

Device Type

UEFI PC

Problem Description

The same .conf file. It works on rEFInd, showing icons. X

It cannot work on RefindPlus, showing no icons. X

Problem Point

Before starting a loader or tool

Affected Items

Other Item

Debug Log

23b12i0408.log

Additional Context

EFI.7z.pdf

It is a .7z file, with ".pdf" deleted.

dakanji commented 1 year ago

Please provide the attachment as a zip file and bit 7z as was requested.

1457384613gh commented 1 year ago

Please provide the attachment as a zip file and bit 7z as was requested.

EFI.zip

image

dakanji commented 1 year ago

Thanks. Will have a look later. Please try to follow what is written/requested. I have just deleted the log contents you pasted as although the template asks that you should not directly paste such logs and only attach them, you have instead attached and pasted!

dakanji commented 1 year ago

Please temporarily rename your current RefindPlus efi, replace with the attached file, and share the log produced after trying to boot this. X262-BOOTx64-NPT.zip

Please attach the log and do not paste. Also, this does a lot of logging so give it extra time before stopping it.

Thanks

1457384613gh commented 1 year ago

I am sorry but I haven't understood.

Should I download that .zip and use files into to try and catch a log?

dakanji commented 1 year ago

Should I download that .zip and use files into to try and catch a log?

Correct.

1457384613gh commented 1 year ago

23b13i3449.log

I wait several minutes.

But the log…,I don't know how to express.

dakanji commented 1 year ago

You complained elsewhere about having a config file that is too long but a big chunk of the length is made up of default manual stanzas that should be removed.

Note that having them with disabled does not mean they are not processed, especially when the disabled line is the last one in the stanza and not the first item as advised in the readme here (I suppose no one ever reads a README)

So, either remove all the disabled manual stanza (best option) or move the disabled line to be the first thing in the stanza. Rerun the file and attach the log file after this.

The current log has too much junk info from those stanzas.

Thanks

1457384613gh commented 1 year ago

But all is into config.conf . There is no any "include abcd.conf" into config.conf.

Other .conf files have not been included into config.conf .

I didn't think it support muti-include by misunderstanding, two days ago.

So I edit refind.conf-sample, and then rename it "config.conf", only one config without any secondary files included.

dakanji commented 1 year ago

I wasn't referring to that other issue but to this

I edit refind.conf-sample

You left the all the sample manual stanza all there but you should handle them in one of the ways I outlined in my previous post.

That is, either remove them or put the disabled line in each as the first thing in each stanza (not the last thing as in the conf-sample ... this is explained in the readme here if you have read that).

Basically, only your own active manual stanzas should ideally be present and all the example ones removed.

1457384613gh commented 1 year ago

Thank you for your patience! I will try.

1457384613gh commented 1 year ago

23b14m3813.log config.conf.txt

I have deleted many words behind "#". The config.conf is shorter, now. But it still, I don't know how to express.

dakanji commented 1 year ago

The important things were the unused/disabled menuentry stanzas items.

There seems to be a memory conflict and this results in a hang. Please try the attached X263 file and attach the log to better understand the issue. X263-BOOTx64-NPT.zip

1457384613gh commented 1 year ago

Thank you for your patience! I will try.

1457384613gh commented 1 year ago

23b15e0138.log

By the way, why do you have so many .efifiles? Is it easy for you to package an .efi files?

dakanji commented 1 year ago

These are test builds. See the readme for a link to instructions on building RefindPlus.

Please try X264 and share the log: X264-BOOTx64-NPT.zip

Thanks

1457384613gh commented 1 year ago

23b15f3632.log

What I think is that what you can help me is more than I can help you so who should say "Thanks" is me.

dakanji commented 1 year ago

The issue seems to be linked to submenuentry. Can you delete all these submenu entries and rerun with the X264 file?

That is, leave the menuentry items but delete subsequently sections, test the file and share the log.

Thanks

1457384613gh commented 1 year ago

23b15h1830.log

It shows logs after around ten seconds this time.

And icons looks smaller than that looked from rEFInd.

And the [selection-small] is not what I have set. Black shadow.

dakanji commented 1 year ago

That gives the first definitive pointer to the issue. Will take a proper look later

dakanji commented 1 year ago

Please restore the submenuentry items, run the attached X265 file and share the log X265-BOOTx64-NPT.zip

1457384613gh commented 1 year ago

23b16e0037.log

config.conf.txt

dakanji commented 1 year ago

Thanks. Please try X266 on the same basis X266-BOOTx64-NPT.zip

1457384613gh commented 1 year ago

23b16g5030.log

Maybe something wrong around "add_options"

dakanji commented 1 year ago

Please try X267 on the same basis X267-BOOTx64-NPT.zip

1457384613gh commented 1 year ago

23b16j5110.log

dakanji commented 1 year ago

Getting warmer ... Please try X268 --REMOVED--

1457384613gh commented 1 year ago

I will try tomorrow or the day after tomorrow.

dakanji commented 1 year ago

Nevermind. It hangs as well but know where the issue starts. I will push a fix presently.

You can temporarily convert the SubMenuEntries to standalone MenuEntries as a workaround

1457384613gh commented 1 year ago

I am going to download X268. Where to download?

dakanji commented 1 year ago

Refer to my previous. No need for any further tests at this time.

1457384613gh commented 1 year ago

So you are testing and trying to fix?

dakanji commented 1 year ago

Yes, but you only needed to read what I referred you to before to have seen this!

... know where the issue starts. I will push a fix presently.

1457384613gh commented 1 year ago

Where can I download to try? Actions or pre-release?

dakanji commented 1 year ago

You need to build the codebase. There is a link to build instructions in the ReadMe for this repo.

1457384613gh commented 1 year ago

It is so easy for you, but difficult for me.😭😭😭😭😭😭 Could you give me a pre-release here for testing?

dakanji commented 1 year ago

If unable/unwilling to build, you will need to wait until release which will be whenever the codebase is deemed ready.