boot partition getting corrupted

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

boot partition getting corrupted

Postby abiliojr » Sun Jun 08, 2014 3:39 am

Hi,

I have been running my RPI with arch since the first image was released. I had no problems until a few weeks ago, when after a pacman -Syu and reboot, the system was unable to detect the integrated network adapter. After a while, I decided to backup and reinstall. Downloaded the latest image (think it was the may one), installed as usual. The system booted and worked perfectly, until reboot. Then I wouldn't even get the splash colors at boot.

Put the SD card on my linux box, ran fsck.vfat, it gave the message that the first FAT was damaged, and that it was using the backup one to recover. After that, the Pi will boot one more time, then get broken again, every single time. Until once both FATs were damaged, so couldn't repair anymore.

Ran badblocks, and the SD card came out just fine. Then installed raspbian... no problems whatsoever. Tried with a january image of Arch, worked like a charm. Updated with pacman... the new things got loaded... then the FAT got broken again.

Tried today with this month's image, still the same issue. Happens out of the box.

Any ideas?, as I really don't want to move away from arch. Installing in another SD card is not an option, as this is the only one I have that is fast and big enough for my needs, that is not being used in my DSLR
abiliojr
 
Posts: 3
Joined: Sun Jun 08, 2014 3:22 am

Re: boot partition getting corrupted

Postby senselessfull » Sat Jun 14, 2014 3:07 pm

I had the same problem with my pi when i just pulled the power on it.
When I use $this->bbcode_second_pass_code('', 'poweroff') it works.
The os does quite a lot of things when shutting down, never forget that ;)
senselessfull
 
Posts: 8
Joined: Sat Jun 14, 2014 3:04 pm

Re: boot partition getting corrupted

Postby sdjf » Mon Jun 16, 2014 2:51 am

Another thought, did you just run badblocks without any options or parameters? It might not give any output, despite a card being bad, if you don't use the right options.

But he is right, yanking a card out without proper shutdown can also cause a lot of problems.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: boot partition getting corrupted

Postby crashmaster » Thu Jun 19, 2014 3:32 am

A proper shutdown is a must-do - nobody jumps out of his car before parking it ;)
If you did and do that always, next question is: Do you use overvoltage to pimp up the RPi?
If you didn't, check the power supply - often people use simple chargers for smartphones which are not really suitable for the RPi.
Also the quality of the SDcard could be a reason.
crashmaster
 
Posts: 119
Joined: Wed Mar 13, 2013 1:00 am

Re: boot partition getting corrupted

Postby abiliojr » Tue Jun 24, 2014 4:53 am

Been powering off the PI the correct way all the times. I've been using my PI longer than a year and a half, and no issues at all.
I dont remember if I passed parameters or not, so I wll retest tomorrow
abiliojr
 
Posts: 3
Joined: Sun Jun 08, 2014 3:22 am

Re: boot partition getting corrupted

Postby abiliojr » Tue Jun 24, 2014 1:49 pm

Here an update,

Tested with $this->bbcode_second_pass_code('', 'badblocks -wvs') and had no problems. Installed arch from january, no problems. Upgraded it, problems began again.
abiliojr
 
Posts: 3
Joined: Sun Jun 08, 2014 3:22 am

Re: boot partition getting corrupted

Postby sdjf » Sat Jun 28, 2014 12:04 am

You could always go back to the last set of updates that worked for you, did you know we have a rollback machine?

http://rollback.adminempire.com/
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 5 guests