haxr3 wrote:Same error still?! what am I doing wrong!?!?
Something - but we have run out of time for guessing games (and I mean that in the best possible way).
Here's another thing to try - based on the init=/bin/sh trick. Note that in this post, I am both giving information and asking for it. Others are welcome to fill in the gaps in my knowledge.
1) Put the SD card in your Windows PC and it should get a drive letter (say, E:) This drive letter will be for the "boot" partition in the Pi world. Use an editor on the Windows side to edit E:cmdline.txt and append the following string to the end of the line (it must all be one long line):
Save and exit. Remove the card.
2) Put the SD card into the Pi and fire it up. It will boot to a plain, bare shell (with no login or password prompts). Note: When I did this, I had to hit <enter> to get the # prompt to appear.
You will find yourself in a shell prompt, with minimal system setup having been done. In particular, /proc isn't mounted, so a lot of normal stuff doesn't work - until you mount it.
3) At the # prompt, do (first two are not strictly necessary, but they help):
a) mount -t proc none /proc
b) cat /proc/partitions
c) vi /etc/inittab (or nano if you are so inclined) - find the line that contains the word "noclear" and put the string " -a pi" after it. Save & exit. Note, the line should look like:
Code: Select all
1:2345:respawn:/sbin/getty --noclear -a pi 38400 tty1
d) mount /dev/mmcblk0p1 /boot
e) vi /boot/cmdline.txt (or nano, if you prefer) - remove the " init=/bin/sh".
f) umount /boot;sync;sync;sync
Now, here's the funny part. I had a bit of difficulty figuring out how to reboot from this environment. None of my usual methods (init 6, reboot, shutdown -r now) worked - because the normal "init" process isn't running. What does work is: shutdown -rn now
Anyway, once you do the "shutdown -rn now", it should reboot and leave you logged in as "pi" on tty1. Then you can figure out why it didn't work before. Maybe there is something wrong with your keyboard. But at any rate, this gets you up & running.
And, no, I don't recommend "un-do-ing" this process. I find the auto-login a good, permanent feature.
And some folks need to stop being fanboys and see the forest behind the trees.
(One of the best lines I've seen on this board lately)