This repository contains the instructions and scripts on how to install Clover - a graphical boot manager.
This will mostly benefit Steam Deck users who have setup a dual boot and wants to have a graphical way to select which OS to boot from.
NOTE
If you are going to use this script for a video tutorial, PLEASE reference on your video where you got the script! This will make the support process easier!
NOTE2
If anyone is good at graphics editing, please take a look at the Clover themes here.
Please pick several themes, edit the icons / backgrounds etc etc and let me know a download link.
I can integrate that so the theme is tailor fitted for the SteamOS / Steam Deck. Thank you!
- Do this at your own risk!
- This is for educational and research purposes only!
NOTE1
This is a continuation of my rEFInd script from here.
The design goal is the same from my rEFInd implementation - make as little changes as possible to the system.
For the SteamOS side
The script copies files to the /esp/efi/clover location and manipulates the EFI boot orders. No files are renamed / moved.
Extra scripts are saved in ~/1Clover-tools which manipulates the EFI boot orders, and an uninstall to reverse any changes made.
There are no extra systemd scripts created,no extra power shell scripts neededand no need for EasyUEFI.
For the Windows side
The script creates a folder called C:\1Clover-tools and creates a Scheduled Task.
The Scheduled Task runs the powershell script saved in C:\1Clover-tools. The powershell script queries the EFI entries and sets Clover to be the next boot entry.
NOTE2
If the EFI boot entries are missing due to BIOS updates or due to official SteamOS updates, just manually reboot into SteamOS and it will fix the dual boot automatically. No need to type any commands!
NOTE3
The config.plist for Clover is 1100+ lines! The config I have bundled here does the basic function - present SteamOS and Windows (on the internal SSD) for dual boot.
It is encouraged to please review the config.plist, make changes as needed for improvement and contribute back.
- NEW - Use a different boot manager - Clover.
- NEW - Does not rename / move Windows EFI entries.
- NEW - When the dual boot breaks, just boot back manually to SteamOS and it will fix the dual boot entries on its own!
- Does not rely on 3rd party systemd scripts /
powershell scripts/ EasyUEFI. - All-in-One script - install, disable / re-enable, uninstall!
- Doesn't rely on pacman repositories - uses the latest (as of this writing V5151) Clover ISO from here.
WARNING!
Please carefully read the items below!
- The script has been thoroughly tested on a fresh SteamOS and Windows install.
- If your SteamOS has prior traces of rEFInd or scripts / systemd services related to rEFInd, it is suggested to uninstall / remove those first before proceeding. If you were using my rEFInd script then it's all good as I don't use systemd services.
- If your Windows install has scripts or programs related to rEFInd / EasyUEFI, it is suggested to uninstall / remove those first before proceeding.
I don't know what the behavior will be if those are present in the system. Remove them first before using this script!
Prerequisites for SteamOS
- No prior traces of rEFInd or scripts / systemd services related to rEFInd.
- sudo password should already be set by the end user. If sudo password is not yet set, the script will ask to set it up.
Prerequisites for Windows
NOTE
This applies to Windows installed on the internal SSD / external SSD / microSD.
- No scripts / scheduled tasks related to rEFInd or EasyUEFI.
- APU / GPU drivers has been installed and screen orientation set to Landscape.
- This is VERY IMPORTANT! Do not skip this step -
- Open command prompt with admin privileges and enter the command -
bcdedit.exe -set {globalsettings} highestmode on
- Open command prompt with admin privileges and enter the command -
NOTE1 - please read carefully below
- Make sure you fully read and understand the disclaimer, warnings and prerequisites!
- The script will create a directory called ~/1Clover-tools with scripts to enable / disable Windows EFI and an uninstall to reverse any changes made. Do not delete this folder!
NOTE2
The design goal is the same from my rEFInd implementation - make as little changes as possible to the system.
For the SteamOS side
The script copies files to the /esp/efi/clover location and manipulates the EFI boot orders. No files are renamed / moved.
Extra scripts are saved in ~/1Clover-tools which manipulates the EFI boot orders, and an uninstall to reverse any changes made.
There are no extra systemd scripts created,no extra power shell scripts neededand no need for EasyUEFI.
For the Windows side
The script creates a folder called C:\1Clover-tools and creates a Scheduled Task.
The Scheduled Task runs the powershell script saved in C:\1Clover-tools. The powershell script queries the EFI entries and sets Clover to be the next boot entry.
NOTE3
The installation is divided into 2 parts - 1 for SteamOS, and 1 for Windows.
The recommended way is to do the steps on SteamOS first, and then do the steps for Windows.
Installation Steps for SteamOS
-
Go into Desktop Mode.
-
Open a konsole terminal.
-
Clone the github repo.
cd ~/
git clone https://github.com/ryanrudolfoba/SteamDeck-Clover-dualboot -
Execute the script!
cd ~/SteamDeck-Clover-dualboot
chmod +x install-Clover.sh
./install-Clover.sh -
The script will check if sudo passwword is already set.
4a. If it is already set, enter the current sudo password and the script will continue.
If wrong password is provided the script will exit immdediately. Re-run the script and enter the correct sudo password!4b. If the sudo password is blank / not yet set by the end user, the script will prompt to setup the sudo password. Re-run the script to continue.
4c. Script will continue to run and perform sanity checks all throughout the install process.
-
Reboot the Steam Deck. Clover is installed and you should see a GUI to select which OS to boot from! Use the DPAD and press A to confirm your choice. You can also use the trackpad to control the mouse pointer and use the RIGHT SHOULDER BUTTON for LEFT-CLICK.
Installation Steps for Windows
-
Download the ZIP by pressing the GREEN CODE BUTTON, then select Download ZIP.
-
Go to your Downloads folder and then extract the zip.
-
Right click CloverWindows.bat and select RUNAS Administrator.
-
The script will automatically create the C:\1Clover-tools folder and copy the files in there.\
-
It will also automatically create the Scheduled Task called CloverTask-donotdelete
-
Go to Task Scheduler and the CloverTask will show up in there.
-
Under the General tab, make sure it looks like this. Change it if it doesn't then press OK.
-
Right click the task and select RUN.
-
Close Task Scheduler. Go to C:\1Clover-tools and look for the file called status.txt.
-
Open status.txt and the Clover GUID should be the same as the bootsequence. Sample below.
-
Reboot and you should see a GUI to select which OS to boot from! Use the DPAD and press A to confirm your choice. You can also use the trackpad to control the mouse pointer and use the RIGHT SHOULDER BUTTON for LEFT-CLICK.
ALTERNATIVELY YOU CAN CREATE THE SCHEDULED TASK MANUALLY
Read this for your Common Questions and Answers! This will be regularly updated and some of the answers in here are contributions from the WindowsOnDeck reddit community!
Use a hash file calculator. Verify that the hash matches -
MD5 - ef49756644c5fdd5f243aba830b59fb
SHA1 - c6e97f23e651b84bec33e9658f534a0a3b8cae8
SHA256 - a1849489103f82b3cb0dc97cf93d7b656f837b9e54507434ce0f0b24158ad991
SHA384 - ebc10f31977f0c32e9f842cd3114f7c425de7edaf94d0f60f4de260420ee1020074e265c130dde88f763a8573825f094\
- Boot to Windows.
- Open command prompt with admin privileges and enter the command -
bcdedit.exe -set {globalsettings} highestmode on
-
Boot into SteamOS.
-
Go to Desktop Mode.
-
Open a konsole terminal and re-enable the Windows EFI -
cd ~/1Clover-tools
./enable-windows-efi.sh
-
Reboot the Steam Deck and it will boot directly to Windows.
-
Open command prompt with admin privileges and enter the command -
bcdedit.exe -set {globalsettings} highestmode on -
Make sure screen orientation is set to Landscape.
-
Reboot and it will go back to Clover!
-
Boot into SteamOS.
-
Go to Desktop Mode.
-
Open a konsole terminal and re-enable the Windows EFI -
cd ~/1Clover-tools
./enable-windows-efi.sh
-
Reboot the Steam Deck and it will automatically load Windows.
-
Install the GPU / APU driver upgrade and reboot Windows.
-
After the reboot it will go back to Clover.
-
Select Windows and wait until it loads.
-
Make sure screen orientation is set to Landscape.
-
If everything looks good, reboot and it will go back to Clover.
- Follow the steps for the Windows install.
- Manually boot into SteamOS and it will automatically fix the dual boot entries.
- On the next reboot it will go to Clover.
This happens even if not using dualboot / Clover / rEFInd.
- Turn OFF the Steam Deck. While powered OFF, press VOLUP + POWER.
- Go to Boot from File > efi > steamos > steamcl.efi
- Wait until SteamOS boots up and it will automatically fix the dual boot entries.
- On the next reboot it will go to Clover.
Q7. I hate Clover / I want to just dual boot the manual way / A better script came along and I want to uninstall your work!
-
Boot into SteamOS.
-
Open a konsole terminal and run the uninstall script -
cd ~/1Clover-tools
./uninstall-Clover.sh
-
Reboot the Steam Deck and it will automatically load Windows. Clover has been uninstalled!
You can send me a message on reddit / discord to say thanks!