Thursday, February 14, 2008

Format SD card in eee pc (refomat to other filesystems)

sudo fdisk -l  # find your existing devices in Linux

sudo umount /dev/sdb1 # first unmount the device

Assume the partition is already created, you can run the following command to reformat the SDCARD to the supported filesystems in Linux

sudo mkfs.ext2 -L SDCARD /dev/sdb1 # format to ext2

sudo mkfs.ext3 -L SDCARD /dev/sdb1 # format to ext3

sudo mkdosfs -F 32 -n SDCARD /dev/sdb1 # format to FAT32

sudo mkdosfs -F 16 -n SDCARD /dev/sdb1 # format to FAT16