Code Monkey home page Code Monkey logo

steamdeck_refind's People

Contributors

baldsealion avatar ericleone avatar icetard avatar jlobue10 avatar mio-19 avatar ryanrudolfoba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

steamdeck_refind's Issues

Windows 11 reinstallation

Hello I used you scripts to installation of Windows 11 everything went Good and Windows worked. But i get some problems after several days so I decided to reinstall. I just booted USB pendrive with Windows next formatted partition and installed Windows again. When instalation done and system rebooted i have no screen just any lines on black background and Windows no load. Steam load perfect. Windows no. Where is the problem? What is reinstallation tutorial ?

Latest SteamOS Update Breaks EFI

After the the latest SteamOS update refind has broken and recovery mode (vol -or+) SteamOS ist not detectable. Was able to boot SteamOS through the file option, reinstalled ReFind and option is back. However, "efibootmgr" does not have steam OS listed and to boot, Refind is required . At this point I have decided that windows on deck completely destroys any positive experience the steam deck has to offer. How do I remove Windows boot option and restore back to default so that any future updates do not break the boot loader???

Current efi options form efibootmgr after update:
"BootOrder: 0001,0000,2001,2002,2003
Boot0000* rEFInd HD(1,GPT,c251b194-0059-5243-a512-098d9a805666,0x800,0x20000)/File(\efi\refind\refind_x64.efi)
Boot0001 Windows Boot Manager HD(1,GPT,c251b194-0059-5243-a512-098d9a805666,0x800,0x20000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
"

rEFInd script FAQ

Have you tested what happens with new updates, switching from beta and stable updates vice versa? In the past I have had issues maintaining rEFInd on desktop linux with os updates were released. Does this setup support secure boot and what versions of windows does your script support?

Clean up the newly added no pacman script version

This alternate version of the installation script was thrown together quickly one morning before work, as I was inundated with questions about pacman repositories not working. Due to this quick nature, there is some code tidying up that needs to happen, specifically a redundant GitHub cloning that is unnecessary. The code will be updated within the next week or so to remove this redundant GitHub repository cloning.

Touchscreen fix

Hi there. I hope you dont mind as i saw some users are asking for touchscreen support.

Its an easy fix and documented on the rEFInd config - you cant use enable touch and enable mouse at the same time. You only have to choose 1. If you choose both, then the last entry takes precedence and the other gets disabled.

I saw in your config that you defined enable touch followed by enable mouse. So it process enable mouse instead and disables enable touch.

Here is sample of the config i use. I hope it helps.

Screenshot_20230125-120459

refind didn't work if I launch windows system

It works fine with steamos that each time I restart my steamdeck, refind will be launched for me to choose the system.
But once I chose windows, it will not work correctly. Windows will be auto launched without refind when I restart the system.
But after I manually boot with refind, and launch steamos. Then it workes fine again in future restarts.

Corrupted screen in Windows

Hi,

I have followed the installation instructions in the readme and got the bootloader to work just fine so that's great. My issue however is that when I get to Windows, the screen is completely corrupted.

I have found the section of the readme talking about this and how to fix it but that doesn't appear to work for me. I comment all the resolution lines in the conf file, reboot and I get the sideways loader. Then, if I pick Windows I get to windows and everything is looking perfect. I have the right resolution and the right orientation. Then, I uncomment the "resolution 3" line and I'm back to Windows being corrupted.

My current workaround is that I am leaving all the resolution lines commented so both OSs are working ok but the boot loader is in Portrait mode. Not the end of the world but not ideal.

Am I missing something obvious somewhere?

Thanks!

gui does not boot Pop!_OS

When using the GUI for this, I can make an entry for my 2nd Linux distro (no Windows installs, just Steam OS and another Linux distro) but it does not boot the other OS at all. There is a screen with a bit of text that shows up for a split second, but it's so fast no one could read it (text was white and yellow if that means anything) and returns to the rEFInd selection screen. Loading SteamOS works just fine, and manually boot the 2nd Linux install from the BIOS works just fine.

Linux distro I'm using is Pop!_OS 22.04

unable to add multi boot (Windows, SteamOS, Kali)

I'm unable to add a 3 system multi boot. It was probably easier to just add the Black Arch repos but I prefer to have a full Kali install on the steam deck. Installed Kali and it only boots from the decks bootloader, not rEFInd. I added a PNG image of the kali logo to the icons folder, renamed it to os_kali.png, and edited the config file with the following:

menuentry "Kali" {
icon /EFI/refind/icons/os_kali.png
loader /EFI/kali/grubx64.efi
graphics on
}

Kali does not appear in the bootloader, only windows and SteamOS appear, unsure of what I'm doing wrong here. Thanks in advance for the help.

Unable to Schedule Task

I was following along with the instuctions of the README to setup up the schedueled task to prioritize rEFInd in the boot order from the windows side, and I ran into a problem that prevented me from editing the properties of the task I created.
image
This is the error I keep getting, and I'm not sure what might be the reason. For context I've already got rEFInd installed and have disabled the Windows EFI.

Problem with 'cd SteamDeck_rEFInd'

Hi, I've been working tirelessly to get this dual boot setup. I spent all day trying Deck Wizard's tutorial on YouTube & noticed your strings were a bit different so I wanted to try yours. I'm currently having an issue where the Steam Deck boots into Windows mainly and won't find the rEFInd installation.

I'm hoping your will, but when I enter the second line that begins with 'cd' it says 'No such file or directory.'

Any help would be amazing, thanks!

EDIT: Never mind, a quick close of the Konsole & reopened allowed me to install but I did see that it had some files that said it couldn't be downloaded. After restarting my Deck, it no longer boots into Windows anymore, it now goes straight to game mode. I'll try reinstalling & pasting the full code here.

qmake fails with Project ERROR: Cannot run compiler 'g++'. Output:

Hey,
It looks like, for some reason, qmake stage of install-GUI.sh is failing:

Packages (5) glibc-2.36-6  hwinfo-22.1-1  lib32-glibc-2.36-6  linux-api-headers-5.18.15-1  qt5-base-5.15.6+kde+r180-1

Total Installed Size:  137.16 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] 
(5/5) checking keys in keyring                                                             [####################################################] 100%
(5/5) checking package integrity                                                           [####################################################] 100%
(5/5) loading package files                                                                [####################################################] 100%
(5/5) checking for file conflicts                                                          [####################################################] 100%
(5/5) checking available disk space                                                        [####################################################] 100%
:: Processing package changes...
(1/5) reinstalling linux-api-headers                                                       [####################################################] 100%
(2/5) reinstalling glibc                                                                   [####################################################] 100%
warning: directory permissions differ on /var/db/
filesystem: 711  package: 755
Generating locales...
  en_US.UTF-8... done
Generation complete.
(3/5) reinstalling lib32-glibc                                                             [####################################################] 100%
(4/5) reinstalling hwinfo                                                                  [####################################################] 100%
(5/5) reinstalling qt5-base                                                                [####################################################] 100%
:: Running post-transaction hooks...
(1/4) Reloading system manager configuration...
(2/4) Creating temporary files...
/usr/lib/tmpfiles.d/steamos.conf:24: Duplicate line for path "/var/empty", ignoring.
/usr/lib/tmpfiles.d/tmp.conf:12: Duplicate line for path "/var/tmp", ignoring.
/usr/lib/tmpfiles.d/var.conf:19: Duplicate line for path "/var/cache", ignoring.
(3/4) Arming ConditionNeedsUpdate...
(4/4) Updating the info directory file...
`Project ERROR: Cannot run compiler 'g++'. Output:`
===================
===================
Maybe you forgot to setup the environment?
make: *** No targets specified and no makefile found.  Stop.

GUI compile failed. Please try again after ensuring that your cloned repo is up to date and your pacman config is normal.

Tried to additionally install sudo pacman -Sy base-devel but still no luck :(
Any help?

The boot order is changed every time I enter Windows

Hello! Thanks for your work, works great.

I have Steam OS 3.4.4 and Windows 11 installed. Both work fine.

My problem is that when I install the script on SteamOS and reboot, it works. It shows me the OS selection and I can enter without problems
But when I enter Windows for the first time and restart, the selection screen no longer appears, it always enters Windows from that moment.
If I press - and Power button, the order is

Windows
rEFInd
Steam OS

I don't understand why the boot order changes when entering Windows.

Thanks

Mouse on screen?

installed well but i see a mouse in the middle of the screen, how do i remove it? as i can chose with the dpad i dont think its needed.

Cant install latest Version on newest Beta

Hi,

i get an error while installation on the newest Beta Version of SteamOS.

image

Link on desktop will be created anyway but seems like something is missing:
image

Files from installation folder please see screenshot. Seems like the file "rEFind_Gui" is missing, doesnt it?
image
image

Cant detect Windows from SD card

I have my SD Card inside and it has Windows install (Windowstogo from rufus) but it doesnt seem to work if i Boot from the bios it works just fine

20230514_215546.mp4

Booting from the bootmgr into steam OS works just fine

Windows SD won't boot (no EFI partition on sd card?)

So i have SteamOS on NVMe and Windows 10 on sd card. KDE Partition Manager shows me two partitions from the sd card:

ntfs     ESD-ISO     119.08 GiB
fat12    UEFI_NTFS     1.00 MiB

Both partition don't have a "EFI System partition" partition label. But i can boot from sd card normally from the bios. The UUID format of both partitions also looks a little bit weird:

ntfs     UUID: 2984657982374983D
fat12    UUID: AB12-1B2A

(both UUIDs are thought up, it's only about the format).

I edited the refind.conf like this at the end:

menuentry "Windows SD card" {
    icon /EFI/refind/icons/os_win11.png
    volume 2984657982374983D
    loader /EFI/Microsoft/Boot/bootmgfw.efi
    graphics on
}

I also tried this later

menuentry "Windows SD card" {
    icon /EFI/refind/icons/os_win11.png
    volume AB12-1B2A
    loader /EFI/Microsoft/Boot/bootmgfw.efi
    graphics on
}

In Steam Deck rEFInd i added this:

Boot Option #1: SteamOS
Boot Option #2: Windows (SD)

After booting the Steam Deck i can choose between SteamOS and Windows. SteamOS boots properly, but the Windows icon does nothing.

Dual Boot Screen not showing up

Hello, thank you so much for working on this. It seems like a really cool feature but I'm having trouble making it work properly.

I've made sure that Steam and Windows boot entries are at the exact location you have mentioned. I am running Steam on the stable branch and Windows 10. Followed the instructions exactly but when I boot up my deck, it automatically boots into SteamOS without showing the option to choose between Steam and Windows. I've reinstalled a few times just to make sure but no luck.

I understand you are busy with your personal life so feel free to take your time when looking at this. I appreciate any and all help :) Please let me know if I need to provide any additional information. Thank you!

From latest install:
(deck@steamdeck SteamDeck_rEFInd)$ ./SteamDeck_rEFInd_install.sh
deck P 12/21/2022 0 99999 7 -1
Password is already set.
[sudo] password for deck:
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
==> Generating pacman master key. This may take some time.
gpg: Generating pacman keyring master key...
gpg: key E691D6D086CD60AA marked as ultimately trusted
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/ACFCFD358A579E424A06C47AE691D6D086CD60AA.rev'
gpg: Done
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
-> Locally signed 6 keys.
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
-> Disabled 53 keys.
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 6 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 6 signed: 94 trust: 0-, 0q, 0n, 6m, 0f, 0u
gpg: depth: 2 valid: 74 signed: 28 trust: 74-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2023-01-01
resolving dependencies...
looking for conflicting packages...

Packages (1) refind-0.13.2-1

Total Download Size: 3.45 MiB
Total Installed Size: 5.01 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
refind-0.13.2-1-any.pkg.tar.zst failed to download
error: failed retrieving file 'refind-0.13.2-1-any.pkg.tar.zst' from steamdeck-packages.steamos.cloud : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
sudo: refind-install: command not found
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0002,0003,2001,2002,2003
Boot0002* Windows Boot Manager
Boot0003* SteamOS
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
Boot0002* Windows Boot Manager
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0002,0003,2001,2002,2003
Boot0002 Windows Boot Manager
Boot0003* SteamOS
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
Invalid bootnum value: FFFFFFFFFFFFFFF5

BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0002,0003,2001,2002,2003
Boot0002 Windows Boot Manager
Boot0003* SteamOS
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
cp: cannot stat '/boot/efi/EFI/refind/': No such file or directory
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0000,0002,0003,2001,2002,2003
Boot0002 Windows Boot Manager
Boot0003* SteamOS
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
Boot0000* rEFInd
rEFInd has now been installed.
(deck@steamdeck SteamDeck_rEFInd)$

No Linux entry for systemd-boot installation in GUI

Hi.
As discussed on reddit:
I installed arch-linux using the XBOOTLDR method described here to get around the problem of the small ESP partition on the deck. Now I am missing an entry to generate the correct config on the ui. The systemd-bootloader is located here: /EFI/systemd/systemd-bootx64.efi
Thanks!

Windows 11 boots as default after initially working after rEFInd install.

Wonderful project and great documentation.

Unfortunately Windows 11 is hijacking the boot order after every restart where Windows boots. This happens despite rerunning the bootsequence manually in Windows.

I have followed every step of the instructions to no avail.

Any idea what is going on? I may just be daft and can not properly follow clear instructions.

Black screen on boot when Docked

Hey!

I dont get any video output when i boot my deck while docked.

Im using the JSAUX HB0602. I've updated the firmware to the latest version.

dock is connected to a Viotek GNV30CB (2160x1080. Monitor supports 144hz, dock is connected via HDMI 1.4, so 75Hz)

When i boot, i get no video out from the dock, or the deck.

I just want to check if this is a dock issue, and if theres a way to check, or a rEFInd issue. At this point, im not pointing fingers, just trying to sort out the potential issue.

SteamOS doesn't boot anymore

Hi,

I installed SteamOS new, then refind and then windows 11. After I disabled the windows boot manager from the recovery stick, I can't boot steamos anymore. Not from refind loader or directly. Windows boots.
What can I do?

Windows sd card

Hi,
Tested for a config with Windows sd card and the config file is well generated. However, partition uuid came with correct identifier but in lowcase format. Switching to uppercase format solves the problem.
Should be checked un the code!! But Nice work!

SteamOS update overrides rEFInd boot

After the latest SteamOS update this morning, I found that rEFInd was not popping up for me on reboot or a fresh power on. It seems that something is being overwritten. The fix was simple enough though. Just re-run the installation script from the SteamOS desktop mode command line. This is safe to do consecutive times now as of v1.0.2 (without any intermediate command line steps), as the script will remove one duplicate rEFInd EFI boot entry (assumed from previous script run).

Considerations for reinstalling SteamOS on a dual boot Steam Deck

This issue is being created for documentation and reference purposes (placed here in order to not clobber the main README).

If, for whatever reason, you feel the need to reinstall SteamOS on a functioning dual boot Steam Deck, there are some extra considerations and issues that you may encounter. Some common reasons for needing to reinstall SteamOS are software package or pacman configuration corruption (that can't be easily remedied), or some other system or partition error. If you feel this is happening on your Steam Deck and programs are either acting weird or not working at all, then the reinstall SteamOS from the SteamOS recovery USB may be the option that you're looking for. Reimage should be the last resort, and will delete the full drive before reimaging.

The reinstall option will redo the first 7 partitions, but the /home (8th partition) and subsequent partitions like your Windows installation (for instance) will not be touched. The problem is though, that the EFI boot loader files for Windows and any other Linux or other operating system will be wiped when the /esp partition is recreated. After a successful reinstallation of SteamOS, make sure to update immediately to the latest SteamOS upon first boot. This is to prevent software issues that may happen from running an older version of SteamOS. Programs like Decky Loader, CryoUtilities, and this rEFInd GUI will need to be reinstalled as well.

To restore the Windows EFI files and EFI entry properly, you will need the Windows installation USB to get to a command prompt. Boot off of the Windows installation USB and choose 'Repair your computer' when that option shows up. Use the buttons to get to a troubleshooting command prompt. From there, you will need to use a series of diskpart commands to prepare the proper volumes for the bcdboot command. It will look something like this.

diskpart_example

In this example screenshot, I would have to run these commands to get the /esp partition mounted in preparation for the bcdboot command.

diskpart
list vol
sel vol 4
assign letter=H
exit
cd C:\Windows\System32
bcdboot C:\Windows /s H:

The important things to note here is that my Windows partition is mounted as the C drive and the /esp partition is mounted as the H drive (in my example). If all went properly, the EFI files should be restored on the /esp partition and the Windows EFI entry would have been recreated (remember to disable again!!).

For Linux or other OS EFI files, I'd probably just recommend reinstalling, and I won't go into much detail about that since it's a much rarer use case that I can support as necessary (if people open issues, or respond here).

ChatGPT is pretty amazing

This is less of an issue, and more commentary and open disclosure (for documentation purposes). The vast majority of this code was written manually by me and some updates were provided by a few GitHub users. There was one issue that I wanted to get working and had tried, but did not find a workable solution. This was to allow typing in the text box entries for the background and icon paths, but reject that text if the file was a not a valid and existing PNG file.

Hearing about ChatGPT being pretty good with coding, I decided to ask it a few questions about this. The final statement that I posed to ChatGPT to get me very close to a workable solution (not all of the way there) was, "write me a C++ function to check the text in a QLineEdit text box and reject and clear that text entry if it is not a valid and existing PNG file." Fairly quickly, I had very close to the solution that I was looking for. This was incredible and my first experience at just how powerful ChatGPT is. This has major implications for software engineers going forward. Teachers at the university teaching coding classes, computer science or computer engineering classes will likely revert to paper tests, if not already doing so.

I was also curious at more obscure coding language support, so I asked for some basic SKILL code examples. SKILL is a very specialized LISP dialect used for IC layout and design. I was quite surprised that ChatGPT gave me good examples of SKILL codes. I will likely use it going forward if there is a snippet of code that I can't quite figure out on my own. It's a really powerful, great resource to have available.

Unable to Disabling Windows EFI

Sorry if this is the incorrect place, but I am having an error disabling the windows efi entry to have the deck boot into rEFInd.

I had the common error of SteamOS deleting its own EFI entry, and following the readme I managed to re-enable it and reinstall rEFInd. SteamOS and rEFInd both work if manually selected in the boot loader, but the deck boots into windows by default. I believe the rEFInd script also is unable to disable the windows EFI. The Windows EFI file exists, and if I boot into rEFInd using the boot loader, I can launch windows from rEFInd. I tried disabling the windows entry in manually with the error below.

(1)(deck@steamdeck ~)$ sudo efibootmgr

[sudo] password for deck:

BootCurrent: 0001

Timeout: 0 seconds

BootOrder: 0002,0000,0001,2001,2002,2003

Boot0000* rEFInd HD(1,GPT,676c28fe-3c8e-e04f-8a04-bfc22731e99d,0x800,0x20000)/File(\efi\refind\refind_x64.efi)

Boot0001* SteamOS HD(1,GPT,676c28fe-3c8e-e04f-8a04-bfc22731e99d,0x800,0x20000)/File(\efi\steamos\steamcl.efi)

Boot0002* Windows Boot Manager HD(1,GPT,676c28fe-3c8e-e04f-8a04-bfc22731e99d,0x800,0x20000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000000000100000010000000040000007fff0400

Boot2001* EFI USB Device RC

Boot2002* EFI DVD/CDROM RC

Boot2003* EFI Network RC

(deck@steamdeck ~)$ efibootmgr -b 0002 -A

efibootmgr: Boot entry 2 not found

Could not set active state for Boot0002: No such file or directory

Some things I have tried:

  • Changing the boot order. Just changes itself back when restarting
  • Reinstalling rEFInd

Any ideas how to disable the windows efi?

Go back to Steam OS only (remove windows 11 and rEFInd)

Steam OS has been working really well for me, that I don’t want Windows anymore.
So I would like to remove Windows 11 and rEFInd from my Steam Deck. This is all installed on the internal drive.

Any instructions on how to undo windows 11 and rEFInd, then reclaim that hard drive space to steam OS?

Question regarding systemd service functionality

So I thought I'd ask the opinion of people here who use this script. I can modify the systemd service to check for and fix missing EFI entries for both SteamOS and rEFInd (both are likely to go missing with BIOS updates) in addition to setting rEFInd as the BootNext target, or I can leave it as is. Does anyone have a strong opinion, one way or the other about whether or not I should make this change? Basically, it would change the systemd service to call a short Bash script with the short algorithm, rather than calling a simple function to only set the BootNext target. I'm pretty indifferent here, since BIOS updates don't happen too often. I just thought I would ask and see what people think.

conf changes post install

Hi,

Do we need to rerun the script again after making change to the config file or just reboot and it will work automatically?

Thanks.

Refind doesn't boot to batocera

Previously my steam deck was dual booted with windows (on ssd) but I decided to remove it. I then flashed batocera on my sd card and then configured refind to have batocera as the 2nd boot. However when trying to boot batocera via refind boot menu I am getting a glitch screen so I decided to remove refind and then reinstall. However this time I am now able to boot to batocera only if it started from steam deck being totally shutdown. When I try to restart and then try to boot batocera again it just goes straight to steamOS.

GUI generated refind.conf Config File

timeout 5
use_nvram false
hideui singleuser,hints,arrows,label,badges
banner background.png
banner_scale fillscreen
resolution 3
enable_touch
enable_mouse
showtools
#scanfor manual,external
scanfor manual
default_selection "1"

menuentry "SteamOS" {
icon /EFI/refind/os_icon1.png
firmware_bootnum 0001
}

menuentry "Batocera" {
icon /EFI/refind/os_icon2.png
volume "BATOCERA"
loader /EFI/BOOT/bootx64.efi
graphics on
}

add Check for Updates button GUI app

Hi
CryoUtilities have check for update button to simplify gamers/users/Linux noobs to ensure the GUI version on latest version and I hope this app have same feature. What do you think?

Errors when installing rEFInd.sh

Upon entering command:
./SteamDeck_rEFInd_install.sh

Output Error Snippet:
refind-0.13.2-1-any.pkg.tar.zst failed to download
error: failed retrieving file 'refind-0.13.2-1-any.pkg.tar.zst' from steamdeck-packages.steamos.cloud : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
sudo: refind-install: command not found

Effect:
Windows Boot Manager is disabled
rEFInd is listed in efibootmgr

Upon restart, OS selection is not loaded, Steam OS will automatically load instead.
Returning to Konsole in Steam Desktop Mode will show that rEFInd is no longer listed in the efibootmgr

Can you please help look into this?

Error. Need help pls

Hello. I tried following the install on a YouTube tutorial and I accidentally hit enter when copying and pasting from this thread on the steam deck. And idk if that is the reason or not. But I am getting this error code. Also like in the video. The password pop up didn’t open for me. Do you know how I can uninstall then start completely over. Or anything I can do to fix this error. I’m just trying to dual boot steam and windows.
F3635590-DB60-400A-819E-5724ECAFB3FA
54CEE51A-6406-4513-B493-5672B92F394D

Fix and re-add the deck user password checking and setting

Code fix has been typed up for the deck user password checking and setting, but I need to test it on a brand new SteamOS installation. It will be nice to have this implemented properly, as it would be one less manual step for a successful script run. Here is the unverified code snippet fix to replace the removed snippet in the main installation script.

passwd --status deck | tee ~/deck_passwd_status.txt
awk '{
if($2 =="P")
{
print "Password is already set."
DECK_PASSWD_SET_FLAG=1
}
else
{
print "Password has not been set. Please set password for deck user now."
DECK_PASSWD_SET_FLAG=0
}
}' ~/deck_passwd_status.txt

if [ $DECK_PASSWD_SET_FLAG == 0 ]; then
passwd
fi

Boot Menu does Not Display

Just installed the latest release via basica instructions and I do not have any rEFInd boot menu displayed on startup. I get a mouse cursor with a blank black screen, hit the timeout of 5 seconds, and then boot straight into Steam OS (whereas previously I would've booted straight into Win11).

Reran the installer again for good measure and don't see many suspicious entries in the install log. Only thing that looked possibly out of place was a package manager complaining what I assume was refind could not be found in the steamos package repo.

Everything seems to function correctly, but I just don't seem to get any boot menu display for some reason. Any ideas?

cannot uninstall

having this issue where im unable to uninstall. (see attached screen shot)

ksnip_20230118-140427

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.