miro SDHC card failures

I have used the BeagleBoard-XM as a controller embedded into a piece
of laboratory automation equipment.
I have installed Ubuntu 11.04 and have used several prototypes for
months now.

Unfortunately the prototype devices have been subjected to frequent
unplanned power-downs. Mostly people pull the plug at the end of the

After many of these events the SDHC card becomes un-bootable.

So has anyone else experienced this.
Do I have choices other than a flash file system? ... a RAM disk etc?

What is the cause of the card writes when my python scripts are not
generating any logfiles? I see no swap file in etc/fstab.


On a solar powered weather station i was running into this too..

Using this Debian wiki as a guideline: http://wiki.debian.org/ReadonlyRoot

I setup my partitions like this:

/dev/mmcblk0p1 /boot/uboot auto defaults 0 0
/dev/mmcblk0p5 / ext2 defaults,noatime,ro 0 1
/dev/mmcblk0p6 /var ext4 noatime 0 2
/dev/mmcblk0p7 none swap sw 0 0

/home /var/local/home none bind 0 0
/srv /var/local/srv none bind 0 0
tmpfs /tmp/ tmpfs size=100M 0 0

Since about mid March 2011, with this setup, it hasn't failed to boot
due to corruption of the SD card due to power fail/loss. (Before
that, the sd partitions seemed to only last about a month or two
before the power fail/loss would kill the partitions..)


Thanks Robert,

I was hoping someone had already blazed this trail.
I will definitely give this a try soon.