Difference between revisions of "Formatting SD cards"

From Pandora Wiki
Jump to: navigation, search
m
(formating)
Line 4: Line 4:
 
==ext3==
 
==ext3==
  
To format a card ext3, insert the card into the Pandora, then open terminal, and type: [http://www.gp32x.com/board/index.php?/topic/54928-64gb-sdxc-cards]
+
To format a card [[ext3]], insert the card into the Pandora, then open terminal, and type: [http://www.gp32x.com/board/index.php?/topic/54928-64gb-sdxc-cards]
  
<source lang="text">
+
<source lang="bash">
 
sudo fdisk /dev/mmcblk0 (use mmcblk1 for the second slot)
 
sudo fdisk /dev/mmcblk0 (use mmcblk1 for the second slot)
  
Line 15: Line 15:
 
If you want to set a volume name then type:
 
If you want to set a volume name then type:
  
<source lang="text">sudo mkfs.ext3 -m 0 -L volumename /dev/mmcblk0p1</source>
+
<source lang="bash">sudo mkfs.ext3 -m 0 -L volumename /dev/mmcblk0p1</source>
  
 
==FAT32==
 
==FAT32==
  
The software to format FAT32 is not included with the Pandora, but can be easily installed.  Open terminal, and type: [http://www.gp32x.com/board/index.php?/topic/57413-mkfs-vfat-or-mkdosfs][http://boards.openpandora.org/index.php?/topic/1126-format-sd-cards-to-fat32-or-ntfs/]
+
The software to format [[FAT32]] is not included with the Pandora, but can be easily installed.  Open terminal, and type: [http://www.gp32x.com/board/index.php?/topic/57413-mkfs-vfat-or-mkdosfs][http://boards.openpandora.org/index.php?/topic/1126-format-sd-cards-to-fat32-or-ntfs/]
  
<source lang="text">
+
<source lang="bash">
 
sudo opkg update
 
sudo opkg update
 
sudo opkg install dosfstools
 
sudo opkg install dosfstools
Line 28: Line 28:
  
 
<source lang="text">sudo mkfs.vfat /dev/mmcblk0p1 (or mmcblk1p1 for the second slot)</source>
 
<source lang="text">sudo mkfs.vfat /dev/mmcblk0p1 (or mmcblk1p1 for the second slot)</source>
 +
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]
 +
[[Category:Filesystem]]
 +
[[Category:Storage card]]
 
[[Category:Documentation]]
 
[[Category:Documentation]]

Revision as of 15:12, 20 April 2011

The Pandora OS can read cards formatted with various filesystems, including ext2, ext3, fat32, and if the codec pack is installed, NTFS.

ext3

To format a card ext3, insert the card into the Pandora, then open terminal, and type: [1]

sudo fdisk /dev/mmcblk0 (use mmcblk1 for the second slot)

't' then '83' to change the partition type to linux, then 'w' to save.

sudo mkfs.ext3 -m 0 /dev/mmcblk0p1 (or mmcblk1p1 for the second slot)

If you want to set a volume name then type:

sudo mkfs.ext3 -m 0 -L volumename /dev/mmcblk0p1

FAT32

The software to format FAT32 is not included with the Pandora, but can be easily installed. Open terminal, and type: [2][3]

sudo opkg update
sudo opkg install dosfstools

Once installed, you can format a card like so:

sudo mkfs.vfat /dev/mmcblk0p1 (or mmcblk1p1 for the second slot)