Update README.md

Convert "sudo rm -rf /esp/efi/refind/" to codeblock
This commit is contained in:
ericleone 2023-02-15 18:12:33 -05:00 committed by GitHub
parent 09f715d1c8
commit 80cc2ea6c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,11 +160,18 @@ yes | sudo pacman -R refind
sudo steamos-readonly enable
```
Once refind is uninstalled, the GUI can be removed with the following commands:
```
sudo rm -rf ~/SteamDeck_rEFInd
sudo rm -rf ~/.SteamDeck_rEFInd
sudo rm -f ~/Desktop/refind_GUI.desktop
```
The non-pacman installation script files would be a little bit more complicated to delete, but not too difficult if somebody insisted on it. Since those files only take up a very small amount of space on the 5GB root partition (not taking up any space for games on the `/home` partition), I am not going to go over that in more detail here.
To remove the rEFInd directory from the `/esp` partition **_(be forewarned that making a mistake here and deleting the wrong files or folders on the `/esp` partition could render your Steam Deck unbootable and in need of the recovery image. Consider this a fair warning and me taking no responsibility for user error here.)_** run this command.
`sudo rm -rf /esp/efi/refind/`
```sudo rm -rf /esp/efi/refind/```
## **References**