nerotiger
Posts: 4
Joined: Mon Jun 24, 2019 9:24 pm

fdisk to shrink disk0p2 - root partition

Mon Jun 24, 2019 11:42 pm

managed the partitions

Code: Select all

Device         Boot    Start      End  Sectors  Size Id Type
/dev/mmcblk0p1          8192    96042    87851 42.9M  c W95 FAT32 (LBA)
/dev/mmcblk0p2         98304 16875519 16777216    8G 83 Linux
/dev/mmcblk0p3      16875520 33652735 16777216    8G 83 Linux
/dev/mmcblk0p4      33652736 62521343 28868608 13.8G  5 Extended
/dev/mmcblk0p5      33654784 54626303 20971520   10G 83 Linux
/dev/mmcblk0p6      54628352 62521343  7892992  3.8G 82 Linux swap / Solaris
however, it involved rewrite img files back to the new partition using dd after first boot.
It seemed I override the old ext4 signature though.
HELO | ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked | Go version go1.12.6 linux/arm

Return to “Advanced users”