r/SteamDeck • Content Creator • Sep 05 '23 • Take My Energy 1 Bless Up 1 Heart of Silver 2 Mindblown 1 Heartwarming 1

Discussion Steam Deck Tutorial - UPDATED - reset forgotten sudo password in SteamOS the quick and easy way using root debug shell method

https://youtu.be/B1qfIdP2Ayo


This is an update to my previous method on how to reset a forgotten sudo password. This method utilizes root debug shell instead of init=/bin/bash method.

You just need a USB keyboard, activate root debug shell and be done in about 2mins

https://youtu.be/B1qfIdP2Ayo


If you have forgotten the sudo password for the Steam Deck then don't worry I will teach you how to reset the forgotten sudo password the quick and easy way!

This are the steps on how to reset a forgotten sudo password. You will need a keyboard attached to the Steam Deck to enter the commands easily -

  1. While the Steam Deck is powered off, hold the 3dots (QAM) and turn on the Steam Deck.
  2. The recovery menu will appear. On your keyboard highlight the 3rd option - CURRENT (OS Boot Menu) then press enter.
  3. The GRUB menu will appear. Highlight the 1st option - SteamOS then on your keyboard press "e" to edit the boot options.
  4. Press down cursor on the keyboard until steamenv_boot is highlighted. Press "end" to go to the end of the line.
  5. Enter the command - systemd.debug_shell
  6. Press CTRL-X to boot!
  7. Once SteamOS loads, press CTL-ALT-F9 on the keyboard to access the root debug shell.
  8. Enter the command - passwd deck
  9. Enter new password and retype the new password.
  10. Once done, press CTL-ALT-F1 on the keyboard to go back to game mode.

sudo password has been reset! You can now boot to desktop mode and use sudo commands using the new password!

https://youtu.be/B1qfIdP2Ayo

1.1k Upvotes

397 comments sorted by

82

u/dampcardboard Sep 05 '23

Wish I knew this a few months ago, basically had to factory reset my deck because I forgot my password when setting up cryotools lol

32

u/ryanrudolf Content Creator Sep 05 '23

Yes this issue pops up from time to time so i decided to poke around and share my findings.

→ More replies (3)

5

u/Long_Candidate_2035 Nov 24 '25

I can't type anything help

8

u/BarbatosSlim Nov 29 '25

It does not display text. I put in my desired password then hit enter then re entered desired password. If typed correctly it will say successful.

→ More replies (3)

34

u/Jam-Stew Aug 05 '24

In case anyone else has the problem I had where pushing Ctrl alt F9 leads to a blank screen with cursor, between steps 4 and 5 make sure you push the space bar once before typing systemd.debug_shell I think he mentions this in the YouTube video description. I kept making this error but once I left a space it worked and I was able to finally change the password. Thanks OP!

Edit:  I read the tip regarding the space on this video:

https://youtu.be/F96ntnf8qiQ?si=Rr6UhS_uV_mmBSgx

2

u/ryanrudolf Content Creator Aug 05 '24

You're welcome I'm glad you find it useful!

→ More replies (2)

19

u/Veilkam Sep 05 '23

Not in need of that right now, but I'm saving this post. Nice guide!

2

u/ryanrudolf Content Creator Sep 05 '23

You're welcome!

5

u/Far_Proposal555 256GB Jun 13 '24

And it even works! There are a ton of older guides on YT that really need updates or to just be taken down…

→ More replies (3)

8

u/tor09 Sep 05 '23

Saved this for the next time I fuck up

6

u/ryanrudolf Content Creator Sep 05 '23

No worries the guide / video will help you!

5

u/hankrazorbeard Sep 05 '23

I just wiped yesterday and lost my Pokemon save file, thought it was on the SD card lol

3

u/ryanrudolf Content Creator Sep 05 '23

LOL gotta grind again for that Pokemon game!

4

u/Yoraxx Nov 27 '23

When i Press Ctrl+alt+F9, my steam deck freezes..

1

u/ryanrudolf Content Creator Nov 27 '23

Try go to BIOS and temporarily disable the DRD. Change it to XHCI.

Then perform the steps again.

3

u/Stained_Carpet_ Dec 20 '23 edited Dec 20 '23

Mine freezes too, and I unfortunately don't know what this means or how to follow these steps, please help?

Edit: ok, I have found out how to do that. I changed drd to xhci and now my steam deck doesn't freeze anymore whenever I press ctrl + alt + f9, I can type in "passwd deck". BUT when it asks for the new password, it won't let me type it in?? No matter which keyboard I'm using. Idk what I'm doing wrong, I've tried three times already but it just won't let me enter my new password :/

