MattyMatt
Posts: 3
Joined: Wed Mar 15, 2017 7:38 am

Pi not booting after a freeze.

Wed Mar 15, 2017 2:27 pm

Been googling like a mad man, but nothing so far.
The Pi froze. I don't know what caused it, typing into the console and it just froze. So I had to force it off.
Turning it on afterwards, it goes through the boot process without issues, but then instead of loading the GUI, I get a blinking cursor that eventually freezes and the Pi just hangs there.
I can get into safe mode, but I really don't want to do a complete reset of the Pi if there's any way to save it at all.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Pi not booting after a freeze.

Wed Mar 15, 2017 2:59 pm

There's probably not a way to save it. If you press [CTRL]+[ALT]+[F2] does it give you a login prompt? Can you login there? Is there anything it shows other than a blinking cursor? You may image another SD card and rescue your files and build a-new.
There are 10 types of people: those who understand binary and those who don't.

MattyMatt
Posts: 3
Joined: Wed Mar 15, 2017 7:38 am

Re: Pi not booting after a freeze.

Wed Mar 15, 2017 4:46 pm

kusti8 wrote:There's probably not a way to save it. If you press [CTRL]+[ALT]+[F2] does it give you a login prompt? Can you login there? Is there anything it shows other than a blinking cursor? You may image another SD card and rescue your files and build a-new.
On another forum I was told that it may have run out of space on the SD, but I dunno how I can alter that.

I do have a functioning SD. This is a team project, so there's one working pi, but it doesn't have his share of the project.
I will try that key combo when I get home.

How would I rescue the files with another install?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Pi not booting after a freeze.

Wed Mar 15, 2017 5:40 pm

Get another SDCard & a USB reader. Build a copy of plain Raspbian on the new SDCard using http://etcher.io

Boot the system from that. Mount the borken SDCard in the reader, insert the reader in a USB socket.

The GUI will auto mount the borken card's file systems on /media/pi/* you can then look at where the space is filled and get rid of some of the junk in /media/pi/root0/var/log/*.gz and /media/pi/root0/var/cache/apt/archives/*.deb to free up enough space. Power off, swap cards and see how you go.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

MattyMatt
Posts: 3
Joined: Wed Mar 15, 2017 7:38 am

Re: Pi not booting after a freeze.

Wed Mar 15, 2017 8:21 pm

DougieLawson wrote:Get another SDCard & a USB reader. Build a copy of plain Raspbian on the new SDCard using http://etcher.io

Boot the system from that. Mount the borken SDCard in the reader, insert the reader in a USB socket.

The GUI will auto mount the borken card's file systems on /media/pi/* you can then look at where the space is filled and get rid of some of the junk in /media/pi/root0/var/log/*.gz and /media/pi/root0/var/cache/apt/archives/*.deb to free up enough space. Power off, swap cards and see how you go.
If I have an SD with another working copy of noobs, will that do?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Pi not booting after a freeze.

Wed Mar 15, 2017 8:34 pm

MattyMatt wrote:If I have an SD with another working copy of noobs, will that do?
As long as you can boot it into Raspbian then, yes.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Troubleshooting”