I am using the Raspberry pi with 16G microSD card. But the /boot space was only 64Mb. Enlarging the boot space is necessary.
1. Tools
- Raspberry pi 3 b
- 2 microSD card with ubuntu_16.04_mate installed
- microSD card reader
- The card running ubuntu: C1
- The card to be enlarged: C2
2. On C1, install the Gparted
sudo apt-get install -y gparted
sudo gparted
3. On C2, enlarge the /boot
- Unmount the PI_BOOT
- Unmount the PI_ROOT
- Resize the /ROOT to get unallocated space
- Delte the PI_/BOOT space
- Create the space
Create as: Primary Partition
File system: fat32
Label: PI_BOOT
-
Copy the boot file from C1 to C2
-
sudo su
cd /
sudo cp -r boot/*.* /media/test/PI_BOOT
reboot