|
Hi,
The real reason is fdisk partitons are no cylinder boundary that fdisk calculates. You'll delete the 2nd partition and read it such as:
root@orangepi:~# fdisk /dev/mmcblk0
Command (m for help): p
Disk /dev/mmcblk0: 15.8 GB, 15804137472 bytes
4 heads, 16 sectors/track, 482304 cylinders, total 30867456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x34605ba5
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 40960 124927 41984 83 Linux
/dev/mmcblk0p2 124928 7170047 3522560 83 Linux
Command (m for help): d
Partition number (1-4): 2
Command (m for help): n
Partition type:
p primary (1 primary, 0 extended, 3 free)
e extended
Select (default p): p
Partition number (1-4, default 2): 2
First sector (2048-30867455, default 2048): 124928
Last sector, +sectors or +size{K,M,G} (124928-30867455, default 30867455):
Using default value 30867455
Command (m for help): w
Theen quit (command q), reboot. You will then be able to use resize:
resizefs /dev/root
would do. I agree that OrangePi Raspbian is far from being stable. It is sure that it was arranged from bananapi even taking a look at the .bash_history file shows that what were they doing to adapt the banana raspbian and even creating the orangepi account This being said if you have time there are lots of information online how to overcome these difficulties.
|
|