Raspberry Pi Reset Forgotten Password

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 141

  • @ajayjoseph8722
    @ajayjoseph8722 Год назад +9

    For the record, this worked 23/04/23. Thanks for sharing dude!

  • @davidwong2369
    @davidwong2369 4 года назад +7

    Your video came just in time. The contents have been around for a while but having a video step by step showed why it didn't work for me before. I made the mistake of adding the "init=/bin/sh" in a new line when it should come immediately after "rootwait". Thanks!

    • @Rickmakes
      @Rickmakes  4 года назад

      That's great to hear! Glad it helped.

  • @MilanKarakas
    @MilanKarakas 3 года назад +8

    Got it wrong. Mine was: "dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait splash plymouth.ignore-serial-consoles". What is that "ignore serial consoles"???

  • @Allazander
    @Allazander 3 года назад

    Thank you soooo much! Everywhere else I looked simply listed adding the init=/bin/sh and nothing else, didn't work for me and the remount they gave always came back with "couldn't find PIUU...). Following your layout worked for me.

  • @chanman83
    @chanman83 3 года назад +6

    Thank you so much for this! I was stuck and your instructions were spot on!

    • @kistler140
      @kistler140 Год назад

      You said "spot on", Please reveal the secret. at 2:00 he types "mount ????" I can't read it. Letter "o"? zero? So far I am stuck. If you know the answer, please reveal.

  • @MotionzMultimedia
    @MotionzMultimedia 2 года назад +1

    In case you are not able to mount the device, you can add rw as well to the textfile cmdfile. This will boot with read write access instead of only read only.

    • @ForwardEngineering
      @ForwardEngineering 24 дня назад

      What does this mean where do you add the letters "rw" ? Where specifically what file and line?

  • @vashthestampede3459
    @vashthestampede3459 3 года назад +2

    This worked for me! Thanks so much man. I thought I would have to reformat which would undo all the work I already did

    • @animus1785
      @animus1785 3 года назад

      I've re formatted and it's not the default password

  • @PJxBuchwild
    @PJxBuchwild 2 года назад

    It worked and you saved my bacon. I was having issues with written guides, thanks!

  • @louiewolf0
    @louiewolf0 Год назад

    01:52 if pressing enter does not work, try to use another keyboard. Pressing enter did not work for me with the attached keyboard but after plugging in another one it worked.

  • @jerryg7391
    @jerryg7391 3 года назад +1

    Thanks! It really works and I was able to get back into my Raspberry Pi doing just as you said in your video.

  • @ericlawrence9060
    @ericlawrence9060 3 года назад

    when we pause to read what you are typing (the meat) the youtube slider bars and everything when we pause cover up what you are typing... Moving the box up a bit so that the key thing we need to see is not obscured by the youtube slider bar :)

  • @khaledben6676
    @khaledben6676 2 года назад +2

    Thank you very much sir, after five hours of research on the web.. you saved me hours of updates and configs. thank you once again :)

  • @MenuBee
    @MenuBee Год назад

    Great tutorial. Just wondering if this will work on Orange Pi too? Thanks

    • @Rickmakes
      @Rickmakes  Год назад

      I don't have experience with the Orange Pi but if it is running Raspberry Pi OS, I would guess it would work the same.

  • @CptnCptn714
    @CptnCptn714 4 года назад +2

    Works with octoprint on a pi 2 confirmed. Also, great tutorial!!

  • @prashantvasala6765
    @prashantvasala6765 2 года назад

    Thank you so much for the video. It is a saver! By the way, I wanted to know that if we remove the SD card, will the python scripts and other image data deleted from the SD card or will it be intact

  • @nickvon2023
    @nickvon2023 6 месяцев назад

    Worked like a charm. I transcript of the steps would be great.

  • @sgtusmcarch
    @sgtusmcarch Год назад

    this worked perfect and I did not have to write the sd card again, thank you I didnt loose my OMV.

  • @firdouskhan0695
    @firdouskhan0695 2 года назад +1

    After making the changes in cmd.txt my keyboard and mouse stopped working...I cannot get the prompt to type anything...what to do now?

  • @martymcfly4772
    @martymcfly4772 2 года назад

    Man u saved my life, worked for retropie 😄🙏👍

  • @Omniwoof
    @Omniwoof Год назад

    Thank you! Super helpful!

  • @piotrrybka318
    @piotrrybka318 3 года назад +4

    Didn't work. My RP just froze and I can't type anything after reattaching the SD card.

    • @andtay26
      @andtay26 3 года назад +2

      I am having the same issue

  • @allisoneschbach2262
    @allisoneschbach2262 3 года назад +1

    If it says stuff after rootwait already, do I have to delete it to get the command to work or is it fine to ignore it?
    It says "splash plymouth.ignore-serial-consoles quiet" after rootwait.

  • @1204ROY
    @1204ROY 4 года назад +1

    Works as explained. Thanks!

  • @dylandouglas93
    @dylandouglas93 2 года назад

    Great video! i had to connect a micro usb to usb a adapter and a keyboard to my pi zero w to change the password but i got it done. Thank you for the great video

  • @joey9903
    @joey9903 Год назад +1

    In the command "passwd pi', 'pi' is the username so be sure to replace this with your own.

  • @yusufguner9864
    @yusufguner9864 3 года назад

    Works, after you put SD Card back if you can' t type try with normal keyboard plugging in to USB port 1. I tried with Bluetooth keyboard could not type after changing to normal cable keyboard i could type.

  • @abhiruka
    @abhiruka 3 года назад

    Thank you mate. Works like a charm.

  • @mastermas6
    @mastermas6 10 месяцев назад

    thank you so much this saved my butt with a new 3d printer

  • @Brucetheladybeetle
    @Brucetheladybeetle 2 года назад

    Thank you so much!! Worked perfectly.

  • @jack8881963
    @jack8881963 2 года назад

    Thank you for this video. But I would like to know how can I reset the password in the eMMC? Since there is no SD card in my CM4, how can I reset the password?

  • @redaboukredine4520
    @redaboukredine4520 3 года назад

    Hi
    Plaise this methode is good for the raspbian of raspberry pi 4 ?

  • @dgu2
    @dgu2 2 года назад

    Thank you so much for the perfect instructions! 👍

  • @nemanmomand
    @nemanmomand 7 месяцев назад

    which terminal you use for ?

  • @jpusey7884
    @jpusey7884 3 года назад

    great video!!! a
    awesome how you explained everything in detail

  • @raze1021
    @raze1021 8 месяцев назад

    Thank you for your tutorial, it worked 👍

  • @777whitemetal777
    @777whitemetal777 Год назад

    It says: cannot open Splash: no such file or directory please help

  • @chipsessenerin6652
    @chipsessenerin6652 2 года назад

    thx so much , it was helpful

  • @shallow_choices1887
    @shallow_choices1887 3 года назад +1

    Are you using a micro HDMI to connect to raspberry ?
    Is it possible to do anything if you connect remotely? My whole thesis is trapped in there !!

    • @Rickmakes
      @Rickmakes  3 года назад

      I'm using the Raspberry Pi with a monitor and keyboard attached. I haven't tried anything remotely. If you have a second microSD card and a card reader, you could install a fresh system on the second microSD card (DO NOT MIX IT UP WITH YOUR PRIMARY CARD). With that system booted, insert your original microSD card in a card reader and connect it to the Pi. You should be able to access your files on the card.

  • @dryoldcrabman6890
    @dryoldcrabman6890 3 года назад +1

    bro thank you!!!! YOU ROCK!!!

  • @ninline2000
    @ninline2000 4 года назад

    That's some good information to have. Thanks.

  • @khalidhamid7448
    @khalidhamid7448 2 года назад +1

    I'm not able to edit the cmdline.txt on mac due to that file being read-only, I also cannot change file permission from mac since it is FAT32. I'm stuck here. Anybody else having this issue ?

    • @khalidhamid7448
      @khalidhamid7448 2 года назад +2

      My bad, The SD card adapter had lock on, which was preventing editing files.

    • @iljavitohins8729
      @iljavitohins8729 Год назад +1

      @@khalidhamid7448 mate you saved me big time! Thanks!

  • @acbghost4411
    @acbghost4411 3 года назад

    Thanks man I had to change my password and u saved me

  • @aaronsolgat728
    @aaronsolgat728 Год назад

    you are so amazing thank you so much

  • @djtechtips2284
    @djtechtips2284 2 года назад

    OMG BRO YOU ARE AWESOME GREAT JOB THANK YOU SO MUCH KEEP UP THE GOOD WORK

  • @ingridameyalli3736
    @ingridameyalli3736 3 года назад +1

    Got 2 problems: "/dev/mmcblk0p2 / permission denied" and, therefore "Authentication token manipulation error". Do you have any recomendations?

  • @Dzindzen
    @Dzindzen 4 года назад +1

    Not gonna work for me. Here's what I see when I put back the sd card with the changed. txt file:
    bash: cannot set terminal process group (-1): Inappropriate ioctl for device
    bash: no job control in this shell

    • @Rickmakes
      @Rickmakes  4 года назад

      Are you trying this on Raspbian/Raspberry Pi OS or some other OS?

  • @S.M.A.Batista
    @S.M.A.Batista 3 года назад

    Thank you much. You Rock!

  • @kistler140
    @kistler140 Год назад

    at 2:00, mount ??? is it letter "O" or number 0??? I can't see what you're typing. Uggh!!

  • @procactus9109
    @procactus9109 2 месяца назад

    Now it simply won't boot and crashes with a big white pi is logo. Any have any ideas ? Please

  • @abhimanyu7646
    @abhimanyu7646 4 месяца назад

    Hello sir i have a question. If i follow this steps will the information or the data in the raspberry pi will be gone?

    • @Rickmakes
      @Rickmakes  4 месяца назад

      This just resets the password, not the data.

  • @Diego_USA-BR
    @Diego_USA-BR 3 года назад

    Dude you saved my life!!!! Thanks A LOT!!!!!

  • @stephenhumble7627
    @stephenhumble7627 2 года назад

    did not work for me at the shell prompt remounting the filesystem would not work - some error about already in use.
    But turns out you can just boot normally and in the gui menu preferences/ raspberry pi configuration program there is a button that allows you to change password and it worked.

  • @kevincahua8623
    @kevincahua8623 2 года назад

    Question, what do you do if you can not edit the cmdline.txt file because it is locked?

  • @De-KarpervissersNL
    @De-KarpervissersNL 11 месяцев назад

    not working on a windows computer, the cmdline.txt file on the sdcard is write protected somehow

  • @devepunk
    @devepunk 3 года назад

    It doesn't work for octopi? I tried it but cannot do "mount -o remount,rw" . It can't find partuuid?

  • @paktejoofficial1932
    @paktejoofficial1932 4 года назад

    Is it Will change the files that was save in raspy or not ? I mean it Will be back like new ?

    • @Rickmakes
      @Rickmakes  4 года назад +1

      This will only change the password. The rest of the files will stay intact.

  • @mayhem1994
    @mayhem1994 3 года назад

    Is there any other way of doing this I don't own a computer right now

  • @nickisdoge
    @nickisdoge 4 года назад

    Having trouble at 1:49 did everything you did (even edited the file on a mac.) But the pi now will not use my keyboard. It says it connected but none of the keys work. I'm using a regular apple desktop keyboard. Only one I have laying around. And it's a 4gb pi 4

    • @Rickmakes
      @Rickmakes  4 года назад

      Do you have any other devices plugged into USB (even a mouse)? If so, try unplugging them and restarting (so only the keyboard is plugged in). Let me know if that works.

    • @nickisdoge
      @nickisdoge 4 года назад +1

      @@Rickmakes never mind man. I just reinstalled raspbian, it was a fresh install to begin with only thing I lost was a xfce desktop. Everything works fine now

  • @containiac4899
    @containiac4899 3 года назад

    Can this be done to find out what the username of the pi is?

  • @sloumachebili5697
    @sloumachebili5697 3 года назад

    it works , thanks so much !!! but how can i get back to the desktop screen after that ? thanks

  • @thetech3624
    @thetech3624 4 года назад

    How do you boot the raspberrypi? I'm using windows 10 and when I typed the mount command it showed this error: " 'mount' is not recognized as an internal or external command,
    operable program or batch file. "

    • @Rickmakes
      @Rickmakes  4 года назад

      You are running Windows 10 on the Raspberry Pi? This only works with the Linux OSes on the Pi.

  • @SusanAmberBruce
    @SusanAmberBruce 4 года назад

    Thank you ☺️

  • @KevJac
    @KevJac 2 года назад

    THANKS!

  • @hanabinarif7333
    @hanabinarif7333 2 года назад

    Thankyou soo much

  • @mayhem1994
    @mayhem1994 3 года назад

    I change the password on it and the password I used doesn't work

  • @Introvertextrovertstudios
    @Introvertextrovertstudios 2 года назад

    It's not working, can I please get help

  • @Gabuhmi
    @Gabuhmi 10 месяцев назад

    what about the light version`s

  • @rajum9474
    @rajum9474 2 года назад

    Hi, I have "Kali Linux" on my Raspberry pi 4. But I forgot the root password of it.
    Please help me on how to reset my root password. Thanks in advance.

  • @PrashantKumar-wk3tu
    @PrashantKumar-wk3tu 4 года назад +1

    Sir my password is correct but still it didnt allow me enter
    What should I do??

    • @Rickmakes
      @Rickmakes  4 года назад

      Are you getting some sort of error message?

    • @PrashantKumar-wk3tu
      @PrashantKumar-wk3tu 4 года назад +1

      @@Rickmakes no;
      When I switch on the raspberry Pi
      It show me user ID and password
      I enter the correct password and it again show the password screen .

  • @MB-rr2zb
    @MB-rr2zb 3 года назад

    Very helpful

  • @Blissfulchaos289
    @Blissfulchaos289 2 года назад

    awesome job

  • @gudelauneee
    @gudelauneee 2 года назад

    1:52 how can i get there? whats that screen?

  • @ahmedadel6957
    @ahmedadel6957 2 года назад

    what if the op on the raspberry is an ubuntu?

  • @GamesJames
    @GamesJames Год назад

    great video

  • @salehsalem9816
    @salehsalem9816 3 года назад

    Thank you for this it is working with me and I solved the problem 😊

  • @frankconrad7298
    @frankconrad7298 3 года назад

    is there supposed to be quotes on pi becuase3 it only works if i type passwd and no pi

    • @Rickmakes
      @Rickmakes  3 года назад

      It shouldn't need quotes. Do you have a different primary user account you use? If so, use that instead of pi.

  • @serraraa
    @serraraa 3 года назад

    my cmdline say slogging level 3 and some other stuff pls HELP

  • @justicetube
    @justicetube 10 месяцев назад

    Im getting' This account is not avaiable" not sure ehat to do now

    • @Rickmakes
      @Rickmakes  10 месяцев назад

      Did you use a different username than “pi” when you set it up?

  • @CenterpointConnect
    @CenterpointConnect 3 года назад

    Thanks Rick! Saved me my PiHole.....

  • @TheRealRoGueMS
    @TheRealRoGueMS 2 года назад

    How do you do all this without having a screen on the raspberry? Anyone know, because to be able to interact with Pi over the PC i need the SSH wich asks for the password that im trying to remember :D

  • @joshualaubach8651
    @joshualaubach8651 3 года назад +1

    So I'm new at this. How did you even connect to your Pi after editing cmdline.txt? You just pop up your Pi with no explanation. I cannot SSH to the pi when the cmdline.txt is edited. Is there another way to connect? What am I missing here?

    • @Rickmakes
      @Rickmakes  3 года назад

      I had a monitor and keyboard hooked directly up to it. I don't think there is a way to do this remotely (via ssh or other). Does that answer your question?

  • @AnshulJohriitechservices
    @AnshulJohriitechservices Год назад

    I LOVE YOU THANKS YOU

  • @tuncguler2313
    @tuncguler2313 2 года назад +1

    Sudo passwd "user"

  • @reaganomondi369
    @reaganomondi369 11 месяцев назад

    Please help it doesn't work

  • @teamplus9362
    @teamplus9362 4 года назад +1

    I get "mount : bad usage"

    • @Rickmakes
      @Rickmakes  4 года назад

      Can you tell me the command you typed in when you got that message? If you were typing "mmcblk0p2", make sure the 0 in it is a zero.

    • @yellow4563
      @yellow4563 3 года назад +1

      @@Rickmakes i got the same error after typing " mount -o remount,rw" then pressed enter

    • @yellow4563
      @yellow4563 3 года назад +1

      nvm typed "mount -o remount,rw /dev/mmcblk0p2 /" and it worked

  • @Pieman16
    @Pieman16 2 года назад

    Does not work

  • @sanjaybaswa6992
    @sanjaybaswa6992 3 года назад +1

    Authentication token manipulation error

  • @sparshkumar9467
    @sparshkumar9467 10 месяцев назад

    it is at end showing permission denied

  • @kyle207
    @kyle207 2 года назад

    2:14 it says permission denied pls help

  • @sorinaldea1562
    @sorinaldea1562 3 года назад

    NOT working

  • @apositron84
    @apositron84 2 года назад

    Yeah, all great and everything but can'tuu SSH in to run these commands. All I did was put the Raspberry Pi OS on and try to SSH in via Putty and said access denied despite using default username and password... infuriating. Ready to put it in the bin.

  • @TheObaby18
    @TheObaby18 2 года назад

    Subscribing. Nuff said.

  • @askmahesh
    @askmahesh 2 года назад

    Thanks. saved my day. so easy to follow and worked like a charm

    • @kistler140
      @kistler140 Год назад

      You said "easy to follow", Please reveal the secret. at 2:00 he types "mount ????" I can't read it. Letter "o"? zero? So far I am stuck. If you know the answer, please reveal.

  • @kishanmunjapara5216
    @kishanmunjapara5216 2 месяца назад

    Thanksssss

  • @sorinaldea1562
    @sorinaldea1562 3 года назад

    what is remount rewrite??? min 2:03

    • @Rickmakes
      @Rickmakes  3 года назад

      That mounts the system so you can write to it. If you have trouble reading it off the video you can also find it in my video notes: www.rickmakes.com/raspberry-pi-reset-forgotten-password/

  • @Simte844
    @Simte844 Год назад

    Sir can you help me in my recovery password for pi

    • @Rickmakes
      @Rickmakes  Год назад

      Are you trying to recover the password or reset it? Recovery is generally not possible. This video is to reset it

  • @79prem
    @79prem Год назад

    nope it does not work.................

  • @voffk4358
    @voffk4358 4 года назад

    that ? password

  • @sankardinesh6110
    @sankardinesh6110 2 года назад

    What are you typing please send this to comment box

    • @Rickmakes
      @Rickmakes  2 года назад

      I have the link in the description to my website where I have the commands written out.

  • @tonyshen8818
    @tonyshen8818 9 месяцев назад

    Nvm, easy way for me is to reflash a new os to sd card