|
Edited by vinhjaxt at 2019-1-30 18:01
Here you go:
fdisk /dev/mmcblk0
d 1 # (delete 2TB partition)
w # (Write it)
reboot
fdisk /dev/mmcblk0
p # remember start sector of partition 4: 113152
# /dev/mmcblk0p4 113152 2210303 2097152 1G 83 Linux
d 4 # (delete partition 4)
F # (Show unallocated space)
n # (Create new partition)
p
4
# First sector here: 113152
[enter]
w # (Write it)
reboot
resize2fs /dev/mmcblk0p4
# enjoy
|
|