Poorly Pi after upgrade! (SD Card)


6 posts
by simplesi » Sun Sep 29, 2013 9:52 am
I'm assuming I;m just very unlucky but just did sudo apt-get update and then sudo apt-get upgrade, left it to get one with things - came back 20 mins later - a few errors showing (I noticed Scratch amonst them) - tried upgrade again - still errors - did a sudo reboot and now all I've got is a red light showing


Really really annoyed with myself that I didn't back up my SD card first but I've never had a problem with updates in the past and I thought it was was one of Linux's strong points.

Is it just me of is there a load of us??

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter
Posts: 2116
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
by simplesi » Sun Sep 29, 2013 10:58 am
Tried another card -seemed to go OK - no errors but soon as I rebooted its thrown a load of numbers on the screen (asummin corrupted SD card locations)and telling me to run fsck manually in big bold letters :(

https://www.dropbox.com/s/2tv7ez9jf0ayw41/2013-09-29%2011.37.01.jpg


It says I have to perform system maintenance and that its mounted stuff in read-only mode!!!!!

help!!!!

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter
Posts: 2116
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
by simplesi » Sun Sep 29, 2013 1:08 pm
And I can't find any of my SD Card readers so no more RPi for me today - what do I do now?

I've cut the grass :)

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter
Posts: 2116
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
by RobHenry » Sun Sep 29, 2013 8:15 pm
Save a copy of what you can from the card now before experimenting with it any more.

I can relate first hand to how it feels to lose something that isn't backed up, so I hope you manage to recover.
Posts: 248
Joined: Fri Sep 21, 2012 9:04 pm
Location: Edinburgh
by simplesi » Mon Sep 30, 2013 12:17 pm
Its t he plan for tonight - I've been down Poundland and got some more SD Card readers - bright pink ones this time :)

Simon
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter
Posts: 2116
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK
by simplesi » Mon Sep 30, 2013 9:36 pm
Well I went and installed Ubuntu on a laptop and basically I imagine the corruptions are due to there not being enough room on these cards to handle the update.

Only 33MB left free on the ext4 partition!!

My master SD card is only 4GB but with the ext4 partition shrunk by 500MB to allow me to DD it across to another SD card and for it to work even if the new SD Card is slightly smaller.

I did read the stuff about needing a 4GB card but expected something to tell me that there wasn't enough room rather than going amok! ce la vie :)

The master SD card has ended up with quite a few files missing from the FAT32 partition which is why it doesn't boot at all.

But I've managed to copy off my /home/pi folder and since that has my git repositry with all my Scratch stuff - I should be OK.

I think I'll simply start with a fresh download and go through setting it up again - it'll keep me out of the pub for a few nights :)

Simon
PS The corruptions being caused by shortage of space is only conjecture on my part but I'm usually a lucky guesser when it comes to computers :)

Anyway -watch out if using 4GB card with reduced ext4 partition size :)
Seeking help with Scratch and I/O stuff for Primary age children
http://cymplecy.wordpress.com/ @cymplecy on twitter
Posts: 2116
Joined: Fri Feb 24, 2012 6:19 pm
Location: Euxton, Lancashire, UK