Raspberry Pi – install and resize mounted partition
Install from USB Flash onto sdcard here: https://ubuntu-mate.org/raspberry-pi/
Re-size file system
There are no utilities included for automatic file system re-sizing. However, it’s not hard to do manually. Once booted:
sudo fdisk /dev/mmcblk0
a. Delete the second partition (d, 2),
b. then re-create it using the defaults (n, p, 2, enter, enter),
c. then write and exit (w). Reboot the system, then:
sudo resize2fs /dev/mmcblk0p2
d. restart (eg from terminal – ignoring any running process)
sudo shutdown -r now