jlobue10 / SteamDeck_rEFInd

Simple rEFInd install script for the Steam Deck (with GUI customization)
MIT License
512 stars 50 forks source link

Failed to "Install Config" from GUI #118

Open prolok opened 2 months ago

prolok commented 2 months ago

Every time I tried to run "Install Config", it will show this error to me"

Screenshot_20240710_195418

1) I checked my sudo password is correct: I used that password the "Install rEFind", and also tried it from konsole with sudo su 2) I have clicked "Create Config", and files can be found in /home/deck/.local/SteamDeck_rEFInd/GUI/. The message is mentioning something different (/home/deck/.SteamDeck_rEFInd/GUI/), but I think they are the same? At least I tried manually created that folder and copied the files, still getting the same error.

I am not sure what I have missed, any help or hints would be much appreciated!

jlobue10 commented 2 months ago

Can you try redoing the latest GUI installation steps? The old location and old scripts seemed to be getting referenced and used here.

prolok commented 1 month ago

@jlobue10 when you mentioned "old location" do you mean the GUI still displayed the default path as ~/.local/SteamDeck_rEFInd/GUI/...? After I ran the commands

cd $HOME && rm -rf $HOME/SteamDeck_rEFInd/ && git clone https://github.com/jlobue10/SteamDeck_rEFInd && cd SteamDeck_rEFInd && chmod +x install-GUI.sh && ./install-GUI.sh

the same thing still appeared and with the same result....

Btw rEFInd is kind of installed as I can found it in the EFI boot options, but it is not the default option and the images are not set properly, i.e. it looks very ugly Q.Q

jlobue10 commented 1 month ago

I mean the script that was being called appears to be from the old location. Do Install rEFInd, Create config and Install config work for you after reinstalling the GUI with the newer method?

Also, what is your output of efibootmgr?

prolok commented 1 month ago

I mean the script that was being called appears to be from the old location. Do Install rEFInd, Create config and Install config work for you after reinstalling the GUI with the newer method?

Did every steps after reinstalling, but still got the same result - same error message when trying to Install Config

Also, what is your output of efibootmgr?

Here is the result:

BootNext: 0002
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0005,0002,0003,2001,2002,2003
Boot0000* EFI PXE 0 for IPv4 (A0-CE-C8-9B-EE-0C)        PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(1,0)/USB(1,0)/MAC(a0cec89bee0c,1)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0001* EFI PXE 0 for IPv6 (A0-CE-C8-9B-EE-0C)        PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(1,0)/USB(1,0)/MAC(a0cec89bee0c,1)/IPv6([::]:<->[::]:,0,0)RC
Boot0002* rEFInd        HD(1,GPT,afe3fd33-47d5-7043-91c1-bf7b3c12d14d,0x800,0x20000)/File(\EFI\refind\refind_x64.efi)
Boot0003* SteamOS       HD(1,GPT,afe3fd33-47d5-7043-91c1-bf7b3c12d14d,0x800,0x20000)/File(\EFI\steamos\steamcl.efi)
Boot0005* Windows Boot Manager  HD(1,GPT,afe3fd33-47d5-7043-91c1-bf7b3c12d14d,0x800,0x20000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400
Boot2001* EFI USB Device        RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network   RC

Thank you so much!

jlobue10 commented 1 month ago

I see that part of your problem is that the Windows EFI entry is active and taking precedence over rEFInd. I'll have to update my OLED Deck to debug further. It's been a while here.

prolok commented 1 month ago

@jlobue10 thank you so much! Or should I do anything from Windows to prevent it from taking precedence?

Btw, wanted to share this screen with you: this is what I got after the installation - all the images (the background and icons) are not installed properly IMG_7360