Page 1 of 1
Pi not booting after a freeze.
Posted: Wed Mar 15, 2017 2:27 pm
by MattyMatt
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.
Re: Pi not booting after a freeze.
Posted: Wed Mar 15, 2017 2:59 pm
by kusti8
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.
Re: Pi not booting after a freeze.
Posted: Wed Mar 15, 2017 4:46 pm
by MattyMatt
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?
Re: Pi not booting after a freeze.
Posted: Wed Mar 15, 2017 5:40 pm
by DougieLawson
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.
Re: Pi not booting after a freeze.
Posted: Wed Mar 15, 2017 8:21 pm
by MattyMatt
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?
Re: Pi not booting after a freeze.
Posted: Wed Mar 15, 2017 8:34 pm
by DougieLawson
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.