I am trying to install Voyage Linux on a 4GB compact flash card according to these steps. However it always fails at some point.
When I format the disk manually (as opposed to using the provided script) I sometimes get stuck at the mkfs.ext2 command with the message
Had trouble writing out superblocks.
Sometimes mkfs works but then tune2fs fails with:
tune2fs: Bad magic number in super-block while trying to open /dev/sdb1
Couldn't find valid filesystem superblock.
In that case I can sometimes run fsck -y until it finds no more errors, after which tun2fs will work.
But then it will fail while copying the system files to the disk. (I don't have the exact error message at the moment but it went something like "rsync input/output error (5)").
I tried using the dd command to check the card's integrity as suggested in this post. Reading works but writing zeros to the device fails with
dd: writing '/dev/sdb': Input/output error
Im doing all of this on Linux Mint 14 in a Virtualbox on Windows 8 (both 64 bit) and I am using an external USB card reader (Transcend TS-RDF8K). I can format the card to FAT32 and write on it in Windows with no problems. I also ran the Check Flash program on it, which found no problems.
Is my card broken and do I just need to buy a new one or is there anything else I could try first?