Wrong size reported on SD Card
unnaturaltragedy at yahoo.com
Sat Apr 18 00:21:11 CEST 2009
> [ Please don't top post, it makes it harder to quote the
> parts. ]
Sorry about that.
> Daemon D <unnaturaltragedy at yahoo.com> writes:
> > Units = cylinders of 64 * 512 = 32768 bytes
> > /dev/mmcblk0p1 1 183106 5859384
> 83 Linux
> (183106-1)*32768 = 6 G
> > /dev/mmcblk0p2 183107 244672 1970112
> 83 Linux
> (244672-183107)*32768 = 2 G
The partitions look fine. Here's where I see the problem.
root at om-gta02:~# df -h /dev/mmcblk0p1
Filesystem Size Used Available Use% Mounted on
/dev/mmcblk0p1 1022.0M 4.0k 1022.0M 0% /media/card
> > > After formatting the 2 new partitions, 1st 6GB
> > > 2nd 1.xGB ext3,
> What steps did you exactly take to partition the disk?
> mmcblk0p2 is
> not 1G but 2G.
The steps I did to prepare the sd card were:
Created one ~6GB primary partition, then another primary partition with the remaining
#opkg install dosfstools_2.11-r0_armv4t.ipk
# mkfs.vfat -v -n and-media /dev/mmcblk0p1
also tried, with -F 32 to make sure it was fat32
# mkfs.ext3 -v -L and-data /dev/mmcblk0p2
All finished find with no errors. Rebooted freerunner.
More information about the support