09.11.2012 Views

Contents - Raspberry PI Community Projects

Contents - Raspberry PI Community Projects

Contents - Raspberry PI Community Projects

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

e extended<br />

p primary partition (1-4)<br />

p<br />

Partition number (1-4): 1<br />

First cylinder (1-245, default 1): (press Enter)<br />

Using default value 1<br />

Last cylinder or +size or +sizeM or +sizeK (1-245, default 245): +50<br />

Command (m for help): t<br />

Selected partition 1<br />

Hex code (type L to list codes): c<br />

Changed system type of partition 1 to c (W95 FAT32 (LBA))<br />

Command (m for help): a<br />

Partition number (1-4): 1<br />

================================================================================<br />

Create the Linux partition for the root file system.<br />

================================================================================<br />

Command (m for help): n<br />

Command action<br />

e extended<br />

p primary partition (1-4)<br />

p<br />

Partition number (1-4): 2<br />

First cylinder (52-245, default 52): (press Enter)<br />

Using default value 52<br />

Last cylinder or +size or +sizeM or +sizeK (52-245, default 245):(press Enter)<br />

Using default value 245<br />

================================================================================<br />

Print and save the new partition records.<br />

================================================================================<br />

Command (m for help): p<br />

Disk /dev/sdc: 2021 MB, 2021654528 bytes<br />

255 heads, 63 sectors/track, 245 cylinders<br />

Units = cylinders of 16065 * 512 = 8225280 bytes<br />

Device Boot Start End Blocks Id System<br />

/dev/sdc1 * 1 51 409626 c W95 FAT32 (LBA)<br />

/dev/sdc2 52 245 1558305 83 Linux<br />

Command (m for help): w<br />

The partition table has been altered!<br />

Calling ioctl() to re-read partition table.<br />

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.<br />

The kernel still uses the old table. The new table will be used at the next reboot.<br />

WARNING: If you have created or modified any DOS 6.x partitions, please see the fdisk<br />

manual page for additional information.<br />

Syncing disks.<br />

================================================================================<br />

Now we've got both partitions, next step is formatting them.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!