Navigation

    RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Encrypted my fresh Retropie, now can't login.

    Help and Support
    boot encryption login ssh
    2
    3
    128
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • starcrashr
      starcrashr last edited by

      I set up a retropie on a 3b+ and encrypted it using this tutorial because I intend to have it double as a secure file server: https://github.com/NicoHood/NicoHood.github.io/wiki/Raspberry-Pi-Encrypt-Root-Partition-Tutorial
      I had to adjust the tar commands because they were trying to create empty archives. Apparently the -C option wasn't recognized, so I had to manually cd before entering the commands.

      The result was a system that almost boots, but it goes haywire when it reaches the login prompt. Here's the syslog to see what I see during boot: http://dpaste.com/0M3VNZB
      I'm also unable to complete a login via ssh, giving me a permissions error and closing the connection. http://dpaste.com/2MJBB12
      Here's the auth.log containing errors that appear to be relevant: http://dpaste.com/3ETYRZF

      I've already checked the ownership and permissions on the home directories and /bin and they appear to be correct, preserved from the original install. I checked /etc/passwd, /etc/group, /etc/shadow, and /etc/gshadow, and they seem to be correctly populated and have appropriate permissions. I'm out of ideas.

      1 Reply Last reply Reply Quote 0
      • mitu
        mitu Global Moderator last edited by

        I see a log of errors in the auth.log like:

        Nov 11 09:36:37 retropie login[1244]: unable to cd to `/home/pi' for user `pi'
        

        Check the permissions on that folder and try an interactive login from the console to see if it works.

        starcrashr 1 Reply Last reply Reply Quote 0
        • starcrashr
          starcrashr @mitu last edited by

          @mitu Like I said, I already checked. That was the first thing I tried.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.