7

u/Shadow-Sorcerer Jan 31 '24

I don't know if you are still struggling with it, but that is normal. In Linux you don't see anything being typed when you enter a sudo password, but it does actually input something

→ More replies (1)

3

u/Certain_Eye8086 64GB - Q3 May 28 '24

Just used this today! Worked like a charm.

2

u/ryanrudolf Content Creator May 28 '24

Awesome I'm glad you got it working!

3

u/LikeLikeFlan Jul 03 '24

This worked perfectly, thank you.

3

u/ryanrudolf Content Creator Jul 04 '24

You're welcome!

3

u/Andyjones99 Apr 25 '25

Over a year later and you're still saving lives

4

u/ryanrudolf Content Creator Apr 25 '25

You're welcome!

3

u/Canilickyourfeet Jun 23 '26

Hilarious I have to buy a USB C keyboard or an adapter to reset and fucking password lmao.

2

u/ryanrudolf Content Creator Jun 23 '26

Those are optional - you only need to get those if you want a quick and easy way to reset a forgotten password.

So if you don't want that, then dont forget your password!

2

u/Codingale Sep 05 '23

Neat, the video made me think I had an installer open.

2

u/ryanrudolf Content Creator Sep 05 '23

aha! Nice catch! Its a music from a keygen back in the day!

3

u/Codingale Sep 06 '23

y.. yes.. back in the day.

2

u/NflJam71 Nov 21 '25

Does everyone just own a USB-C keyboard? Seems like a really specific thing to have. Wish it were a little easier to get this done.

2

u/ryanrudolf Content Creator Nov 21 '25

You dont need a USB C keyboard. You may already have a regular USB keyboard and a USB C adapter is all that is needed. This is the easiest way to reset a forgotten sudo password. Previous methods were way more complicated using the SteamOS recovery disk.

→ More replies (1)

2

u/Key_Collar6101 Apr 21 '26

Why do i get this neverending counting screen when i do ctrl+alt +F9? 😪

2

u/ryanrudolf Content Creator Apr 21 '26

Disconnect from dock

2

u/Key_Collar6101 Apr 21 '26

Oh that easy... shit but im in need of the C port keyboard then! dont have it! Is there any other way?

2

u/ryanrudolf Content Creator Apr 21 '26

Just disconnect the HDMI then from dock

→ More replies (2)

2

u/SkyrimSlag 512GB OLED May 19 '26 edited May 19 '26

I’ve changed my password using this method, but Decky installer and konsole both still say the password is wrong?

Edit: I went through the steps and did everything again and it worked the second time. If anyone else is having the same issue, try doing it again and see if it works the second time :)

2

u/ryanrudolf Content Creator May 19 '26

Whats the output of

sudo whoami

id

→ More replies (1)

2

u/Prestigious_Wall_956 Aug 17 '26

Yep same for me i have to do It two or three times to make It work

2

u/antiallium Sep 14 '26

Just want to say that this is still working in Sept 2026. Thank you so much for your help!

And a silly question from me: can I get rid of the `systemd.debug_shell` command now that I've successfully reset my password?

1

u/ryanrudolf Content Creator Sep 14 '26

No need as that parameter is automatically gone when restarting the Steam Deck.

25

u/Umkkxk 512GB - Q3 May 06 '24

The steamdeck only has USB C slots. When I try using my steam dock the keyboard works up until the GRUB menu then the keyboard no longer functions. How do I work around this?

5

u/CptDipStick 512GB Feb 06 '25

I know you may have resolved this by now, but for others: don't use a dock/hub. Connect your keyboard directly to your Steam Deck without any intermediary devices which would be routing the communication

10

u/Ashter_Moon Jun 10 '25 edited Jul 13 '25

And how genius? This also happens when you use an adapter from USB to C as well

→ More replies (2)

18

u/[deleted] Jul 27 '24

I can't type after the Ctrl alt f9 part

5

u/imhere4tolookatporn Nov 24 '24

I can't either, did you ever figure this out?

→ More replies (4)

5

u/rawnewdlz Feb 07 '25

Did you figure out a fix? My screen freezes when doing CTRL + ALT + F9. It doesn't matter if I change the USB Dual Role Device from XHCI or DRD

→ More replies (1)

13

u/Impressive_Fig_3455 Mar 01 '24

any reasons why my keyboard with usb works in steam and desktop but not in the reebot menu?

3

u/cdubthebarber Jan 12 '25

Having this same issue, any fixes??

9

u/NaughtyBear1337 64GB May 29 '24

Hi!

First of all, thank you for this Tutorial!

It helped but i ran into another issue now,

