Orange Pi 2G-IOT User Manual
Copy right by Shenzhen Xunlong Software Co., Ltd
www.orangepi.org
www.xunlong.tv
21
first delete the partition then build a new one because the fdisk could not modify the
size dynamic(you need to calculate the size, it have to enough to contain the file
system adjusted in last step).
v. Enter d to delete the partition need to change the size(my file system is
/dev/sdb2, which is the 2 partition ).
vi. Enter n to build a new partition, make sure the initial position is the same as
you deleted, and enter the number as you desire. Besides, if it is boot-able partition
you want to change, note that need to keep the boot-able mark in case cannot boot.
The above illustration is using fdisk and resize2fs to modify partition and file
system, you could also use gparted. Gparted has graphical interface and it could
help you to re-size file system at the same time of re-sizing partition. Goarted is
much easier to use and reduce the change to make mistake. For now our official
Lubuntu and Raspbian could not use it.
9. Usage of GPIO and WiringPi
1) Use WiringPi on OrangePi 2G-IOT to connect network
OrangePi 2G-IOT could support WiringPi, you could have a try according to the
introduction on this section. The following is 40 Pin of OrangePi.