View Single Post
Posts: 150 | Thanked: 3 times | Joined on Jan 2007
#85
Grr... I am going crazy
I flushed the sd card with dd if=/dev/null ... stuff. Then I created a whole FAT16 parition with sfdisk:

Code:
sfdisk /dev/mmcblk0 << EOF 
;
EOF
Then again with sfdisk:

Code:
..blk0p1:1,45000,6
..blk0p2:45001,,
...
Then I had a 500mb linux partiton and 1.5 gig fat16.

Now again I did the dd if=/dev/null stuff to /dev/mmcblk0p2, because there were some problems reported, that mkfs.ext2 did not format he partiton right.
Then:

mkdosfs /dev/mmcblk0p1
(REBOOT)
(insmod mbcache/ext2)
mkfs.ext2 /dev/mmcblk0p2
(REBOOT)

and when I mount the ext2 partiton, "df" shows me:

Code:
/dev/mtdblock4            2048      1772       276  87% /mnt/initfs
none                       512        64       448  13% /mnt/initfs/tmp
/dev/mtdblock4          257536    120884    136652  47% /
none                       512        64       448  13% /tmp
none                      1024        68       956   7% /dev
/dev/mmcblk1p1          122912     17392    105520  14% /media/mmc1
/dev/mmcblk0p2          499014    194165    279085  41% /opt
I erased the partiton a few times with dd, deleted partitions and crated them, erased them egain with dd and format it with mkfs.ext2 and still have those 41% of data on it?

cd /opt ; mkdir test -> again with input/output error.

Somethig is veeeeeeeeeery wrong...

Please, need help