my Steam Deck now takes a LOT longer to start up aswell as entering Desktop Mode.

Shutting it down results in landing in the Debug Window.

I was not able to remove the Debug Shell Line as Booting into the required Section just throws me straight to the same Window.

So i am asking, is there a Fix or am i Screwed?

Thanks in Advance!

→ More replies (2)

8

u/TomH_squared Nov 07 '23

I'd buy you a beer if I could, thanks for the tutorial! One thing worth noting, if your Deck has a pin code, you'll need to enter it before pressing Ctrl+Alt+F9 to get the debug shell (step 7). If you try to enter the debug shell before entering your pin, the Deck just appears to freeze at the pin entry screen. Pressing Ctrl+Alt+F1 will take you back and allow you to enter your pin if you also make that mistake

2

u/ETRevelator34 May 09 '26

Thank you for the ctrl+alt+F1 tip, legend

8

u/HU1_Manatee Feb 23 '25

Important note for anyone not able to type in the root debug shell after hitting CTRL-ALT-F9: Make sure to add a space after the "systemd.debug_shell" before you hit CTRL-X to boot. 

So type "systemd.debug_shell " in his step 5.

3

u/HelpFixMeGundamHand Aug 19 '26

i will pray for your health

→ More replies (2)

3

u/Traditional_Ocelot76 May 10 '24

Anyone know why the keyboard won't type on the ctrl alt f9 part.. Had no issues getting to it with all the methods but no input is showing at this stage for some reason

4

u/[deleted] May 12 '24

I had this same issue. It turns out that there shouldn't be a "-" in front of the "systemd.debug_shell" command. It worked when I redid it without the "-".

2

u/Disastrous-Car-6347 1TB OLED Sep 14 '24

Idk why he put the - there when it was not needed

→ More replies (6)

5

u/Disastrous-Scale1917 Mar 23 '24

Ctrl+alt+F9 doesnt do anything for me, does anyone know why?

4

u/Disastrous-Scale1917 Mar 23 '24

Okay i fixed it, it was because i had F9 macro'd to mute sound and wasnt functioning as F9

→ More replies (1)

4

u/dashKay Oct 24 '24

I can’t type inside the root debug shell

3

u/zer0se7en2wo Nov 09 '24

same, did u find a fix?

→ More replies (5)

4

u/kurdo_kolene Jul 14 '25 edited Jul 22 '26

Bumping and leaving this comment for SteamOS users on other devices:

