The pi boots up seemingly correctly - I can hit the web server and get a response. But trying to login at the console:
It tells me "Login incorrect" before prompting for a password. Same result for any username -- whether an actual user or a bogus name. So it looks to me like it's not even able to read /etc/passwd or something.Raspbian GNU/Linux 7 pi1 tty1
pi1 login: root
Login incorrect
Login incorrect
Login incorrect
Login incorrect
Login incorrect
Maximum number of tries exceeded (5)
It's accepting connections on port 22 for ssh, but fails to login:
Any hints at how I might be able to get into the system to poke around or recover files? Some other things I've tried:> ssh -vvv root@10.0.0.207
OpenSSH_6.7p1 Ubuntu-5ubuntu1, OpenSSL 1.0.1f 6 Jan 2014
...
debug1: Connecting to 10.0.0.207 [10.0.0.207] port 22.
debug1: Connection established.
...
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.0p1 Debian-4+deb7u2
debug1: match: OpenSSH_6.0p1 Debian-4+deb7u2 pat OpenSSH* compat 0x04000000
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Ubuntu-5ubuntu1
...
debug1: Host '10.0.0.207' is known and matches the ECDSA host key.
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-dss blen 433
debug2: input_userauth_pk_ok: fp 34:64:dc:5a:cb:06:d0:4e:95:78:e8:25:d6:a3:46:31
debug3: sign_and_send_pubkey: DSA 34:64:dc:5a:cb:06:d0:4e:95:78:e8:25:d6:a3:46:31
Connection closed by 10.0.0.207
* Via the recovery console, I edited cmdline.txt to add "init=/bin/sh", and it will boot to a single-user shell, but I'm not able to mount the partition to do anything with it. Doesn't seem like I can do anything useful from there. I have a USB stick that I could use to copy files to, except the single-user shell doesn't seem rich enough to do that. I'm probably missing something.
* Using a Ubuntu live USB stick on a laptop with an SD card reader, I tried accessing files from the ext4 partition, but no luck there, either. "fdisk -l" shows me the expected partitions, it looks like the extended Linux partition is #2 and the logical Linux partition I want is #6 (sorry don't have the exact output now). But only /dev/mmcblk0 and /dev/mmcblk0p1 exist on the system (ubuntu), not /dev/mmcblk0p2 or /dev/mmcblk0p6 as I would expect.
I'm open to options to access the files via the RPi2. or via ubuntu, or windows. Obviously the sdcard is not entirely corrupted, since it will boot.
Thanks,
Jeremy