1
Angstrom & OpenZaurus / e2fsck for ext2 SD cards
« on: October 29, 2004, 09:13:42 pm »Quote
I've been trying to work out the best place to putThe problem is that e2fsck isn't included in the default 3.5.1 ROM. That explains why the e2fsck line is commented in the "proot" script you talked about: it's supposed to be ran on a freshly flashed Zaurus.Code: [Select]e2fsck -y /dev/mmcda1
in my startup scripts. I think this is necessary as many problems seem to stem from cumulative errors on the SD card.
Various suggestions on the OpenEmbedded Wiki (OpenZaurusFineTuning, How to setup OpenZaurus with SD card as root filesystem) have also implied this, but there doesn't appear to be a definitive answer anywhere.
This proot script includes the check, but has the line commented out. Alternatively it could go somewhere in /etc/init.d/mountall.sh or even /etc/init.d/sd.
Any ideas?
You could install the e2fsprogs-e2fsck package and un-comment the e2fsck line in the script. Tell us if that works!