This method works on all devices that run SteamOS (Legion Go, Legion Go S, ROG Ally (X):

Prepare a usb stick with SteamOS recovery image https://help.steampowered.com/en/faqs/view/1B71-EDF2-EB6D-2BB3

Boot the usb.(For Legion Go S hold Volume+ and press power button-> boot menu)

After you are booted into SteamOS recovery, follow these steps:

  1. Select "Terminal with repair options"
  2. In the terminal that opens, type " repair_device.sh chroot " (Mounts the Steam Deck partitions in chroot)
  3. Type "steamos-readonly disable"

4.Enter the command - passwd deck

5.Enter new password and retype the new password.

6. Reboot

That's it.

2

u/linkjr2 Aug 31 '25

A couple other notes, there is information in the terminal as it pops up that says it is in the tools directory and that says it needs to be run with sudo.

→ More replies (1)
→ More replies (11)

1

u/Itshendiggitydog 21d ago

It’s supposed to be connected to my keyboard and it’s not

2

u/ryanrudolf Content Creator 21d ago

I'm not sure what your question is

1

u/Pinky_- Aug 05 '24

What happens if you switch back from debug shell? I assume you're not supposed to stay on that

1

u/ryanrudolf Content Creator Aug 05 '24

Thats fine - you can do root tasks while in debug shell so be careful with konsole commands that you type!

Once you reboot Steam Deck the debug shell is gone. You need to reactivate again if you need to access it.

1

u/Altruistic-Front4929 Aug 13 '24

Can anyone help? After typing in the command the deck loads up in game mode and ctrl alt f9 doesn’t bring anything up

1

u/ryanrudolf Content Creator Aug 13 '24

Make sure no typo on step 5. Make sure you also put a space before entering that command.

1

u/Altruistic-Front4929 Aug 13 '24

Yeah it turns out all of that was good, but I saw in the comments about going into bios and switching to xhci. Strangely mine was already on that, so I switched it back to drd and that fixed it for me… go figure lol

2

u/ryanrudolf Content Creator Aug 13 '24

Awesome glad you got it working

→ More replies (1)

1

u/addstunt Sep 12 '24

After resetting the password, my Steam deck stopped displaying the start movies when turning it on. Is there a way to fix this? I think it's related to the boot menu during the steps that I followed.

1

u/ryanrudolf Content Creator Sep 13 '24

No it only resets the sudo password nothing else

1

u/level2janitor Oct 03 '24

i'm having an issue i don't see anywhere else in this thread - when i reach step 5, the steam deck simply doesn't recognize the systemd.debug_shell command. i don't know what to do from here.

1

u/ryanrudolf Content Creator Oct 03 '24

Did you do CTL-X to have the Steam Deck boot with those parameters? Thats in step 6 btw.

→ More replies (1)

1

u/OtherwiseStorm9841 Nov 10 '24

Neither method seems to work for me (Steam OS 3.6). In the /bin/bash method, once I start it, the USB keyboard stops functioning, so I can't type mount. In the previous method, nothing happens with CTRL-ALT-F9 (even after trying CTRL-ALT-F6 first, as some users suggested).

2

u/ryanrudolf Content Creator Nov 10 '24

Both methods still work. Some tips -

Make sure no typos

Make sure USB is set to XHCI

If using a dock, plug the keyboard directly to the Steam Deck

Try a different USB keyboard

1

u/CrystlBluePersuasion Dec 28 '24

I followed these steps and got the password reset to work, however I used my numpad which was disabled/turned off during the password reset, now the password doesn't work so I've reset nothing.

Now I can't even get back to the debug shell to do another password reset? Ctrl Alt F9 gives me a blank screen with blinking cursor space and nothing works, can only exit back to steam OS.

2

u/ryanrudolf Content Creator Dec 28 '24

Do the steps again make sure no typos

→ More replies (1)

1

u/RiftKing321 Dec 30 '24

When I press CTRL ALT F9 I just get a bunch of "losing delta precision while programming shaper lut" and can't type anything.

1

u/ryanrudolf Content Creator Dec 31 '24

Try the steps again make sure no typos

→ More replies (1)

1

u/NumberEye Feb 03 '25

You are a saint and a scholar! This tutorial has saved so many people and so many hours over reinstalling SteamOS!

1

u/ryanrudolf Content Creator Feb 03 '25

Thamk you I'm glad you and others have find it useful! Happy gaming!

1

u/MoonScentedHunter Feb 04 '25

Is there a way to now remove the debug text when it shuts down, it doesnt bother me greatly but I also like NOT seeing it

1

u/ryanrudolf Content Creator Feb 04 '25

Its only temporary modification. Once you reboot the debug shell is gone.

→ More replies (1)

1

u/[deleted] Feb 13 '25

All is good until i get to the ctrl alt f9 menu, change password its accepted, then i cant exit!! ctl alt f1 does nilch

1

u/ryanrudolf Content Creator Feb 13 '25

You can reboot instead using this command -

reboot

→ More replies (1)

1

u/FourDimensionalNut Feb 14 '25

just gonna add my fix here since this thread is a top result in google. I tried so many fixes between so many threads (thread 1 thread 2 thread 3) and none of them worked. between the konsole commands, partition manager, inserting, removing, windows powershell, etc. i thought nothing would fix the card

until i decided to try a hail mary and inserted the sd card into my samsung galaxy a35 and it offered to format it

and it worked. the card now opens in windows and is usable again. not sure what will happen on the deck again (bit scared to try tbh) but i saved the card.

so if you have an android that still has a sd card slot (rarity in 2025 sadly), try it. its so stupid, it might just work.

1

u/ryanrudolf Content Creator Feb 14 '25

This is about a sudo password reset. No need for sdcard method to reset a sudo password. Just need a wired keyboard.

1

u/bakanard Feb 16 '25

Je ne dispose pas d’un clavier USB C et je bloque à la dernière étape à savoir entrer un mot de passe car je ne peux pas écrire. Des solutions ?

2

u/ryanrudolf Content Creator Feb 16 '25

You need a USB keyboard for this

→ More replies (1)

1

u/SecondHandSexToys 1TB OLED Limited Edition Apr 30 '25

At step 7 here after hitting Ctrl+Alt+F9 my steam deck just went to a black screen with a text cursor in the upper left corner and sat there for ~5 minutes before i decided to restart. Now it just hard freezes every time I try to hit Ctrl+Alt+F9.

I tried Ctrl+Alt+F9 from desktop mode and the screen just goes black, but I can tell the steam deck is still on because I still get haptics from the trackpads.

1

u/ryanrudolf Content Creator Apr 30 '25

Make sure no typos on the previous steps. Make sure its -

systemd.debug_shell

→ More replies (1)

1

u/Octostrike3374 May 15 '25

Everything was working fine up until having to press Ctrl-Alt-F9. When I did, not only could I not type, the Deck kept repeating what I believe is an error that was along the lines of “Losing delta precision while programming shaper LUT”

Has anyone else had this problem and is there a fix?

1

u/ryanrudolf Content Creator May 15 '25

Regarding not able to type - it means you had a typo in the previous step. Make sure it reads like this -

systemd.debug_shell

1

u/Octostrike3374 May 15 '25

I’ve typed it the same way multiple times at the end of the line, and it still errors out to that.

I’m confused on if I’m missing something else?

1

u/ryanrudolf Content Creator May 15 '25

The steps are still working even on latest SteamOS 3.7. Not sure why it doesnt work on yours.

→ More replies (6)

1

u/Far-Berry-3183 May 26 '25

I don't understand why, I followed your guide to the letter and when I get to the last string to insert, a message appears "bash comand dont exist" and from there it doesn't go forward and I have to restart how can I solve it?

1

u/ryanrudolf Content Creator May 26 '25

This guide has been uaed several times already with great success. I would suggest redo your steps again make sure no typos. Theres also a video guide for it you can use that too

1

u/SameStore1060 Jun 19 '25

Not sure if this worked for everyone, I have tried to follow the guide but because I am overseas and do not want to buy a keyboard just for that

So what I did is step 1-2 (not sure if it affects the following)

  • 1.Go to settings in desktop mode
  • 2.accounts (whatever it called, don’t have my deck with me)
  • 3.change the password on that

Then my sudo password magically became the one I just set

3

u/ryanrudolf Content Creator Jun 19 '25

Its because you don't have existing sudo password yet. Try those steps again and it will ask for existing password - pretend you forgot what you set. Then the guide that I've created will come into play. Happy gaming!

1

u/SameStore1060 Jun 19 '25

Maybe? Cause for the life of me I don’t remember I even set one, but when I tried to disable readonly it did ask for one haha

And blank doesn’t work

1

u/ryanrudolf Content Creator Jun 19 '25

You need sudo password to do sudo stuff. If you didnt set one it will still ask for it. So do the steps you mentioned and you're all set. But if you forgot what the existing sudo password is then use my guide.

→ More replies (5)

1

u/YellowCoatDog Aug 21 '25

Just wanted to flag that this was super useful and worked a treat!

1

u/ryanrudolf Content Creator Aug 22 '25

Awesome!

→ More replies (1)

1

u/Kiahnte Oct 12 '25

Hey, does anyone know how to do this on ROG Ally? I recently installed SteamOS on it, and I guess I must've decided it was a good time to come up with a brand new password (it wasn't). I can't figure out how to get into Steam OS's recovery mode on ROG Ally though.

