View Single Post
Posts: 178 | Thanked: 30 times | Joined on Oct 2009 @ Texas
#574
Originally Posted by cardiff-blues View Post
Ok tried this but still failing. I have a brand new 4GB card as well.

Code:
/home/user # umount /dev/mmcblk1p1 
umount: cannot umount /dev/mmcblk1p1: Invalid argument 
/home/user # sfdisk -uM /dev/mmcblk1 << EOF 
> ,< 2100>,C 
> ,,L 
> ,, 
> ,, 
> EOF 
Checking that no-one is using this disk right now ... 
OK 

Disk /dev/mmcblk1: 121008 cylinders, 4 heads, 16 sectors/track 
Old situation: 
Warning: The partition table looks like it was made 
for C/H/S=*/49/48 (instead of 121008/4/16). 
For this listing I'll assume that geometry. 
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0 

Device Boot Start End MiB #blocks Id System 
/dev/mmcblk1p1 4 3781- 3778- 3868160 b W95 FAT32 
start: (c,h,s) expected (3,23,33) found (1,2,3) 
end: (c,h,s) expected (1023,48,48) found (960,48,48) 
/dev/mmcblk1p2 0 - 0 0 0 Empty 
/dev/mmcblk1p3 0 - 0 0 0 Empty 
/dev/mmcblk1p4 0 - 0 0 0 Empty 
trailing junk after number 

sfdisk: bad input 
/home/user # umount /dev/mmcblk1p1 
/home/user # mkdosfs /dev/mmcblk1p1 
mkdosfs 3.0.1 (23 Nov 2008) 
37 
#####################################/home/user # mke2fs -j -m0 /dev/mmcblk1p2 
mke2fs 1.41.3.maemo0 (12-Oct-2008) 
Could not stat /dev/mmcblk1p2 --- No such file or directory 

The device apparently does not exist; did you specify it correctly? 
/home/user #




It looks like ther is a space before 2100. also try a smaller amount like 800. you might have a bad memory card.

edit: I ment 3200 not 800

Last edited by Cobra; 2010-07-14 at 15:47.