@Keneda Thank you. But now I have resolve my problem by partitioning haha
Posts
-
RE: How to expand the root partition ?
-
RE: How to expand the root partition ?
@arubislander ok, I will hava a try to store Python in /userdata if I could reboot my device
-
RE: How to expand the root partition ?
@Keneda It seems has been bricked , ubports didn't work. It may because I use " parted " to delete userdata partition
-
How to expand the root partition ?
System: Ubuntu Touch for Xiaomi6; Ubuntu 16lts
With a few python packages installed in /opt, I ran out of space and found out with " df -h " that the root directory was full, but /userdata had 50GB space left, so I wanted to split 25GB from here to the root directory.
I first shrinked the /userdata mounted partition "/dev/sda17" with "parted resizepart", and then tried " Sudo resize2fs /dev/sda17" to indicate that /home is already mounted on /dev/sda17, but the umount command didn't work, and eventually I used "fuser -ck /home". Finally, my phone shut down, and I can't reboot.
Anyone knows how to fix it?
If not, how can I set the partition size when reinstalling the system?