1

u/ryanrudolf Content Creator Oct 12 '25

I dont have a ROG Ally so im not familiar with the button combinations how to access the boot menus.

1

u/Baker_Acrobatic 1TB OLED Oct 15 '25

Holy crap, this helped so damn much. I was having a slight panic attack because I'm not nearly as experienced with stuff like this. I'm so glad I did it second try (messed up at step 5 😭). 

1

u/ryanrudolf Content Creator Oct 15 '25

No worries glad you got it working!

1

u/kevinutrera Oct 17 '25

Trying to do this and Ctrl+Alt+f9 does nothing :( I checked everything else and did it correctly. Did anyone had the same issue? TIA

1

u/ryanrudolf Content Creator Oct 17 '25

Does your keyboard has Fn key?

If yes do this instead - CTL-ALT-Fn-F9

1

u/kevinutrera Oct 17 '25

Yeah I tried this as well. Tried the CTRL-ALT-F6 and that worked but the CTRL-ALT-F9 doesn't

1

u/ryanrudolf Content Creator Oct 17 '25

I dont know what you mean by "it doesn't work". Can you be more descriptive?

→ More replies (1)

1

u/anthonyy95 Oct 29 '25

Anyone know why this screen happens on ctrl alt f9

1

u/ryanrudolf Content Creator Oct 29 '25

Don't use dock

→ More replies (1)

1

u/NieveCactus Nov 12 '25

For some reason I get all the way to the alt - f9 step, konsole comes up and I type in passwd and then my keyboard wont let me type anything for the new password? Any suggestions would be great

2

u/ryanrudolf Content Creator Nov 12 '25

That's normal you wont see the password as you type it.

→ More replies (3)

1

u/USSRPropaganda Dec 23 '25

So if you don’t have a keyboard you’re SOL

2

u/ryanrudolf Content Creator Dec 23 '25

Not really. Its that this method won't be applicable and you'd need to follow a different guide

1

u/maximef1 Jan 10 '26

Thanks! This still work in January 2026

1

u/ryanrudolf Content Creator Jan 10 '26

You're welcome! Glad to help out!

1

u/James-1410 1TB OLED Limited Edition Jan 13 '26

2 years on and still useful, cheers you legend.

1

u/ryanrudolf Content Creator Jan 13 '26

You're welcome! As long as valve doesn't make any drastic changes this method should still work in the foreseeable future! Happy gaming!

1

u/Helznicht-2308 Jan 17 '26

Recovery USB gave me no options, just started wiping my LEgion Go and reseting steam os, lost everything. Use caution.

2

u/ryanrudolf Content Creator Jan 17 '26

Which part in the guide does it mention to use a recovery USB?

1

u/gialloVero Feb 19 '26

I tried to follow the steps but Ctrl Alt F9 seems to freeze it. Anyone has a suggestion please?

1

u/ryanrudolf Content Creator Feb 19 '26

It means you have a typo from previous steps. Perform the steps again make sure no typos

1

u/gialloVero Feb 19 '26 edited Feb 19 '26

Yes and no, i fixed it now, and it was typo but also a bit more than that. I found this comment in another video who pointed out a difference in newer versions and it worked. That fixed it :D

2

u/ryanrudolf Content Creator Feb 19 '26

The original guide is straightforward - just add the systemd.debug_shell at the end of the line, press CTL-X to boot and thats it. Newer versions of SteamOS will have newer parameters, the important one is to add systemd.debug_shell at the end

→ More replies (1)

1

u/HurryDangerous6280 May 07 '26

Once I press CTRL+ALT+F9, the menu just keeps saying "drm losing delta precision"

What should I do?

1

u/ryanrudolf Content Creator May 07 '26

Disconnect the external display

→ More replies (1)

1

u/Sean-Maady May 14 '26

Is there a way to do all this without a keyboard??

2

u/ryanrudolf Content Creator May 14 '26

You won't be able to type the commands without keyboard

→ More replies (1)

1

u/cthulhuisgodtattoo May 15 '26

Hey!!! I know this is old post but any clue how to have my Bluetooth keyboard register during this boot up screen? It won’t work because it won’t connect until steam deck is actually on… do you know of any other options

2

u/ryanrudolf Content Creator May 15 '26

You need a USB keyboard for this

1

u/coinzz_1337 Jun 30 '26

This sounds like a security issue, that should be fixed 🙈

1

u/ryanrudolf Content Creator Jun 30 '26

I've reported it to Valve under the bug bounty program a few years ago but since this requires physical access to the machine they dismissed it.

1

u/coinzz_1337 Jun 30 '26

Ah well good action you did, but why does it require physical access though?

1

u/ryanrudolf Content Creator Jun 30 '26

It requires physical access as you need to perform specific button combinations and requires a USB keyboard

→ More replies (1)

1

u/MousseSilent2168 Jul 17 '26

when I do this every time it says that the ‘ systemd.debug_shell’ is invalid. When I ctrl x it says it can’t boot. End kernel panic. noone else seems to have this issue and it’s so frustrating. I’m struggling to understand what I’m missing

2

u/ryanrudolf Content Creator Jul 17 '26

Where are you putting that parameter?

1

u/MousseSilent2168 Jul 17 '26

Like this. Is this what I’m doing wrong?

2

u/ryanrudolf Content Creator Jul 17 '26

Yes you're doing it wrong. You're putting it at the end of the initrd line, while my guide mentions put it in the end of steamenv_boot

Read my guide again or watch the video guide

→ More replies (1)
→ More replies (4)

1

u/AdElectronic4912 Jul 21 '26

Any way to bypass needing an external keyboard?

1

u/ryanrudolf Content Creator Jul 21 '26

You can't

1

u/Jaded-Ad-3003 Jul 30 '26

Hey I actually try to apply your tutorial but there is something look weird like fore the command type and I'm really scared to make a mistake so please really please help me

1

u/ryanrudolf Content Creator Jul 30 '26

All the information is provided in the guide and in the video.

1

u/Jaded-Ad-3003 Jul 30 '26

Okay, but actually, where I'm supposed to type the command, the line above it isn't the same as in the tutorial is that normal?

1

u/ryanrudolf Content Creator Jul 30 '26

What line are you referring to?

→ More replies (11)

1

u/ZarNova Aug 15 '26

This bricked my steam deck

3

u/ryanrudolf Content Creator Aug 15 '26

It doesn't brick

1

u/cirqix Sep 12 '26

idk if anyone is gonna see this but when I get into SteamOS and type in Ctrl f9 to enter passwd deck its just a blank screen, so is it passwd deck -> enter -> new password, enter then new password again?

2

u/ryanrudolf Content Creator Sep 12 '26

You won't see the characters as you type in the password. Type it in, press enter, type it again to confirm and press enter.

→ More replies (1)

1

u/abbywabby04 512GB OLED Oct 05 '26

omg dude you just saved me, thank you for posting this way back when! i’ve spent the last 30 minutes trying and failing different methods to reset the sudo password (with some of them producing scary results), but now everything’s working! if you see this, i hope you have a wonderful day/night - you deserve it 🥰

1

u/ryanrudolf Content Creator Oct 05 '26

You're very welcome I'm glad it helped! Happy gaming!

1

u/Scrufboy Sep 05 '23

Thanks for the tip... And the new word knowledge! Appreciate it!

1

u/ryanrudolf Content Creator Sep 05 '23

No worries youre welcome!

3

u/WarlanceLP 512GB Oct 26 '24

I tried this and everything seemed to work fine however my sudo password doesn't actually seem to have changed despite it saying it did in the debug terminal

→ More replies (4)

3

u/Papa_Huggies Mar 15 '25

This needs to be stickeyed

1

u/Panther107 Feb 08 '24

after opening root debug shell, the shell doesnt allow entering any text. When i type passwd deck, nothing appears, and pressing enter doesnt elicit any change either, i know passwords arent shown in shell but commands are. When exiting debug shell my keyboard works for text fields in the steamos UI though.

1

u/Panther107 Feb 08 '24

I fixed this by switching from DRD to XHCI back and forth until it worked haha. I also used a wired keyboard instead of a USB reciever one.

2

u/ryanrudolf Content Creator Feb 08 '24

Yes with the introduction of SteamOS 3.5.x the USB behavior is finicky. Need to change DRD to XHCI. I'm glad you got it sorted out.

→ More replies (1)

2

u/PhoolCat 512GB Oct 21 '23

I can't get step 1 to work, it just boots to Windows.

I'm trying to recover my sudo pw so I can restore the Steam OS entry in the boot menu after the recent update

→ More replies (3)

2

u/RegularJohn53 Jun 29 '24

My keyboard does not work after ctrl alt f9. Tried switching from xhci to rdr and vice versa but it just doesn’t work. If I press ctrl alt f1 that works and goes back to steamos. The deck isn’t freezing tho just the keyboard won’t type anything. Any solution?

→ More replies (2)

2

u/Einstein_Disguise Aug 27 '24 edited Aug 27 '24

How do you actually change the BIOS from DRD? I am seeing mine on F7G0107 with no options to change to a different version. Are DRD and XHCI something I need to download?

I am able to do every step of your guide until I get to the CTRL+ALT+F9 step on reboot. I am just seeing the screen to enter my pin and pressing those keys together does not seem to launch the debug menu.

Should I be pressing those keys once on the "Home" screen? I watched your video and you don't use a pin, but I see others having the same issue as me.

I am going to be attempting this again soon with the pinned comment on your video related to trying CTRL+ALT+F6 first.

Edit for posterity: my keyboard has a function key I had to hold down 💀

2

u/JBJblaze Oct 08 '24

CTRL-ALT-F9 doesn't do anything for me and yet my Steam Deck OLED already has XHCI enabled.

2

u/davethebarb Nov 11 '24

For anyone like myself who has had an external USB keyboard stop working at the GRUB menu (Step 4), I've found that if I use the Steamdeck buttons at -any- point, excluding using the three dots button to get into the recovery menu, then it won't let me use the USB keyboard. I assume the Steamdeck buttons count as a keyboard, and there's some sort of priority override or clash happening.

One thing I had to do is on the recovery menu (Step 2), I had to unplug and replug in my USB keyboard to get it to work to select the third option, at this point it all worked fine for me.

Hopefully this may work for anyone else having the same problem.

→ More replies (3)

2

u/Equivalent_Humor2996 May 31 '25

For number 4 where do I find "end"?

2

u/coldswim_ Jun 02 '25

Hey can you help me rq? I think maybe it updated, but the GRUB menu looks quite a bit different, and when I input the systemd.debug_shell in at the end, it says "file cannot be found" or along those lines. I have OLED if that matters -- but I'm just not sure what to do =( thanks!

→ More replies (2)

2

u/Desperate-Ask-3436 Jun 28 '25

Hey even after all these steps, even when it said the password was resetted successfully, it still says “incorrect password” or some sort of message like that when it asks for a Sudo password. I’ve restarted my deck multiple times too. Anyone know why?

→ More replies (5)

2

u/DrWaffle03 512GB OLED Jun 30 '25

Yeah.... I try to plug my keyboard in and it doesn't register. Tried with the dock and a usb A to C adapter and the keyboard just has basic inputs that do the same thing as buttons on the deck (a/start/space on keyboard to enter) (tab, z, o, 9 and p are all end key) (window button on deck is tab)

I have no idea if it's my keyboard or what but I've never had an issue with it with anything else

2

u/Individual_Cod2004 Aug 07 '25

When i click ctrl+Alt+fn+9 it doesn’t do anything in the gaming mode home screen, pls help?

2

u/scuba365 Feb 10 '26

Still working, thank you!

2

u/roberrob003 Mar 24 '26

You sir, are a scholar and a gentleman. Saved me some (more) grey hairs. Worked like a charm, quick and easy, march 2026.

2

u/sdrcn Apr 22 '26

How do you get the keyboard to work at step 3? Once in the grub menu, kb doesnt do anything. Have tried 3 keyboards connected to a usb to usb adaptor and into the deck.

What kb and connections are ppl using where it works? Is there a way to do this without the kb in the grub menu?

2

u/SamuraiSuicide Jul 12 '26 edited Jul 12 '26

This does not appear to work anymore. On steamOS 3.8.14 i get endlessly scrolling amd gpu messges.

UPDATE: my keyboard was plugged into my dock. All I had to do was disconnect the hdmi and it worked

1

u/TigerCow7 27d ago

Would that work on the steam frame too?

→ More replies (1)

1

u/estasmuymal Mar 17 '24

Thank you!

1

u/squad_dad May 08 '24

Just wanted to chime in and say that following these steps worked perfectly for me. Saved me a reinstall of the OS. Thanks!

1

u/Thurigas May 13 '24

Thank You!

1

u/PizzaCatLover May 30 '24

Just commenting to say thank you, friend forgot his pw and this saved us having to reset it. Great work!

1

u/13lobos Jun 29 '24

Thank you so much for this tutorial. For step 7 I actually needed to go into the BIOS and switch back to DRD because I was already on XHCI mode.

1

u/StreetLegendTits_ 1TB OLED Aug 06 '24

You saved my bacon, thank you!

1

u/Dragomier Aug 15 '24

I am so confused what is the free dots I held QAM and that didn't do anything as my deck booted

→ More replies (1)

1

u/ItsDiego19 Aug 19 '24

Is there any way I could do this with a wireless keyboard I download off my phone?

1

u/Williamago Sep 18 '24

Nice guide!

Good job!!!

1

u/abeccue Sep 28 '24

BLESS YOU this just saved my ass

1

u/Crimson_Gunpla Oct 18 '24

My screen just seems to either freeze or turn black when I use the CTRL-Alt-F9 combination, is there a more up-to-date guide or something I am doing wrong? I made sure to follow all of the recovery steps to the letter, hovered over steam_env, went to the end of the line, typed systemd.debug_shell

1

u/sanmiguel-wv2Okr 512GB Nov 15 '24

It took me a few attempts to do this - I could get as far as hitting Ctrl-Alt-F9 for the root shell but it never loaded. Turns out the culprit was having my external screen plugged in via the usb hub. Removing it temporarily then let me reset the passwd via root shell as expected.

Thanks OP!

1

u/lobsterxcore 512GB OLED Nov 30 '24

fucking legend, thank you

1

u/DualityDrn Dec 01 '24

Thanks, still working. Small note if you get a black screen with just a "-" showing it might be because on step 5 you typoed. I included the "-" before "systemd.debug_shell" not knowing any better and it didn't work. Removed the "-" after watching the video closely and it worked fine.

1

u/realelpixion 1TB Dec 11 '24

Doesn't work, I add the text but in steam OS control alt f9 don't do anything and opening konsole still wants my old password, Linux is an os for the unemployed

1

u/KannaCrossing 512GB Dec 19 '24

Thank you so much!!

1

u/RamdomPerson09 Jan 30 '25

I know this is a old post but thank you, This stopped me from factory resetting.

1

u/TheGreatBillyBob Jan 30 '25

Keyboard doesn't work? Only some keys?

→ More replies (2)

1

u/HugeAir6225 Jan 30 '25

Thank you so much! It worked!

1

u/DuhVirus Apr 03 '25

Tysm, decky is having issues and when i went to reinstall i realized i pulled an whoopsi and forgot my sudo pass.

1

u/citrusmelon1243 Apr 18 '25

One year later, this still works. Saved me a LOT of headache

1

u/Tap__Tap__ May 16 '25

thank you o7

1

u/KenneR330 May 27 '25

I don't have Type-C keyboard or hub. Any tips?