corrupt microsd card after reboot
#1
The microsd card and my Pine A64 2GB becomes corrupted after a reboot, shutdown or power outage, which in turn leads to various bugs or renders the system unbootable, even after repairing the card using fsck.

Could anyone please tell me if this could be related to the microsd card brand(it is a fast Kingston model) or if it means my Pine A64 is defective and good to go to the trash can.

This problem occurs on all Pine A64 images I've tried: ubuntu, android and debian.

Thank you in advance.
#2
Not sure if it is microSD related, but have you tried a different card to eliminate that possibility?
#3
(02-06-2017, 01:32 PM)Ghost Wrote: Not sure if it is microSD related, but have you tried a different card to eliminate that possibility?

Nope, I was hopping to get more clues on the issue before buying another card Confused
#4
(02-06-2017, 02:12 PM)maxpayne Wrote:
(02-06-2017, 01:32 PM)Ghost Wrote: Not sure if it is microSD related, but have you tried a different card to eliminate that possibility?

Nope, I was hopping to get more clues on the issue before buying another card Confused

Buying another microSD to test seems like a relatively cheap way of finding out whether the card is at fault or not. 

How are you shutting down the Pine? Via the software menu activated by a short press of the power button, or just by pulling out the power cord?

Incorrect shutdown procedure can lead to a card getting corrupted. MicroSD cards are very susceptible to this.

The card also needs to have good random read/write speeds. Many cards, even modern ones, are only good at linear reads and writes. This is fine for simply uploading and downloading media to and from the card, but running an operating system requires more complexity than this and so needs to be efficient when it comes to random read/write performance. Some cards just can't handle it.
#5
(02-06-2017, 05:09 PM)Ghost Wrote:
(02-06-2017, 02:12 PM)maxpayne Wrote:
(02-06-2017, 01:32 PM)Ghost Wrote: Not sure if it is microSD related, but have you tried a different card to eliminate that possibility?

Nope, I was hopping to get more clues on the issue before buying another card Confused

Buying another microSD to test seems like a relatively cheap way of finding out whether the card is at fault or not. 

How are you shutting down the Pine? Via the software menu activated by a short press of the power button, or just by pulling out the power cord?

Incorrect shutdown procedure can lead to a card getting corrupted. MicroSD cards are very susceptible to this.

The card also needs to have good random read/write speeds. Many cards, even modern ones, are only good at linear reads and writes. This is fine for simply uploading and downloading media to and from the card, but running an operating system requires more complexity than this and so needs to be efficient when it comes to random read/write performance. Some cards just can't handle it.

My pine64 has no power button, but any method to reboot/shut down I've used causes the microSD card to become corrupt:
sudo reboot, poweroff, shutdown -h or pulling the power cord all lead to the same issue.

Will try to buy another microSD card tomorrow to see if it makes any diference.
#6
(02-06-2017, 06:07 PM)maxpayne Wrote: My pine64 has no power button, but any method to reboot/shut down I've used causes the microSD card to become corrupt:
sudo reboot, poweroff, shutdown -h or pulling the power cord all lead to the same issue.

Will try to buy another microSD card tomorrow to see if it makes any diference.

You can add a power button, but that is another topic altogether.

If you are shutting down the pine64 or rebooting via the proper commands like reboot, poweroff, shutdown -h and the microSD card is being corrupted... then it's most likely your microSD that's at fault. What distro / image are you using? Any of the linux installs using a ext2/3/4 file system are pretty robust, and are hard to completely break, even with a unexpected power outage.
#7
Sorry for not replying sooner guys, but since I didn't find the time to buy a micro sd card yesterday, there was really not much more to add to the subject at the time.

The pine64 is now working with a slower Samsung evo card, after several reboots, poweroffs and even unplugging the power cord, longsleep's ubuntu image is still booting normally, so I guess the much faster Kingston micro SD is a no go for the pine64, too bad most brands don't provide info regarding the IOPS of their cards.

Thank a lot for the help.

PS: Is there any power button on ebay or a similar shop that fits the pine64 ? (I don't feel like paying 12$ shipping for a $0.5 button on the pine64 shop).


Possibly Related Threads…
Thread Author Replies Views Last Post
  Maximum size of boot MicroSD for RockPro64 and Pinebook Pro commiecam 0 1,647 08-07-2022, 10:47 AM
Last Post: commiecam
  How to boot from SD card on pinebook pro linux123 3 5,953 12-02-2020, 10:29 AM
Last Post: linux123
  micro sd card won't insert Samuel Venable 2 4,386 09-01-2020, 12:15 AM
Last Post: Samuel Venable
  SD Card boot - trying out OS Baconomics 1 4,288 06-19-2020, 06:58 AM
Last Post: tophneal
  How to boot from the SD card and install to eMMC? ravanh 2 6,369 03-18-2020, 09:42 AM
Last Post: tophneal
  recommended micro sd card ? mronhb 91 210,424 03-03-2020, 11:34 PM
Last Post: siyatalerja
  PINE64 Installer - Simple Way to Image Your MicroSD pineadmin 101 149,200 01-15-2020, 12:46 PM
Last Post: tophneal
  PSCI, u-boot and reboot on Sopine ClusterBoard hbaxmann 0 2,302 09-03-2019, 11:57 PM
Last Post: hbaxmann
  eMMC card on adapter Malmgren 8 11,005 03-20-2018, 11:14 AM
Last Post: Malmgren
  recommended micro sd card? Gustavo Woltmann 1 3,543 01-03-2017, 11:38 PM
Last Post: MarkHaysHarris777

Forum Jump:


Users browsing this thread: 2 Guest(s)