bullwinkle
Posts: 117
Joined: Wed Jan 09, 2013 12:14 pm

resize partition 1 (/boot)

Sat Jan 19, 2013 6:57 am

Hello

I have a requirement to write some data to the /boot (windows readable) partition and therefore would like to expand it to +2GB or possibly more.

I tried gparted
step 1 resize+move partition 2,
step 2 resize partition 1
but got an error on step 2 with no informative explanation.

Q1 => is there a recommended procedure to resize partition 1? (no luck searching this subject => everything is about resizing partition 2)

Q2 => is partition 1, FAT16 or FAT32?
I'm seeing different results (gparted reports 16, df -h reports 32)

cdlt,

User avatar
jojopi
Posts: 3271
Joined: Tue Oct 11, 2011 8:38 pm

Re: resize partition 1 (/boot)

Sat Jan 19, 2013 7:35 am

Moving partition2 out of the way was the awkward part. If necessary you can copy the files out of partition1, delete, recreate, and reformat it, and copy the files back.

In most images, the partition type code for part1 says FAT32, but the partition is so small it is actually formatted FAT16. The Pi can boot from FAT32 as well, though I have never tried one as big as 2GB.

bullwinkle
Posts: 117
Joined: Wed Jan 09, 2013 12:14 pm

Re: resize partition 1 (/boot)

Sat Jan 19, 2013 10:09 am

thanks jojopi.

it works with FAT32 running with 4GB partition 1 (/boot)

cdlt,

SimonSmall
Posts: 220
Joined: Tue Oct 09, 2012 8:13 pm

Re: resize partition 1 (/boot)

Sat Jan 19, 2013 5:27 pm

You might be better creating a third partition that is FAT formatted (so Windows can read it) in the space above partition 2. The first partition is critical to booting the Pi and there might be a danger that you damage something. Use gparted for creating this new partition.

bullwinkle
Posts: 117
Joined: Wed Jan 09, 2013 12:14 pm

Re: resize partition 1 (/boot)

Sat Jan 19, 2013 10:31 pm

Hi

Yes I agree, and I did try that. However, it looks like windows can only read the first partition of sd card.

Return to “Raspberry Pi OS”