Changes

Raspberry Pi

656 bytes added, 18:57, 30 January 2014
Add a Data Partition
*shrink http://www.hack-job.org/general/resize-raspberrypi-root-partition/
*shrink http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=60161&p=450676&hilit=shrink+partition#p450676
 
'''4 GB''':
<syntaxhighlight lang="bash">
rtwomey@rtwomey-MacBookPro:~$ sudo fdisk -u /dev/mmcblk0
/dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA)
/dev/mmcblk0p2 122880 7733247 3805184 83 Linux
</syntaxhighlight>
 
'''16 GB'''
<syntaxhighlight lang="bash">
rtwomey@rtwomey-MacBookPro:~$ sudo fdisk -u /dev/mmcblk0
 
Command (m for help): p
 
Disk /dev/mmcblk0: 16.1 GB, 16130244608 bytes
4 heads, 16 sectors/track, 492256 cylinders, total 31504384 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00014d34
 
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA)
/dev/mmcblk0p2 122880 31504383 15690752 83 Linux
</syntaxhighlight>