Partitioning micro sd card

Raspberry Pi 2

Partitioning micro sd card

Postby pottzie » Tue Mar 10, 2015 6:41 pm

Trying to get a micro sd car working so I can try Arch on a Pi2. Following the guide and substituting mmcblk0 for sdx, fdisk shows everything working, making mmcblk0p1 and mmcblk0p2. But checking as I go using gparted, and when trying to mount mmcblk0p1, it isn't there; fdisk reports it being made but gparted just shows an unallocated partition of 2mb and a mmcblk0p2 partition. Tried running it three times, couldn't get mmcblk0p1 going.

I see the guide references sd card, but the Pi2 uses micro sd card.
Posts: 4
Joined: Tue Sep 18, 2012 4:55 pm

Re: Partitioning micro sd card

Postby sdjf » Wed Mar 11, 2015 2:29 am

After you create the partitions, you need to use mkfs to create the file systems in them. There is no file system until you create it!

Read the man pages for mkfs, mkfs.vfat and mkfs.ext4, I hesitate posting an example command here in case I might type something wrong.

We do have an Arch Wiki page about file systems

You will need to run two mkfs commands, once for each of the two partitions for which you need to create file systems.
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Return to Broadcom

Who is online

Users browsing this forum: No registered users and 2 guests