User Tools

Site Tools


howto:partition_sd

Partitioning Digital Cards

cfdisk

*initial 2 steps shown to me here http://forum.eeeuser.com/viewtopic.php?id=5548 by HaaTa

Press “Ctrl+Alt+T” to get to the command line then type:

sudo -i

to ensure you have admin privileges

/dev/sdb should be your SD card. To be sure in console type:

df -h

which will show you a menu to verify which device is mounted where… We'll continue with /dev/sdb as your MMC/SD card reader Type:

/sbin/cfdisk /dev/sdb

This will bring up the 'cfdisk' console, where you can use arrows to move back and forth between the options listed at the bottom. For a clean format it FAT32 mode:

Use the up and down arrows to switch to any of the paritions shown and use the side arrow keys to select delete, confirm. Wait for the utility to finish the operation, and then repeat for any other defined parition.

Now you should be on the only partition showing (FS type: free space)

  • Select 'New' and hit enter
  • Select primary and hit enter
  • If you want only one partition, the size shown should equal the total size available, so just hit enter
  • Select the 'bootable' flag and hit enter
  • Move the cursor to the right until you reach “type” and hit enter
  • This shows the options, hit 'any key' to display the rest of the options, and where it says “Enter filesystem type” type in '0c' (that's a zero not an O)and hit enter.
  • Move the cursor to the “Write” option, hit enter, type yes, and hit enter

Wait 10 sec for it to finish, and then quit.

Congratulations, you're done! Reboot and everything should show up properly.

howto/partition_sd.txt · Last modified: 2008/09/23 01:52 by qatz