Hi All,

I am following the instructions on:

http://www.gumstix.net/User/view/User-how-to-s/Installing-packages-to-MMC/SD/microSD-memory-cards/110.html

 

I have an SD card that was formatted and automatically mounted as FAT16 (VFAT). As part of the first step mentioned on
the above webpage, I need to convert the file system from fat to ext2… I do the following steps, but have an issue with “mkfs.ext2” to
make the ext2 file system :

1. Boot with the SD card plugged in (do an “mmcinit” at the u-boot prompt as well)


2. Check that the card is mounted :

root@gumstix;~$ mount
rootfs on / type rootfs (rw)

.
.
.

/dev/mmcblk0p1 on /media/card type vfat (ro,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)


3. Unmount the SD card and make sure its unmounted.  

root@gumstix-custom-connex:~$ umount /media/card/

root@gumstix-custom-connex:~$ mount

rootfs on / type rootfs (rw)

.
.
.

tmpfs on /media/ram type tmpfs (rw)

root@gumstix-custom-connex:~$
  

4. *******This is where the issue is:********

When I do a “mkfs.ext2 /dev/mmcblk0p1” it doesn’t make the file system as described on the webpage…

root@gumstix-custom-connex:~$ mkfs.ext2 /dev/mmcblk0p1

mke2fs 1.38 (30-Jun-2005)

/dev/mmcblk0p1: Read-only file system while setting up superblock