So i tried to edit the /etc/inittab with sudo nano /etc/inittab:
I changed:
1:2345:respawn:/sbin/getty --noclear 38400 tty1
to:
1:2345:respawn:sbin/getty --autologin {USERNAME} --noclear 38400 tty1
Then I went ahead and changed it to:
1:2345:respawn:sbin/getty --autologin {pi} --noclear 38400 tty1
And was so stupid to forget to remove the brackets. now it's saying:
Authentication failure
INIT: Id "1" respawning too fast: disabled for 5 minutes.
I know that i can fix it by simply removing the brackets but i can't enter the raspberry pi now because it locks immediately.
How can i go about this?
vi(simple editor) implementation, which would allow you to editinittab-- but it is not easy to use... – goldilocks Dec 17 '15 at 04:16root=...parameter. – goldilocks Dec 17 '15 at 04:36the console looks like this:
root@(none):/#
What i typed was: root@(none):/# $sudo nano /etc/inittab
– Alexander Sabiona Dec 17 '15 at 04:42sudo, you're root. If that's from busybox, it's the wrong/etc/inittab; you'll have to mount the 2nd partition first:mount /dev/mmcblk0p2 /mnt(then it should be in/mnt/etc/inittab). If it isn't busybox, it's because the root fs is mounted read-only. Trymount -o remount,rw /dev/mmcblk0p2 /. – goldilocks Dec 17 '15 at 04:48