4

After starting pi, the screen gets stuck at blinking cursor at uppermost left side corner. When Ctrl+alt+F2 is presssed the login prompts for very small interval & disappears and this (as shown below) goes on until ctrl+alt+F2 is pressed.

Raspbian GNU/Linux 9 raspberrypi tty2

raspberrypi login:

I am not able to type login and password for. Any solution to make this prompt still so that I can type login and password.

Jashanjot Kaur
  • 61
  • 1
  • 1
  • 5
  • Try building a rescue system on a new SDCard. Boot that, mount the broken card in a USB reader and repair the damage (which is most likely permissions and ownership of files in /home/pi - specifically things like . Xauthority). – Dougie Mar 26 '19 at 06:14
  • alternatively, use ssh to do the same - without the faff of purchasing another sd card, imaging it, purchasing a usb sd reader etc etc :p – Jaromanda X Mar 26 '19 at 10:32
  • I am new to raspberrypi. Jaromanda X, Can you please elaborate how to use ssh. – Jashanjot Kaur Mar 26 '19 at 11:07

5 Answers5

2

It sounds like you MAY have a corrupted build. I experienced something similar a while back and since I had not fully set up the card, I reloaded the OS and the pi booted up fine. If you haven't customized the OS yet, it may be easier to reload the OS than taking the time to troubleshoot.

Also, you may want to verify that the card is fully seated and the power supply is functioning properly. Sometimes, the power management can act 'flaky' if supplied power is out of tolerance.

voyager8
  • 32
  • 4
  • 1
    Considering how the question is written, it can be anything: corrupted image, defective SD card, screwed up permissions, flaky power, etc. Any guess is as good as the next. – Dmitry Grigoryev Mar 27 '19 at 15:09
  • Thanks for answering. @voyager8 After reloading OS, Raspberry Pi is working fine now. – Jashanjot Kaur Mar 28 '19 at 06:41
  • I have the same issue. Located a good quality 5V 2.4A power supply, a good expensive micro USB cable, and same thing. Rasbian OS splash screen for about 5 seconds, followed by a blinking cursor. What to do? – Andy J Aug 15 '19 at 03:41
  • Okay, I have just found out from plugging my microSD card into a Linux machine that the card is just plain corrupted. But the confusing part is I always shut down my RPi in the correct way (never pulled the power). – Andy J Aug 15 '19 at 04:48
1

I had the same problem and it was due to full disk space. I deleted some extra large log files in /var/log and the problem was solved.

Masoud
  • 11
  • 1
0

I encountered the same issue as well and it ended up being low storage space. I don't use Wolfram Engine or Libre Office so I removed them with:

sudo apt-get purge wolfram-engine libreoffice* scratch -y

This freed up about 1200 mbs, and after a quick reboot I was back in.

0

I have this issue when using a display connected via the ribbon cable. As soon as it has HDMI it boots no problem.

0

For my case, if I power-cycled the Pi, it worked, if I sudo reboot, I would experience the issue.

After some digging on the raspberry pi forums, I found what I think may be the answer:

Here is my ansible task to correct the issue, but basically ensure you have two lines, and don't have a third.

    - name: Update boot config
      become: true
      lineinfile:
        path: "/boot/config.txt"
        line: "{{ item.line }}"
        state: "{{ item.state }}"
        create: false
      with_items:
        - line: dtoverlay=vc4-kms-v3d
          state: present
        - line: dtoverlay=vc4-kms-dsi-7inch
          state: present
        - line: display_auto_detect=1
          state: absent
AG6HQ
  • 101